Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a new instance of ProjPost for posting from journal entries to ledger entries.
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
server public static ProjPost newCreateProjTransAndLedger(
Common _buffer,
LedgerVoucher _ledgerVoucher,
[boolean _reverseCommittedCost,
boolean _adjustment,
ProjTransactionOrigin _transactionOriginOrig,
PSAContractLineNum _psaContractLineNum])
Microsoft Dynamics AX 2012 R2 (SYS)
server public static ProjPost newCreateProjTransAndLedger(
Common _buffer,
LedgerVoucher _ledgerVoucher,
[boolean _reverseCommittedCost,
boolean _adjustment,
ProjTransactionOrigin _transactionOriginOrig])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
server public static ProjPost newCreateProjTransAndLedger(
Common _buffer,
LedgerVoucher _ledgerVoucher,
[boolean _reverseCommittedCost,
boolean _adjustment,
ProjTransactionOrigin _transactionOriginOrig])
Microsoft Dynamics AX 2012 (FPK)
server public static ProjPost newCreateProjTransAndLedger(
Common _buffer,
LedgerVoucher _ledgerVoucher,
[boolean _reverseCommittedCost,
boolean _adjustment,
ProjTransactionOrigin _transactionOriginOrig])
Microsoft Dynamics AX 2012 (SYS)
server public static ProjPost newCreateProjTransAndLedger(
Common _buffer,
LedgerVoucher _ledgerVoucher,
[boolean _reverseCommittedCost])
Run On
Server
Parameters
- _buffer
Type: Common Table
The table for the transaction type.
- _ledgerVoucher
Type: LedgerVoucher Class
The ledger items for posting.
- _reverseCommittedCost
Type: boolean
- _adjustment
Type: boolean
- _transactionOriginOrig
Type: ProjTransactionOrigin Extended Data Type
- _psaContractLineNum
Type: PSAContractLineNum Extended Data Type
Return Value
Type: ProjPost Class
A new ProjPost object for posting journal entries to ledger accounts.
Remarks
This method is only valid for the table LedgerJournalTrans. Any other table that is passed in the _buffer parameter will throw the error: Project posting is not implemented for this type.