Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Displaying vendor name in vendinvoice Report

(0) ShareShare
ReportReport
Posted on by 1,534

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

  • Sohaib Cheema Profile Picture
    Sohaib Cheema 46,610 User Group Leader on at
    RE: Displaying vendor name in vendinvoice Report

    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.

  • Felipe Queija Profile Picture
    Felipe Queija 110 on at
    RE: Displaying vendor name in vendinvoice Report

    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.

  • Felipe Queija Profile Picture
    Felipe Queija 110 on at
    RE: Displaying vendor name in vendinvoice Report

    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 ?

  • Suggested answer
    Sohaib Cheema Profile Picture
    Sohaib Cheema 46,610 User Group Leader on at
    RE: Displaying vendor name in vendinvoice Report

    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

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans