ProdStandardVariance Class [AX 2012]
The ProdStandardVariance class calculates a range of production variances from standard.
| Method | Description | |
|---|---|---|
| addTransActual | Adds the temporary variance record to the set of actual cost records. |
| addTransEstimate | Calculates the lot size and standard allowed and adds the temporary variance record to the set of estimated cost records. |
| buildActualQuery | Builds the query to use to load for actual cost. |
| buildEstimateQuery | Builds the query to use to load the estimated cost. |
| buildFinishedItemQuery | Creates a query for the finished items. |
| calc | Calculates production variances. |
| calcSubstitutionVariance | Calculates substitution variances. |
| calcVariances | Calculates variances for each rolled up variance transaction record. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| createTotalVariance | Creates total variance and stores it in the temporary table for variances. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| findOrCreateVarianceTrans | Finds or creates the rolled up variance transaction record for a ProdCalcTrans or BOMCalcTrans record. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| init | Initializes internal calculation value objects. |
| initEstimate | Initializes the BOMCalcTable record, based on the InventItemPrice record. |
| initQty | Initializes the estimated quantity and actual quantity that is used for variance calculation. |
| initTotalVariance | Initializes the total variance record in the temporary table. |
| loadActual | Loads the actual cost that is used for variance calculation. |
| loadEstimate | Loads the estimated cost that is used for variance calculation. |
| new | Initializes a new instance of the ProdStandardVariance class. |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| parmTmpProdStandardVariance | Gets the TmpProdStandardVariance parameter. |
| removeDetails | Deletes from the variances temporary table the records that are not total variances. |
| removeFromEstimateMapLinesWithZeroQty | Removes from the estimated set variances that have standard cost quantity equal zero. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| validate | Validates that the variance calculation can run. |
| variancesByDimension | Distributes a calculated variance according to the financial dimensions of the transactions that are included in the rolled up transaction that is used as a base for the calculation. |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | Constructs a variance calculation object based on the ProdTransRefType value. |
Community Additions
ADD
Show: