How to Get Tax value based on Tax Group using X++ Code
TaxGroupData taxGroupData ;
PurchLine purchLine;
while select taxGroupData where
taxGroupData.TaxGroup == purchLine.TaxGroup
{
if(taxGroupData.RecId)
{
taxValue += taxGroupData.showTaxValue(); // if there are Tax combinations
}
}
No comments:
Post a Comment