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 negative adjustments by using existing ledger journal 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 newTransAdjNegativeJournal(
Common _buffer,
LedgerVoucher _ledgerVoucher,
ProjTransIdBase _transId,
ProjTransactionOrigin _transactionOrigin,
[TransDate adjustmentDate])
Microsoft Dynamics AX 2012 R2 (SYS)
server public static ProjPost newTransAdjNegativeJournal(
Common _buffer,
LedgerVoucher _ledgerVoucher,
ProjTransIdBase _transId,
ProjTransactionOrigin _transactionOrigin,
[TransDate adjustmentDate])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
server public static ProjPost newTransAdjNegativeJournal(
Common _buffer,
LedgerVoucher _ledgerVoucher,
ProjTransIdBase _transId,
ProjTransactionOrigin _transactionOrigin,
[TransDate adjustmentDate])
Microsoft Dynamics AX 2012 (FPK)
server public static ProjPost newTransAdjNegativeJournal(
Common _buffer,
LedgerVoucher _ledgerVoucher,
ProjTransIdBase _transId,
ProjTransactionOrigin _transactionOrigin,
[TransDate adjustmentDate])
Microsoft Dynamics AX 2012 (SYS)
server public static ProjPost newTransAdjNegativeJournal(
Common _buffer,
LedgerVoucher _ledgerVoucher,
ProjTransIdBase _transId,
ProjTransactionOrigin _transactionOrigin)
Run On
Server
Parameters
- _buffer
Type: Common Table
The table for a transaction type.
- _ledgerVoucher
Type: LedgerVoucher Class
The ledger items for the posting.
- _transId
Type: ProjTransIdBase Extended Data Type
The transaction identifier for the original transaction.
- _transactionOrigin
Type: ProjTransactionOrigin Extended Data Type
- adjustmentDate
Type: TransDate Extended Data Type
Return Value
Type: ProjPost Class
A new ProjPost object for the negative adjustment of journal entries.
Remarks
This method is only valid for the journal types of revenue, hour, and week time. Any other journals that are passed in the _buffer parameter will throw the error: Project posting is not implemented for this type.