Compartilhar via


ComponentTransactions_IN::insertComponentTrans Method

Inserts TaxTrans_IN records into the TaxComponentTable_IN records for settlement.

Syntax

server public static container insertComponentTrans(
    TaxTrans_IN _taxTrans, 
    RefRecId _taxComponentTable, 
    RefRecId _taxRegistrationNumberTable, 
    RefRecId _refTaxRegistrationNumberTable, 
    TransDate _fromDate, 
    TaxDirection _taxDirection)

Run On

Server

Parameters

Return Value

Type: container
The total amount of incoming and outgoing tax.

Remarks

This method is executed from the determineSettlementAmount() or getCorrectionAmount() method of the TaxAdjustmentTable_IN table. The TaxTrans_IN table is used to insert the required value into the TaxComponentTable_IN table for settlement, and the _taxTrans.PostedTaxAmout field will hold the value of the posted tax amount, excluding the deferred amount.

See Also

Reference

ComponentTransactions_IN Table