PurchPackingSlipJournalCreate.updateRemainForOverUnderDelivery Method [AX 2012]

In case of over- or underdelivery ensure Remain and RemainInvent are set correctly when product receipt is canceled.

protected void updateRemainForOverUnderDelivery(VendPackingSlipTrans _vendPackingSlipTrans)

Run On

Server

Parameters

_vendPackingSlipTrans
Type: VendPackingSlipTrans Table
The VendPackingSlipTrans.

ExceptionCondition
Error

You cannot generate a packing slip for a quantity that has a different sign than the quantity on the order line.

If product receipt was posted with over- or underdelivery, and the product receipt is canceled, then deliver remainder should reflect the original deliver remainder, rather than the Received quantity from the canceled product receipt.

Community Additions

ADD
Show: