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 :
Microsoft Dynamics AX (Archived)

Displaying vendor name in vendinvoice Report

(0) ShareShare
ReportReport
Posted on by 1,536

hi expert i have little query , in ax 2012 R3 there is report vend-invoice Report, actually i want to display vendor name on that report,by default there is no vendor name,for this i just added vendor name(extended data type) in vendinvoice temp table,and then just reference that field in class of vendinvoice,rebuild the ax,and in vs2012  add that field in report design ,and depolye ,but still the vendor name not does not showed in report...plz guide me..

Regards.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    your first mistake is that you are adding your code in wrong class (VendiNvoice as you have motioned above

    you have to write your code in VendInvoiceDP(class).

    Open insertVendInvoiceTmp(method) of VendInvoiceDP(class)

    now write code as under

    vendInvoiceTmp.YourNewlyAddedField = _vendTable.Name();

    Now build incremental cil. go on VS report design. make sure report has required field

    redploy report. check it now. if data is still not coming restart reporting service and aos

  • Felipe Queija Profile Picture
    110 on at

    When you have multiple suppliers. i have the problem that this field is not showing the supplier name in the report.

    Can you please advise on how to fix it ?

  • Felipe Queija Profile Picture
    110 on at

    vendInvoiceTmp.VendorName = VendTable::getVendorName(_vendTable.AccountNum);

    its the best way to get the vendorName when you have multiple supplier in the criteria to run the report.

  • Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    Felipe Queija,

    I can see you getting this issue, by your replies on few old posts :)

    your issue sounds like if you have done some grouping on report design at SSRS level or you may have grouping in your query which is source of data for RDP. Because DP class is throwing in temp table what it's getting.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans