LeanConversionCostUpd Class [AX 2012]
This class handles the update of the conversion cost for Lean scenarios.
It adds direct manufacturing transactions to ledger.
It also adds indirect cost transactions to ledger.
Plays a role when clearing material issues WIP and post indirect cost for not updated materials.
| Method | Description | |
|---|---|---|
| addDirectManufacturingConsumption | Adds a direct manufacturing cost ProdRouteTrans record to the corresponding map based on the site. |
| addDirectManufacturingToLedger | Adds direct manufacturing cost to General Ledger. |
| addDirectMaterialConsumption | Adds direct material consumption to the internal map for calculating indirect cost on it. |
| addDirectMaterialFinished | |
| addDirectOutsourcing | |
| addDirectOutsourcingToInternalMap | |
| addDirectOutsourcingToLedger | |
| addLedger | Creates a new ledger posting. |
| addProdRouteTransConsumption | Adds a ProdRouteTrans record to the internal map for calculating indirect cost when finishing. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| checkOnDate | Controls whether the validation of the LedgerVoucher date is performed including the date, or just before the date. |
| checkTransDate | Validates the transaction date of the LedgerVoucher object. |
| createAndPostUnusedOutsourcing | Creates and posts a new ProdRouteTrans record for the unused subcontracted service item for a production flow. |
| createDirectManufacturingCost | Creates direct manufacturing cost records per site and per finished good. |
| createIndirectConsumption | Calculates indirect cost for all consumptions in the indirect cost map. |
| createIndirectFinished | Calculates indirect cost for finished goods in the finished items indirect cost map. |
| createIndirectRoute | Calculates indirect cost for all route transactions in the route indirect cost map. |
| createProdRouteTrans | Creates a list of ProdRouteTrans records for each resource consumption reported by the LeanCostingFacade.getResourcesUsageKanbanJob method.Updates the indirect cost for the records in the list. |
| endLeanSubcontractingPosting | Triggers direct and indirect outsourcing cost creation. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getLeanCostOutsourcing | |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| initProdRouteTrans | Initializes a new ProdRouteTrans record. |
| new | Initializes a new instance of the LeanConversionCostUpd 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.) |
| parmKanbanJob | Gets or sets the KanbanJob parameter. |
| parmLeanCostingFacade | Gets or sets the LeanCostingFacade parameter. |
| parmLedgerVoucher | Gets or sets the LedgerVoucher parameter. |
| parmProductionFlowReference | Gets or sets the ProductionFlowReference parameter. |
| parmReversal | Gets or sets the Reversal parameter. |
| processDirectManufacturing | Creates direct manufacturing cost and adds it to the General Ledger. |
| processDirectOutsourcing | Creates ProdRouteTrans records for the direct outsourcing cost. |
| processIndirect | Creates indirect cost and adds it to the General Ledger. |
| reset | Resets the indirect cost maps. |
| 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.) |
| updateNow | Creates conversion cost and resets the internal indirect cost maps. |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| validate | Validates class parameters. |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | Initializes a new instance of the LeanConversionCostUpd class. |
| ::constructForVoucher | Constructs an instance of the LeanConversionCostUpd class and initializes the voucher and facade properties. |
| ::newFromParameters | Creates a new LeanConversionCostUpd object. |
Community Additions
ADD
Show: