Share via


InventCostJournalIndirectCost.initProdIndirectTrans Method [AX 2012]

Initializes physical or financial accounts for the ProdIndirectTrans record by delegating to the InventCostJournalIndirectCost.initPhysicalAccounts or InventCostJournalIndirectCost.initFinancialAccounts methods.

Creates physical or financial postings by using the _ledgerVoucher parameter.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          public void initProdIndirectTrans(
            boolean _physical, 
            LedgerVoucher _ledgerVoucher, 
            Voucher _voucher, 
            TransDate _transDate, 
            CostSheetNodeCalculation _calculationNode, 
            ProdIndirectTrans _prodIndirectTrans, 
            boolean _postLedger, 
           [boolean _stornoPhysical])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public void initProdIndirectTrans(
            boolean _physical, 
            LedgerVoucher _ledgerVoucher, 
            Voucher _voucher, 
            TransDate _transDate, 
            CostSheetNodeCalculation _calculationNode, 
            ProdIndirectTrans _prodIndirectTrans, 
            boolean _postLedger, 
           [boolean _stornoPhysical])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public void initProdIndirectTrans(
            boolean _physical, 
            LedgerVoucher _ledgerVoucher, 
            Voucher _voucher, 
            TransDate _transDate, 
            CostSheetNodeCalculation _calculationNode, 
            ProdIndirectTrans _prodIndirectTrans, 
            boolean _postLedger)

  Microsoft Dynamics AX 2012 (FPK)
          public void initProdIndirectTrans(
            boolean _physical, 
            LedgerVoucher _ledgerVoucher, 
            Voucher _voucher, 
            TransDate _transDate, 
            CostSheetNodeCalculation _calculationNode, 
            ProdIndirectTrans _prodIndirectTrans, 
            boolean _postLedger)

  Microsoft Dynamics AX 2012 (SYS)
          public void initProdIndirectTrans(
            boolean _physical, 
            LedgerVoucher _ledgerVoucher, 
            Voucher _voucher, 
            TransDate _transDate, 
            CostSheetNodeCalculation _calculationNode, 
            ProdIndirectTrans _prodIndirectTrans, 
            boolean _postLedger)

Run On

Called

Parameters

  • _physical
    Type: boolean
    The physical or financial update.
  • _calculationNode
    Type: CostSheetNodeCalculation Class
    The costing sheet node that is used for calculating the indirect cost and for initializing the accounts that are used for posting.
  • _prodIndirectTrans
    Type: ProdIndirectTrans Table
    The ProdIndirectTrans record that will store information about the indirect cost.

See Also

Reference

InventCostJournalIndirectCost Class