PdsResetBestBeforeDate::newInventBatch Method [AX 2012]

Creates and initializes a new instance of PdsResetBestBeforeDate class and set the class parameters that have the information for the provided batch.

client server public static PdsResetBestBeforeDate newInventBatch(InventBatch _table)

Run On

Called

Parameters

_table
Type: InventBatch Table
An InventBatch record for which to update best before date.

Return Value

Type: PdsResetBestBeforeDate Class
A new Instance of the PdsResetBestBeforeDate class

This method creates a new instance of the PdsResetBestBeforeDate class and then populates for the batchId , itemId and bestBeforeDate variables.

Show: