When using Omnichannel Inventory (OCI):
- All ProductInventoryRecord properties are read-only. Calling any setter method throws an IllegalStateException.
- The ProductInventoryRecord class does not support custom properties.
- isPerpetual() and isPreorderable() always return false.
When using OCI, returns the physically available quantity. Corresponds to the On Hand quantity in OCI.
When using OCI, corresponds to the Effective Date in OCI. The value can be null.
When using OCI, corresponds to the ATO (Available To Order) quantity in OCI.
When using OCI, returns true if the product has at least one Future quantity in OCI.
When using Omnichannel Inventory (OCI), this class doesn't support custom attributes. If OCI is enabled, then attempting to set or modify a custom attribute value throws an UnsupportedOperationException.
When using OCI, returns the date of the earliest Future quantity. If the product has no Future quantities, it returns null.
This is only relevant when On Order Inventory is turned on for the related inventory list. On Order is a bucket of inventory used for the time between order creation and order export to external (warehouse) systems. On Order value is increased when an order is created. It will be decreased and with that turnover will be increased when the order is exported, see getTurnover(). Notice that Order.setExportStatus(Number) and OrderItem.allocateInventory(Boolean) will decrease the On Order value. On order will be included in the ATS calculation, see getATS().
When using OCI, always returns zero. OCI doesn't support On Order inventory.
When using OCI, always returns false.
When using OCI, always returns false.
When using OCI, returns the sum of all Future quantities. If the product has no Future quantities, it returns zero.
Note that for products with high velocity and concurrency, the return value is extremely volatile and the retrieval will be expensive.
When using OCI, always returns zero.
When using OCI, corresponds to the ATF (Available To Fulfill) quantity in OCI.
When using OCI, returns the total reserved quantity, including order, basket, and temporary reservations.
When using Omnichannel Inventory (OCI), this class doesn't support custom attributes. If OCI is enabled, then attempting to set or modify a custom attribute value throws an UnsupportedOperationException.
When using OCI, returns the physically available quantity. Corresponds to the On Hand quantity in OCI.
When using OCI, corresponds to the Effective Date in OCI. The value can be null.
When using OCI, corresponds to the ATO (Available To Order) quantity in OCI.
When using Omnichannel Inventory (OCI), this class doesn't support custom attributes. If OCI is enabled, then attempting to set or modify a custom attribute value throws an UnsupportedOperationException.
When using OCI, returns the date of the earliest Future quantity. If the product has no Future quantities, it returns null.
This is only relevant when On Order Inventory is turned on for the related inventory list. On Order is a bucket of inventory used for the time between order creation and order export to external (warehouse) systems. On Order value is increased when an order is created. It will be decreased and with that turnover will be increased when the order is exported, see getTurnover(). Notice that Order.setExportStatus(Number) and OrderItem.allocateInventory(Boolean) will decrease the On Order value. On order will be included in the ATS calculation, see getATS().
When using OCI, always returns zero. OCI doesn't support On Order inventory.
When using OCI, returns the sum of all Future quantities. If the product has no Future quantities, it returns zero.
Note that for products with high velocity and concurrency, the return value is extremely volatile and the retrieval will be expensive.
When using OCI, always returns zero.
When using OCI, corresponds to the ATF (Available To Fulfill) quantity in OCI.
When using OCI, returns the total reserved quantity, including order, basket, and temporary reservations.
When using OCI, returns true if the product has at least one Future quantity in OCI.
When using OCI, always returns false.
When using OCI, always returns false.
All final reservations will be considered as expired and will therefore no longer be considered for ATS.
When using OCI, throws an IllegalStateException.
This method should not be called within a storefront request.
Any final reservations made prior to the allocation reset date will be considered as expired and will therefore no longer be considered for ATS.
When using OCI, throws an IllegalStateException.
This method must not be called within a storefront request.
- the reset date must not be older than 48 hours
- the reset date must not be older than the prior reset date. see getAllocationResetDate()
When using OCI, throws an IllegalStateException.
This method should not be called within a storefront request.
This method must not be called within a storefront request when the API version is 21.7 or later.
When using OCI, throws an IllegalStateException.
This method should not be called within a storefront request.
This method must not be called within a storefront request when the API version is 21.7 or later.
When using OCI, throws an IllegalStateException.
This method should not be called within a storefront request.
This method must not be called within a storefront request when the API version is 21.7 or later.
When using OCI, throws an IllegalStateException.
This method should not be called within a storefront request.
This method must not be called within a storefront request when the API version is 21.7 or later.
When using OCI, throws an IllegalStateException.
This method should not be called within a storefront request.
This method must not be called within a storefront request when the API version is 21.7 or later.