InventAdjustPost.addLedger Method [AX 2012]
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 addLedger(
LedgerVoucher _ledgerVoucher,
LedgerPostingType _ledgerPostingType,
LedgerDimensionAccount _ledgerAccount,
DimensionDefault _dimension,
CostAmount _costAmountAdjustmentCur,
[ProjLedger _projLedger,
RecId _recId,
CostAmount _costAmountAdjustmentMST_RU,
NoYes _correct])
Microsoft Dynamics AX 2012 R2 (SYS)
public void addLedger(
LedgerVoucher _ledgerVoucher,
LedgerPostingType _ledgerPostingType,
LedgerDimensionAccount _ledgerAccount,
DimensionDefault _dimension,
CostAmount _costAmountAdjustmentCur,
[ProjLedger _projLedger,
RecId _recId,
CostAmount _costAmountAdjustmentMST_RU,
NoYes _correct])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public void addLedger(
LedgerVoucher _ledgerVoucher,
LedgerPostingType _ledgerPostingType,
LedgerDimensionAccount _ledgerAccount,
DimensionDefault _dimension,
CostAmount _costAmountAdjustmentCur,
[ProjLedger _projLedger,
RecId _recId])
Microsoft Dynamics AX 2012 (FPK)
public void addLedger(
LedgerVoucher _ledgerVoucher,
LedgerPostingType _ledgerPostingType,
LedgerDimensionAccount _ledgerAccount,
DimensionDefault _dimension,
CostAmount _costAmountAdjustmentCur,
[ProjLedger _projLedger,
RecId _recId])
Microsoft Dynamics AX 2012 (SYS)
public void addLedger(
LedgerVoucher _ledgerVoucher,
LedgerPostingType _ledgerPostingType,
LedgerDimensionAccount _ledgerAccount,
DimensionDefault _dimension,
CostAmount _costAmountAdjustmentCur,
[ProjLedger _projLedger,
RecId _recId])
Run On
Server
Parameters
- _ledgerVoucher
Type: LedgerVoucher Class
- _ledgerPostingType
Type: LedgerPostingType Enumeration
- _ledgerAccount
Type: LedgerDimensionAccount Extended Data Type
- _dimension
Type: DimensionDefault Extended Data Type
- _costAmountAdjustmentCur
Type: CostAmount Extended Data Type
- _projLedger
Type: ProjLedger Class
- _recId
Type: RecId Extended Data Type
- _costAmountAdjustmentMST_RU
Type: CostAmount Extended Data Type
- _correct
Type: NoYes Enumeration