Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

How to get the Tax detail % to print on SOP invoices?

Posted on by Microsoft Employee

Is there a way to add the Tax percent on the SOP Invoice depending on the Tax detail ID?

What about the Report Writer User-Defined function: RW_TXGetPercentOrAmountString        I can't find any info in SDK about this function and parameters required. 

Anyone knows and could help me?

Thanks,

Sylvie

 

 

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to get the Tax detail % to print on SOP invoices?

    You can create a formula field to get the percentage of tax

    'SOP_LINE_WORK'.'Tax Amount' *  100  )   /   (  'SOP_LINE_WORK'.'Extended Price' -  'SOP_LINE_WORK'.'Trade Discount Amount' 

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to get the Tax detail % to print on SOP invoices?

    Hi Leslie

    Do you know of a way to display the Tax Detail Percent on the RM Blank Document report footer?  This is required for a UK customer where there is only one tax rate applied per transaction.  The fallback position is do a calculation as you mentioned above, however, this can lead to rounding errors/discrepancies.

    I've added the Sales/Purchases Tax Master table to the report and added the applicable field, but it just displays as 0% even though the transaction has a 20% tax rate applied...

    Thanks in advance.

    Regards

    Ana

  • L Vail Profile Picture
    L Vail 65,271 on at
    RE: How to get the Tax detail % to print on SOP invoices?

    Another question:

    How do want to handle serial or lot numbered items. If you don't have any, the solution is straightforward. If you do have serial or lot numbered items, it gets more complicated.

    Leslile

  • L Vail Profile Picture
    L Vail 65,271 on at
    RE: How to get the Tax detail % to print on SOP invoices?

    Sylvie,
    Are you looking for each line to have the taxdetail ID and Tax % charged each line? There would be a 'sub' line equal to each of the tax details assigned to the tax schedule. Or, do you just want the taxschedule ID and the sum of the percentages of each detail. This won't give you an accurate number because the tax base is still unknown. Alternatly, you could just do the math and figure out the tax percentage using simple arithmatic divide the total tax amount for that line to the price of that line.
    What are you looking for?
    Kind regards,
    Leslie

  • Suggested answer
    L Vail Profile Picture
    L Vail 65,271 on at
    RE: How to get the Tax detail % to print on SOP invoices?

    Hi,

    I believe this function returns a string and requires 3 parameters to be passed to it in this order:

    in 'Tax Detail Base' 
    in 'Tax Detail Percent'   
    in 'Tax Detail Amount'  

    I don't know if this will get you what you want, but I think I have the parameters correct. Give it a shot and see what you get.

    Kind regards,

    Leslie

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to get the Tax detail % to print on SOP invoices?

    Hi Sylvie

    Granted this is a really old post, do you recall if you ever found any information on this RW function?

    If so, please could you share.

    Many thanks.

    Ana

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,134 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,928 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans