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.
Creates TaxTransGeneralJournalAccountEntry records for the specified subledger journal transfer ID.
Syntax
server private static void createForProfitAndLoss(
SubledgerJournalTransferId _transferId,
LedgerRecId _ledgerRecId,
boolean _isExpenditureDocument)
Run On
Server
Parameters
- _transferId
Type: SubledgerJournalTransferId Extended Data Type
The identifier for a group of subledger journal entries that are transferred to the ledger together.
- _ledgerRecId
Type: LedgerRecId Extended Data Type
The identifier for the Ledger record with which the subledger journal entries being transferred are associated.
- _isExpenditureDocument
Type: boolean
Indicates whether the TransferId is associated with an expenditure document (e.g., Vendor invoice) or a non-expenditure document (e.g., Free Text invoice).
Remarks
This method creates profit and loss entries that represent the taxed basis of TaxTrans records for price or charge.