TaxTransGeneralJournalAccountEntry::createForProfitAndLoss Method

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

  • _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.

See Also

Reference

TaxTransGeneralJournalAccountEntry Table