Share via


InventTransferOrderCreateService::construct Method [AX 2012]

Initializes a new instance of the InventTransferOrderCreateService class.

Syntax

server public static InventTransferOrderCreateService construct()

Run On

Server

Return Value

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

Remarks

Use the following procedure to customize or extend the InventTransferOrderCreateServiceclass.

  1. Create a new class that derives from the InventTransferOrderCreateServiceclass.

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

  3. Override the methods from the InventTransferOrderCreateService 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 InventTransferOrderCreateService class is changed, minimizing code conflicts during an upgrade. For more information, see Best Practices for Static Construct Methods.

See Also

Reference

InventTransferOrderCreateService Class