Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

SOP Document tax total vs. Line item tax total

(0) ShareShare
ReportReport
Posted on by 5

Hello,

I am creating a SQL trigger that will calculate the taxes for the SOP document total and overwrite the tax total that is calculated by totaling the SOP line item tax amounts in Dynamics GP. Based on my scenario, I welcome any suggestions or other solutions that I can use.

Scenario

In my scenario I have two taxes details that calculate tax at 5% each for a total tax amount of 10%. Along with other SOP lines items, there are four different line entries of $49.50 each, with the document total being $700. Tax on this document should be $70, but because of rounding with the two 5% taxes. The four line entries are calculating a tax of $4.96 each. This is resulting in a document tax total of $70.04.

Solution

I am thinking the SQL trigger should update the information on the Sales Tax Summary Entry form only. I will leave the Tax Details on each line item as they are. I am also going to update ‘Round’ field on the Tax Detail Maintenance form for one of the taxes to ‘Down to the Previous Currency Decimal Digit’. This will make it so that the overall tax total will be the same as the document total I will change, though the tax details amounts between the two totals will be off by pennies. Finally, there will be a SmartList for the AR accountant to review the information in-case they need to change anything.

Thank you for any additional insight you provide.

*This post is locked for comments

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Almas Mahfooz Profile Picture

Almas Mahfooz 3 User Group Leader

Featured topics

Product updates

Dynamics 365 release plans