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.
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
CalledParameters
- _physical
- Type: boolean
The physical or financial update.
- _ledgerVoucher
- Type: LedgerVoucher Class
The ledger voucher for additional posting.
- _voucher
- Type: Voucher Extended Data Type
The voucher number that will be used for posting.
- _transDate
- Type: TransDate Extended Data Type
The transaction date that will be used for posting.
- _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.
- _postLedger
- Type: boolean
- _stornoPhysical
- Type: boolean
Community Additions
ADD
Show:
Note