Compartir a través de


LedgerJournalTrans::getTaxWithholdInstance_IN Method

Gets an instance of TaxWithholdCalculation_IN with the withhold tax lines loaded into TmpTaxWithholdWorkTrans_IN.

Syntax

server public static TaxWithholdCalculation_IN getTaxWithholdInstance_IN(
    LedgerJournalId _journalNum, 
    Voucher _voucher, 
    InvoiceId _invoiceId, 
    boolean _persistToTaxWithholdUncommitted, 
   [LedgerJournalTrans _unsavedLedgerJournalTrans])

Run On

Server

Parameters

  • _persistToTaxWithholdUncommitted
    Type: boolean
    true if calculated withhold taxes should be persisted to the TaxWithholdUncommitted_IN table; otherwise, false.
  • _unsavedLedgerJournalTrans
    Type: LedgerJournalTrans Table
    If a LedgerJournalTrans record is unsaved then it needs to be passed into so that the new values may be considered for withhold tax calculations.

Return Value

Type: TaxWithholdCalculation_IN Class
An instance of the TaxWithholdCalculation_IN class.

See Also

Reference

LedgerJournalTrans Table