PurchCalcTax_PurchReq::construct Method [AX 2012]

Initializes a new instance of the PurchCalcTax_PurchReq class.

server public static PurchCalcTax_PurchReq construct(PurchReqTable _purchReqTable)

Run On

Server

Parameters

_purchReqTable
Type: PurchReqTable Table
A PurchReqTable variable required for creating a new instance of the class.

Return Value

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

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

  1. Creates a new class that derives from the PurchCalcTax_PurchReq class.

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

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

Show: