PDSBatchInheritor_Prod::newMovementBatch Method [AX 2012]

Creates a new instance of the PDSBatchInheritor_Prod class, given a movement and a batch record.

client server public static PDSBatchInheritor_Prod newMovementBatch(
    InventMovement _movement, 
    InventBatch _inventBatch, 
   [InventTrans _inventTrans])

Run On

Called

Parameters

_movement
Type: InventMovement Class
An instance of the InventMovement class that represents the current inventory movement.
_inventBatch
Type: InventBatch Table
A record of the InventBatch table to update.
_inventTrans
Type: InventTrans Table
A record of the InventTrans table; optional. If a value is provided, the batch production date is recomputed if shelf-life dates have been inherited.

Return Value

Type: PDSBatchInheritor_Prod Class
A new instance of the PDSBatchInheritor_Prod class.
Show: