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)

WHSWork report update

(0) ShareShare
ReportReport
Posted on by

Dear Experts,
I would like to update WHSWork report, by removing item/order number bar code and replacing it with additional field such as item/order name. 
How do I add item/order name on SSRS report if the field is not available within VS WHSWorkReport project DS?
Kind Regards,
V

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Agha SirajulDola Profile Picture
    555 on at

    Hey There,

    To add any new feild in report, Few steps to follow

    1 - Add String Field in Temp table (DataSource) of  WHSWorkReport

    2-  Assign value to  field (item/order name Value) in RDP

    3 - Refresh your Datasource of report in Visual Studio so that it gets available in field list

    4 - replace field with new fieldname

    5 - Deploy the report

    Regards

    Agha

  • Verified answer
    Agha SirajulDola Profile Picture
    555 on at

    If thats Query Report, U have to create display method on WHSWorkTable for orderName, that will also be available as a field in repot. Still no need to RDP class

    Regards,

    Agha

  • Community Member Profile Picture
    on at

    Hi Agha/Crispin,

    Thank you for you quick replies. I`m still learning on how to edit these reports. Where do I need to add this method, for me to enable to add both fields in VS report designer?

    Kind Regards,

    V

  • Verified answer
    Agha SirajulDola Profile Picture
    555 on at
  • Verified answer
    Community Member Profile Picture
    on at

    Hi Agha/Crispin,

    Much appreciate your support. I managed to replace Item barcode with item name by adding "displayItemName" method from WHSWorkLine table in VS.

    However my code knowledge is 0, so I`m unsure how to write the code/method to display Order name.

    Kind Regards,

    V

  • Community Member Profile Picture
    on at

    Hi Crispin,

    OrderNum is only displaying order number, however I would need to replace barcode next to it with production order name.

    Did a quick google search how display methods work and I wrote my very first code.

    I added below code as method in WHSWorkTable,

    66057.Capture.JPG

    Updated SSRS report by adding above method as field in VS project.

    Thanks again for your support and assistance :)

    Kind Regards,

    V

  • Community Member Profile Picture
    on at

    Hi Crispin,

    After deploying the report back to AOT and running the report from user account - order name field is left blank when in print preview, however when I looked in VS project print preview, fields are displaying correctly. What possibly be causing the issue? Is that the code method I wrote?

    Kind Regards,

    V

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
Basit Profile Picture

Basit 1

#1
GL-01081504-0 Profile Picture

GL-01081504-0 1

#1
Roya Profile Picture

Roya 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans