RetailTransactionSalesTransMark.reserveInventory Method [AX 2012]
Updates the transaction of RetailTransactionSalesTrans table to status reserved.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
private void reserveInventory(RetailTransactionSalesTrans transactionSalesTrans, boolean _forSales)
Microsoft Dynamics AX 2012 R2 (SYS)
public void reserveInventory(RetailTransactionSalesTrans rboTransactionSalesTrans, [InventTransId invTransId])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public void reserveInventory(RetailTransactionSalesTrans rboTransactionSalesTrans)
Run On
Server
Parameters
- transactionSalesTrans
Type: RetailTransactionSalesTrans Table
The current record of transactionSalesTrans table.
- _forSales
Type: boolean
If this reservation is for a sales transaction.
Remarks
Calls update method of InventUpd_Estimated class to reserve the Inventory.