InventUpd_Physical.createInventTransPostingForReturn Method [AX 2012]
Creates an inventTransPosting record for the return transaction.
Syntax
protected void createInventTransPostingForReturn(
InventTransPosting _inventTransPosting,
Voucher _voucher,
TransDate _transDate,
InventTransPostingType _inventTransPostingType)
Run On
Server
Parameters
- _inventTransPosting
Type: InventTransPosting Table
The inventTransPosting record that was used for the original posting.
- _voucher
Type: Voucher Extended Data Type
The voucher of the return transaction.
- _transDate
Type: TransDate Extended Data Type
The date of the return transaction.
- _inventTransPostingType
Type: InventTransPostingType Enumeration
The inventTransPostingType value, which must be set on the inventTransPosting record for the return transaction.
Remarks
This method will initialize the inventTransPosting record from the inventTransPosting record that has been used for the original posting of a transaction.