Jump to content

API issue: warehouse:getInventory excludes 0-qty items


Recommended Posts

Posted

getInventory  gives a complete inventory for a warehouse, but seems to exclude items that are fully depleted, instead of returning "0" as the qty.

image.png?ex=6815e616&is=68149496&hm=4b8

If i use

warehouse.getItemCount(wh, <depletedItem>)

it will return 0, showing the warehouse has the item, but its qty is 0.

image.png?ex=6815e56b&is=681493eb&hm=03a

why does getInventory exclude 0-qty items?

image.png?ex=6815e56b&is=681493eb&hm=3d2

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...