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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

customizing the Report.

(0) ShareShare
ReportReport
Posted on by

Hi !

I am customizing a report named "ledgerTransPerJournal". this report gets called from 3 places. Invoice journal, payment journal and general journal. if I want to add Vendors name on these reports how can i do it?

I wrote a new method insertVendorname and took one parameter in it (_Voucher).

Here is my code:

public PurchName insertVendor(Voucher _voucher)
{
VendTrans vendTrans;
PurchTable purchTable;


select AccountNum from vendTrans
where vendTrans.Voucher == _voucher
join PurchName from purchTable
where purchTable.InvoiceAccount == vendTrans.AccountNum;

return purchTable.PurchName;
}

This Query Returning the value I wanted which is the correct vendor name.

then I called this method from the method "ledgertransperjournal/insertvoucherDetails" 

like "ledgerTransPerJournalTmp.Vendorname = insertVendorname"

then I added this field in visual studio report precision design

but I still can't see the vendorname in my Report.

please help

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    István Orosz Profile Picture
    2,137 on at

    Hi,

    After assigning the value to a field in your report tmp table in the report DP class, you can test you report in VS to verify the it shows the required data. After testing, you should rebuild your report in VS, then deploy it to reporting to be able to use it in AX.

    Regards,

    István

  • Suggested answer
    Mahmoud Hakim Profile Picture
    17,887 on at

    you must create a new field in temp table and fetch this your required data in DP class

  • Community Member Profile Picture
    on at

    istvan thanks for the reply. sir i tried that. i need indepth knowledge of this report as it gets triggered from multiple places.

  • Community Member Profile Picture
    on at

    Hakim hi thanks for the reply

    i have alreade done that

  • Suggested answer
    Andrew Xu Profile Picture
    3,877 on at

    1. Set a hardcoded value to that field to see if that shows up in your report. If not, restart your SSRS service, reset your cache, and run again.

    2. If that hardcoded value shows up, switch back to your original value assignment logic, to see if the value is correct.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 26

#2
imran ul haq Profile Picture

imran ul haq 8

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 4 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans