Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Get Current CpnyId in Crystal Report Formula

(0) ShareShare
ReportReport
Posted on by 555

 Hi,

     I have added a Custom a report in Dynamics SL. In the report i want to set a header depend on which company the report is running. In formula how to get current CpnyId  with out adding RptCompany table? is this possible in dynamics SL ? is  any formula available like "RptName"(Print Report Name)?

 

Thanks,

Thillai

       

*This post is locked for comments

  • ThillaiRaja Profile Picture
    555 on at
    RE: Get Current CpnyId in Crystal Report Formula

    Mr.Mark very thanks,it's solve my problem..thanks again

  • Verified answer
    Mark E Profile Picture
    6,445 on at
    RE: Get Current CpnyId in Crystal Report Formula

    To get the current CompanyID: riparam("CpnyId")

    Most standard SL Crystal reports use this formula.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,060 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,858 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans