InventSum::pdsSameBatchBatchAttrib Method
Get the cumulative inventsum for batches that are not to be used based on entered batch attribute values.
Syntax
server public static InventSum pdsSameBatchBatchAttrib(
ItemId _itemId,
InventDim _inventDim,
TransDate _date,
[CustAccount _custAcct])
Run On
Server
Parameters
- _itemId
Type: ItemId Extended Data Type
The item to find the batches which are expired
- _inventDim
Type: InventDim Table
The criteria to limit the batch search for
- _date
Type: TransDate Extended Data Type
The Expiration date for which the batches can not exceed
- _custAcct
Type: CustAccount Extended Data Type
A specific customer for which to retreive batch attribute information.
Defaults to empty str or no customer.
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 is considered if the associated batch attribute are not within valid ranges.The resulting InventSum record is returned to the caller.