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 costs from journal entries to ledger entries.
Syntax
server public static ProjPost newCreateProjCostAndLedger(
Common _buffer,
LedgerVoucher _ledgerVoucher,
LedgerJournalType _ledgerJournalType,
[TaxAmount _taxAmountInCostPrice,
boolean _adjustment,
boolean _reverseCommittedCost])
Run On
Server
Parameters
- _buffer
Type: Common Table
The table for a transaction type.
- _ledgerVoucher
Type: LedgerVoucher Class
The ledger items for posting.
- _ledgerJournalType
Type: LedgerJournalType Enumeration
The ledger journal type.
- _taxAmountInCostPrice
Type: TaxAmount Extended Data Type
The tax amount in cost price; optional.
- _adjustment
Type: boolean
- _reverseCommittedCost
Type: boolean
Return Value
Type: ProjPost Class
A new ProjPost object for journal entries.
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.