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
ServerParameters
- _purchReqTable
- Type: PurchReqTable Table
A PurchReqTable variable required for creating a new instance of the class.
Use the following procedure to customize or extend the PurchCalcTax_PurchReq class.
-
Creates a new class that derives from the PurchCalcTax_PurchReq class.
-
Overlayer the construct method on the PurchCalcTax_PurchReq class so that it returns an instance of the derived class.
-
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.