Share via


InventSum::pdsNoSalesResPhysicalSLItem Method

Get the cumulative inventsum for batches that are blocked for sales reservation for Shelf Life items

Syntax

server public static InventSum pdsNoSalesResPhysicalSLItem(
    ItemId _itemId, 
    InventDim _inventDim, 
    InventDimParm _inventDimParm, 
    TransDate _expDate)

Run On

Server

Parameters

  • _inventDim
    Type: InventDim Table
    The criteria to limit the batch search for

Return Value

Type: InventSum Table
A cumulative InventSum Record

Remarks

The method goes through all inventSum record within the inventDim and InventDimParm combination and examines the related InventBatch records.

The InventSum record is included if the underlying InventBatch record has a disposition code that is does not allow the item to be included as it is blocked for sales reservation. In addition to the disposition, and since the item is a shelf life item, the search is limited to batches which are still within their expiration dates. This is done so that the batch will not be counted twice.The resulting InventSum record is returned to the caller.

See Also

Reference

InventSum Table