Using webservice to retrieve the actual cost of lot-controlled items
Summary:
Using webservice to retrieve the actual cost of lot-controlled items
Content (please ensure you mask any confidential information):
We are using a web service (https://server/fscmService/ItemCostServiceV2) to retrieve the actual cost of lot-controlled items at the lot level.
By providing three inputs—ItemId, InventoryOrganizationId, and LotNumber—in the request payload, the service returns the correct actual cost for the specified lot.
However, if the LotNumber is omitted or provided with an invalid value, the service still returns a value. Upon investigation, it appears that this value is the weighted average cost for the item. In my view, the system should not return any value if the LotNumber is missing or invalid.