web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Tax rate field in Sales Invoice report

(0) ShareShare
ReportReport
Posted on by 406

Hello everyone, i am trying to add the tax rate to my sales invoice report. so i need to map the value to show on my report.

pastedimage1683531826407v1.png

so here i will show u my extension in the data provider class, i have created a field Ex_TaxRate to map the field TaxValue from the taxTrans table. but for some reasons, the field is coming blank on the report

pastedimage1683532252870v2.png

I have the same question (0)
  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at

    Hi Mounir, Please try the code in this thread

    community.dynamics.com/.../d365-get-sales-tax-values-of-sales-order-per-line-in-x

  • D365FO DEV Profile Picture
    406 on at

    hi

    can u  show me how to add it based on the field i created and when to add it?

  • Mohit Rampal Profile Picture
    12,565 Moderator on at

    Please share the path for this Posted Sales Tax form. I can see other dialogs for tax on sales order.

  • D365FO DEV Profile Picture
    406 on at

    to get the path for this sales tax for, u need to select a sales order -> invoice(action pane)

    ->posted sales tax --> options --> record info --> show all fields.

    pastedimage1683535242801v1.pngpastedimage1683535259770v2.png

  • Abhi Profile Picture
    120 on at

    Hi MounirDev,

    Debug it. check to see if the table is select.

    Thanks,

  • D365FO DEV Profile Picture
    406 on at

    i debugged, only the salesinvoicetmp is showing data while taxtrans and custinvoicetrans is not showing data

  • Abhi Profile Picture
    120 on at

    Hi MounirDev,

    Check in SSMS having record in custinvoicetrans for  "Select custinvoiceTrans where custinvoicetrans.recid == journalRecid (salesinvoicetmp.journalrecid)".

    Thanks,

  • D365FO DEV Profile Picture
    406 on at

    custinvoice trans is not getting data

  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at

    Please check this thread

    community.dynamics.com/.../741651

    In SalesInvoiceTmp, JournalRecId field is linked with custinvoicejour table, not custInvoiceTrans.

    There is a standard field for TaxAmount in SalesInvoiceTmp, if you comment your code, isn't the standard logic working?

  • Abhi Profile Picture
    120 on at

    Hi MounirDev,

    pastedimage1683539297751v1.png

    In above figure, custinvoiceJour is in relation with salesinvoicetmp, not with custinvoicetrans table.

    Thanks,

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans