Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

Customizing Sales tax transactions - details

(0) ShareShare
ReportReport
Posted on by 51
Hello everyone i'm trying to add 3 fields from TaxTrans and VendTrans to Sales tax transactions - details report.
So i duplicated the report and extended the TaxTransDetailDP this the code 
 
 
any ideas or solutions? thank you.
  • Verified answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    Customizing Sales tax transactions - details
    Hi, In addition, while debugging if HPSText and HPSTaxGroupDescription fields are getting values in code but not displayed in your report then restart Sql Server Reporting Service. As others have mentioned, issue can be that _taxTrans table buffer does not have values in those fields. In that case you have to insert values first in the table record or test with other data that have values.
  • Suggested answer
    Kevin Xia Profile Picture
    Kevin Xia Microsoft Employee on at
    Customizing Sales tax transactions - details
    Hi,
    Based on the problem you described, it seems that the HPSInvoice field is successfully assigned a value, indicating that vendTrans contains the value Invoice, so have you debugged to make sure that the _taxTrans contains the HPSTaxGroupDescription field and the HPSText field
    Best reagrds,
    Kevin
  • GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    Customizing Sales tax transactions - details
    Hi wassim,
     
    As Andre mentioned please debugged the code and find whether you have values for HPSText and HPSTaxGroupDescription from _taxTrans buffer.
    Alternate way will be using OnInserting event handler of the temp table.
     
    Thanks,
    Girish S.
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,979 Super User 2025 Season 1 on at
    Customizing Sales tax transactions - details
    Hi Wassom,
     
    Have you used the debugger and checked if the new fields in the _taxTrans record variable actually has values?

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans