Share via


InventUpd_Physical::construct Method [AX 2012]

Initializes a new instance of the InventUpd_Physical class.

Syntax

server protected static InventUpd_Physical construct(InventMovement _movement)

Run On

Server

Parameters

  • _movement
    Type: InventMovement Class
    A InventMovement variable required for instantiation of the class.

Return Value

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

Remarks

Use the following procedure to customize or extend the InventUpd_Physical class.

  1. Create a new class that derives from InventUpd_Physical.

  2. Overlayer the construct method on InventUpd_Physical so that it returns an instance of the derived class.

  3. Override the methods from the InventUpd_Physical class that you want to customize or extend in your derived class.

This procedure helps make sure that your customizations are maintained if the base version of the InventUpd_Physical class is changed, minimizing code conflicts during an upgrade. For more information, see Best Practices for Static Construct Methods.

See Also

Reference

InventUpd_Physical Class