on 09-01-2020 12:25 AM
Hello experts,
I have a doubt related to Tax Calculation Procedure.
In my case, I have created a BCC for BO TaxCalculationProcedure and assigned to a Country:
Then, I've created a Enhancement for CalculationProcedureForTaxes (filter is configured to scoped previous TaxCalculationProcedure).
and the following dummy code in the ABSL:
import AP.FO.PriceAndTax.Global;
var result : PriceAndTaxItemCalculateTaxOutbound;
var caltab : collectionof TaxCalculationInput;
var caltabout : collectionof TaxCalculationOutput;
var calinout : TaxCalculationOutput;
var calin : TaxCalculationInput;
var taxbaseamount1;
var taxlevelid;
caltab = InputData.TaxCalculationInput;
foreach (calin in caltab ){
calinout.DeductiblePercent = calin.DeductiblePercent;
calinout.TaxBaseAmount.content = 100 * 10;
calinout.TaxPercent = 15;
caltabout.Add(calinout);
}
result.PriceAndTaxItemCalculateTaxOutbound = caltabout;
return result;
Then, I created the BAC scoping all elements in my solutions and deployed:
Then, I went to Business Configuration and selected the question to include my configuration in project.
I would expect that, with this configuration, everytime a tax is calculated in SAPByD, my Tax Calculation Procedure would execute (and a breakpoint place in code, would be hit), but my code is never reached.
What could it be wrong or missing?
Thanks in advance.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.