In Codeunit 398 "Sales Tax Calculate", Please provide the possibility to have five integration events in AddSalesLine() and EndSalesTaxCalculation() and DistTaxOverSalesLines() procedures respectively.
In AddSalesLine() Procedure after 725 Line in Below image,
Integration Event
[IntegrationEvent(false, false)]
local procedure AddSalesLineOnAfterSetSalesTaxAmountLineFilter(var TempSalesTaxAmountLine: Record "Sales Tax Amount Line" temporary; SalesLine: Record "Sales Line"; TaxAreaLine: Record "Tax Area Line");
begin
end;
In AddSalesLine() Procedure after 752 Line in Below image,
Integration Event
[IntegrationEvent(false, false)]
local procedure AddSalesLineOnBeforeModifySalesTaxAmountLine(var TempSalesTaxAmountLine: Record "Sales Tax Amount Line" temporary; SalesLine: Record "Sales Line");
begin
end;
In Procedure EndSalesTaxCalculation() after 1159 Line in below image.
Integration Event
[IntegrationEvent(false, false)]
local procedure EndSalesTaxCalculationBeforeDeleteTaxAmountLine(var TempSalesTaxAmountLine: Record "Sales Tax Amount Line" temporary; Date: Date; var IsHandled: Boolean);
begin
end;
In Procedure EndSalesTaxCalculation() after 1255 Line in below image.
Integration Event
[IntegrationEvent(false, false)]
local procedure OnEndSalesTaxCalculationOnBeforeSalesTaxAmountLine2Copy(var TempSalesTaxAmountLine: Record "Sales Tax Amount Line" temporary; var TaxBaseAmt: Decimal; var AddedTaxAmount: Decimal; var TotalTaxAmount: Decimal);
begin
end;
In Procedure DistTaxOverSalesLines() after 1462 Line in below image.
Integration Event
[IntegrationEvent(false, false)]
local procedure DistTaxOverSalesLinesAfterSetSalesLineFilters(var SalesLine: Record "Sales Line"; var TempSalesTaxAmountLine: Record "Sales Tax Amount Line" temporary);
begin
end;
Additional context
We need these events to handle the custom code for various clients related to implementation of Excise Tax.
Internal work item: AB#543002
Describe the request
Hi Team,
In Codeunit 398 "Sales Tax Calculate", Please provide the possibility to have five integration events in AddSalesLine() and EndSalesTaxCalculation() and DistTaxOverSalesLines() procedures respectively.
In AddSalesLine() Procedure after 725 Line in Below image,
Integration Event [IntegrationEvent(false, false)] local procedure AddSalesLineOnAfterSetSalesTaxAmountLineFilter(var TempSalesTaxAmountLine: Record "Sales Tax Amount Line" temporary; SalesLine: Record "Sales Line"; TaxAreaLine: Record "Tax Area Line"); begin end;
In AddSalesLine() Procedure after 752 Line in Below image,
Integration Event [IntegrationEvent(false, false)] local procedure AddSalesLineOnBeforeModifySalesTaxAmountLine(var TempSalesTaxAmountLine: Record "Sales Tax Amount Line" temporary; SalesLine: Record "Sales Line"); begin end;
In Procedure EndSalesTaxCalculation() after 1159 Line in below image.
Integration Event [IntegrationEvent(false, false)] local procedure EndSalesTaxCalculationBeforeDeleteTaxAmountLine(var TempSalesTaxAmountLine: Record "Sales Tax Amount Line" temporary; Date: Date; var IsHandled: Boolean); begin end;
In Procedure EndSalesTaxCalculation() after 1255 Line in below image.
Integration Event [IntegrationEvent(false, false)] local procedure OnEndSalesTaxCalculationOnBeforeSalesTaxAmountLine2Copy(var TempSalesTaxAmountLine: Record "Sales Tax Amount Line" temporary; var TaxBaseAmt: Decimal; var AddedTaxAmount: Decimal; var TotalTaxAmount: Decimal); begin end;
In Procedure DistTaxOverSalesLines() after 1462 Line in below image.
Integration Event [IntegrationEvent(false, false)] local procedure DistTaxOverSalesLinesAfterSetSalesLineFilters(var SalesLine: Record "Sales Line"; var TempSalesTaxAmountLine: Record "Sales Tax Amount Line" temporary); begin end;
Additional context
We need these events to handle the custom code for various clients related to implementation of Excise Tax. Internal work item: AB#543002