PlInventPackageTrans.returnDepositAmount Method
Updates package transactions being returned and calculates return deposit amount
Syntax
public AmountMST returnDepositAmount(PlInventPackageTrans _inventPT, [InventTransId _inventTransIdReturn])
Run On
Called
Parameters
- _inventPT
Type: PlInventPackageTrans Table
Package transaction for return. Contains return quantity and search criterias
- _inventTransIdReturn
Type: InventTransId Extended Data Type
Return inventory lot
Return Value
Type: AmountMST Extended Data Type
Deposit amount for packages being returned
Exceptions
Exception | Condition |
---|---|
Error | Exception is thrown if return quantity is greater then applicable total given out quantity |