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)

SSRS with RDP

(0) ShareShare
ReportReport
Posted on by 1,909

Dears,


There is a table called PSAQUOTATIONTMP in AX2012R3, I added one new field called Name1. I use this field in insertPSAQUOTATIONTMP()[Related to PSAQUOTATIONDP RDP class]. So I can retrieve this field in my Project Report. My code as follows but it's not retrieving my desire field...

Table used in RDP class declaration[PSAQUOTATIONDP]:

DirPartyTable           partyTable

InsertMethod[insertPSAQUOTAIONTMP()]

m_tPSAQuotationsTmp.Name1      = partyTable.Name;

Please Help me!

Thanks in advance!!!

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    239,029 Most Valuable Professional on at

    Could you please elaborate "it's not retrieving my desire field"?

    Have you tested that the RDP class successfully fills the field? If not, you have to fix it. If it does, your problem seems to be in the report and not in the class.

  • Suggested answer
    Rachit Profile Picture
    4,015 User Group Leader on at

    Hi,

    Edit the report in visual studio and refresh the dataset to view the new field you have added .

    Once the dataset is refreshed then you can add it in the design.

    Hope this helps.

  • Suggested answer
    5400 Profile Picture
    7,162 on at

    You have to select the DirPartyTbale before assign.

    \Classes\PSAQuotationsDP\insertPSAQuotationsTmp

    DirPartyTable           partyTable

    Like select firstonly name from partyTable

    m_tPSAQuotationsTmp.Name1      = partyTable.Name;

    I don't know your scenario. what criteria you want to pass for partyTable selection.

  • Faqruddin Profile Picture
    1,909 on at

    Thanks for your reply. This is how I declare DirPartyTable, I'm working on project quotation reports customization and I need sales man info from DirPartyTable field "NAME".

    dir.jpg

  • Faqruddin Profile Picture
    1,909 on at

    Hello Rachit, thanks for your reply. I know dataset refresh but the problem is after Depoly the report Its not retrieving the "NAME1" field. Please check my code above.

    Thank you!

  • Faqruddin Profile Picture
    1,909 on at

    Dear Matin - Please check I post my code. I mean I need to retrieve the "DirPartyTable" field called Name. So I create the Name1 as a temporary field in "PSAQUOTATIONTMP" table later I deploy this field in main Report. But its  not retrieved any Name!!!

    Thank you!!!  

  • 5400 Profile Picture
    7,162 on at

    dir.jpg"/api/data/v9.1/msdyn_richtextfiles(EE91FE4C-659F-4061-9F17-B20E3052BB3D)/msdyn_imageblob/$value?size=full">

     
  • Suggested answer
    Sohaib Cheema Profile Picture
    49,677 Super User 2026 Season 1 on at


    DirPartyTable partyTable; partyTable = DirPartyTable::findRec(HcmWorker::findByPerson(m_tSalesQuotationTable.WorkerSalesTaker).Person);


     //as above you have to select party record of sales taker which is basically sales man

    after that assign value

    m_tPSAQuotationsTmp.Name1      = partyTable.Name;

  • Faqruddin Profile Picture
    1,909 on at

    ddd.png

    Thanks for your replies. It didn't execute anything, please check my code...

  • Sohaib Cheema Profile Picture
    49,677 Super User 2026 Season 1 on at

    it should be working fine now.

    for experimental purpose do following  

    m_tPSAQuotationsTmp.Name1      = "My Test Name";

    Run the report:-

    • if data appears on report that means incremental CIL is missing. also restart to reporting services and aos can bring difference
    • if data does not appear that means something wrong out of ax i.e. at VS, try to refresh dataset and redeploy repot  

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans