ProdStandardVariance::construct Method [AX 2012]
Constructs a variance calculation object based on the ProdTransRefType value.
client server public static ProdStandardVariance construct(ProdTransRefType _transRefType)
Run On
CalledParameters
- _transRefType
- Type: ProdTransRefType Enumeration
The type of variance calculation that is needed.
Return Value
Type: ProdStandardVariance ClassA variance calculation object that can be used to calculate variances.
Use the following procedure to customize or extend the ProdStandardVariance class.
-
Create a new class that derives from ProdStandardVariance.
-
Overlayer the construct method on ProdStandardVariance so that it returns an instance of the derived class.
-
Override the methods from the ProdStandardVariance class that you want to customize or extend in your derived class.
This procedure helps to ensure that your customizations are maintained if the base version of the ProdStandardVariance class is changed, minimizing code conflicts during an upgrade. For more information, see Best Practices for Static Construct Methods.