New API call retrieves shipped quantity for inventory quantity calculations

A new API call, sxapioegetservicerentorder, now provides Service Management with the shipped quantity of an order line in Distribution SX.e. The value is retrieved from the word index, based on the service order (SRO) number and service line key that is included in the call. The shipped quantity is taken from the current active SRO or the most recent sales order tied to the SRO. It is used to determine inventory quantities that are used in conjunction with these settings in Service Management:

  • Enforce Allocation option on the Integrations Parameter form

    You can select Enforce Allocation to prevent service order material transactions from being posted when the item/warehouse Item On Hand quantity is less than the Allocated Order quantity. This setting ignores the On Hand Neg on the Inventory Parameters form, which allows on-hand balances to be negative.

  • Pull Current SX.e Inventory option on the Service Orders Transactions form

    When you select Pull Current SX.e Inventory, the item/warehouse Item On Hand quantity and Allocated Order quantity in Service Management are updated with the amounts from Distribution SX.e.