Share via


InventShelfLifeCriteria::newFromMovement Method [AX 2012]

Creates a new instance of the InventShelfLifeCriteria class that represents the shelf life requirements of the specified movement.

Syntax

client server public static InventShelfLifeCriteria newFromMovement(InventMovement _movement)

Run On

Called

Parameters

Return Value

Type: InventShelfLifeCriteria Class
A new instance of the InventShelfLifeCriteria class.

Exceptions

Exception Condition
Error

Throws an error if the inventory movement is not specified.

See Also

Reference

InventShelfLifeCriteria Class