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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

how to get the company tax registration numbers in sales confirm ssrs report.

(0) ShareShare
ReportReport
Posted on by 1,737

i want to display the company related information like vat,cst ,pan no of company in sales order confirm ssrs report.

how to do this.

*This post is locked for comments

I have the same question (0)
  • Hariharans87 Profile Picture
    3 on at
    RE: how to get the company tax registration numbers in sales confirm ssrs report.

    Add the fields in the temp table, insert the value in the RDP class process report method, refresh the report dataset and display the newly added fields in the report design.

  • Hariharans87 Profile Picture
    3 on at
    RE: how to get the company tax registration numbers in sales confirm ssrs report.

    To get the tax number, you can use this code

    info(strFmt('%1', CompanyInfo::find().CoRegNum));

    Try this method for other fields.

  • Guy Terry Profile Picture
    28,913 Moderator on at
    RE: how to get the company tax registration numbers in sales confirm ssrs report.

    Hi Srinivas,

    As far as I can see, AX is already displaying the Company Tax Registration Number on the Sales order confirmation report. The field is CompanyInfo.CoRegNum, and can be found at Org Admin -> Setup -> Organisation -> Legal entities -> 'Tax registration' fast tab -> 'Tax registration number'.

    I am not familiar with the other numbers you need.

  • Keshav Kumar Profile Picture
    220 on at
    RE: how to get the company tax registration numbers in sales confirm ssrs report.

    Hii Ravi,

    You can find Company related information in company info table.

    You can use this method also.

    Companyinfo::find().coregnum;

    For VAT,cst and pan no you may need to change the company.By changing the company you can find those

    fields.

  • Suggested answer
    Mahmoud Hakim Profile Picture
    17,887 on at
    RE: how to get the company tax registration numbers in sales confirm ssrs report.

    you can create this fields in temptable and retrieve your data in RDP class , finally add this field to design

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
AlissonGodoy Profile Picture

AlissonGodoy 2

#2
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans