InventReceiptForTestRegistrator::registerReceipt Method [AX 2012]
Registers a receipt inventory quantity with the _inventReceiptForTestRegistrator object.
Syntax
client server public static InventReceiptForTestRegistrator registerReceipt(InventReceiptForTestRegistrator _inventReceiptForTestRegistrator, InventTrans _inventTrans)
Run On
Called
Parameters
- _inventReceiptForTestRegistrator
Type: InventReceiptForTestRegistrator Class
An instance of the InventReceiptForTestRegistrator class.
- _inventTrans
Type: InventTrans Table
A record in the InventTrans table.
Return Value
Type: InventReceiptForTestRegistrator Class
An instance of the InventReceiptForTestRegistrator class.
Remarks
This method creates a new instance of the InventReceiptForTestRegistrator class if null Nothing nullptr unit a null reference (Nothing in Visual Basic) is passed as a parameter.