InventCostProdIndirect Class [AX 2012]
The InventCostProdIndirect class calculates an indirect cost based on a cost amount or cost breakdown.
Syntax
class InventCostProdIndirect extends InventCostIndirect
Run On
Called
Methods
Method | Description | |
---|---|---|
addInventConsumption | Calculates the indirect cost for the specified breakdown. (Inherited from InventCostIndirect.) | |
addRouteConsumption | Calculates the indirect cost for a route transaction. | |
addToJournalIndirectCost | Calculates indirect costs, writes the result to the ProdIndirectTrans table, and adds entries to the ledger voucher for further posting. (Inherited from InventCostIndirect.) | |
calcInvent | Calculates the indirect cost for an inventory cost. (Inherited from InventCostIndirect.) | |
calcRoute | Calculates the indirect cost for a route transaction. | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
finalizeCalc | Writes the indirect transaction records to the database. (Inherited from InventCostIndirect.) | |
getIndirectCostGroup2AmountMap | Retrieves a map with indirect cost per cost group amounts that correspond to the inventory transaction, voucher, and date. (Inherited from InventCostIndirect.) | |
getIndirectCostTotal | Retrieves the total indirect cost amount from the InventCostJournalIndirectCost class. (Inherited from InventCostIndirect.) | |
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 a new instance of the CostCalcTransData class that will later be passed to a costing sheet for calculation. (Overrides the init Method.) | |
initFromLedgerVoucher | Initializes the class instance with a ledger voucher information. (Inherited from InventCostIndirect.) | |
new | Initializes a new instance of the InventCostProdIndirect class. (Overrides the new Method.) | |
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.) | |
parmLedgerVoucher | Gets or sets the LedgerVoucher parameter. (Inherited from InventCostIndirect.) | |
parmTransDate | Gets or sets the TransDate parameter. (Inherited from InventCostIndirect.) | |
parmVoucher | Gets or sets the Voucher parameter. (Inherited from InventCostIndirect.) | |
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.) | |
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 InventCostProdIndirect class. | |
::newFromInventCostProdAdjust | Initializes a new instance of this class for a given InventCostProdAdjust instance. | |
::newFromLedgerVoucher | Creates an instance of the InventCostProdIndirect class and initializes it with a LedgerVoucher object. |
Top
Remarks
This class is used to calculate partially indirect costs that must be added to a production order to calculate the full indirect cost. During the ending of a production order methods from the prodUpdHistoricalCost class are used.
Inheritance Hierarchy
Object Class
InventCostIndirect Class
InventCostProdIndirect Class