Loading...

How to get sales tax and Purch tax percentage X++

How to get sales tax and Purch tax percentage X++

If you're working with X++ and need to retrieve the sales tax and purchase tax percentage, this tutorial can save you time and hassle. The code snippet provided in this post can help you get the tax percentage by tax group and tax items group. The code uses the TaxGroup, TaxItemGroup, and TaxData tables to retrieve the tax percentage, and it's a handy addition to any X++ developer's toolkit.

The code itself is a function named getTaxPercent, which takes two arguments: a TaxGroup and a TaxItemGroup. Within the function, the code utilizes the TaxGroupData, TaxOnItem, and TaxData tables in combination with the select statement to retrieve the desired tax percentage.

This is a particularly useful tutorial for any X++ developer who needs to calculate tax values within their code. The post contains a link to the original source of the code, which provides additional context and explanation.

Overall, if you need to retrieve sales tax and purchase tax percentage using X++, this tutorial can help you achieve that goal efficiently and effectively.

Reference: http://axhelper.blogspot.com/2017/02/how-to-get-sales-tax-and-purch-tax.html

Published on:

Learn more
Sherif Fayed
Sherif Fayed

Share post:

Related posts

Discover the Advantages of the Universal Tax Rate API for Simplified Tax Calculations in Microsoft Dynamics 365 Finance and Supply Chain Management applications 

Discover the Advantages of the Universal Tax Rate API for Simplified Tax Calculations in Microsoft Dynamics 365 Finance and Supply Chain Manag...

3 months ago

How to Apply the Calculation Style in Excel

Microsoft Excel offers a game-changing feature that allows you to apply calculation styles with speed and accuracy. This feature visually dist...

4 months ago

Avalara Integration for Microsoft Dynamics 365 CRM: Simplify Recurring Billing and Tax Calculations!

  The global subscription and billing management market is booming, with a projected growth from USD 4.0 billion in 2020 to USD 7.8 billi...

10 months ago

Dynamics 365 Finance and Operations extends out-of-the-box country coverage in Latin America

Dynamics 365 Finance and Operations has extended its range of country coverage for Latin American countries, which have complex tax and regula...

1 year ago

TAX Engine Extension for GST INDIA with NO CODE

Dear Microsoft BizApps Community, Welcome to my next blog on TAX Engine Extension for GST INDIA, this blog is a must-be read and is very impor...

1 year ago

Automating complex tax scenarios with enhanced Tax Calculation capabilities

Financial management is in the midst of a transformative moment. The global operating environment of business today is increasingly complex an...

1 year ago

Non Deductible GST where Input Tax Credit(ITC) Can not be availed- Configurations in Microsoft Dynamics 365 Finance and Operations

Dear Microsoft BizApps Community, Welcome to my next blog on INDIA GST series in Microsoft Dynamics 365 Finance and Operations. In this articl...

1 year ago

Reverse charge mechanism (RCM) in INDIA GST Localization in Microsoft Dynamics 365 Finance and Operations

Dear Microsoft BizApps Community, Welcome to my blog on INDIA GST Scenario series, this is the first article on INDIA GST localization, I hope...

1 year ago

How To View D365 Sales Order Totals

If you're looking to get a quick and simple view of the totals on your D365 sales orders, this video tutorial may be just what you need. One o...

1 year ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy