Share via


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.
  • _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.

See Also

Reference

InventUpd_Physical Class