ReleaseUpdateDB60_Ledger.updateGDL_TH_EDT_Records Method [AX 2012]
Updates the Thai withholding EDT relations with record ID table based relations.
Syntax
public void updateGDL_TH_EDT_Records()
Run On
Server
Remarks
Updates the TaxWithholdItemGroupHeading_TH field in the LedgerJournalTrans, TaxWithholdReportSetup_TH, taxWithholdOnItem_TH, TaxWithholdTrans tables with the value from the RecId field of the TaxWithholdItemGroupHeading_TH table. Updates the TaxWithholdPeriodHead_TH field in the TaxWithholdReportPeriod_TH, TaxWithholdTrans, and taxWithholdTrans tables with the value from the RecId field of the TaxWithholdPeriodHead_TH table. Updates the TaxWithholdLedgerAccountGroup_TH field in the TaxWithholdTable table with the value from the RecId field of the TaxWithholdLedgerAccountGroup_TH table. Updates the TaxWithholdRevenueTable_TH field in the TaxWithholdItemGroupHeading_TH table with the value from the RecId field of the taxWithholdRevenueTable_TH table. Updates the CustAccount field in the TaxWithholdTrans table with the value from the del_CustAccount_TH field of the TaxWithholdTrans table. In a version earlier than 6.0 there could be a case that a record could be created for Thai and non-Thai customers. However, in the current version, the Thai withholding tax is limited to Thai legal entities, and there is no need for a Thai-specific column.