Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Opening screen for different CompanyID

(0) ShareShare
ReportReport
Posted on by 6,437

SL2011 SP2, multi-company environment, single db.....

When logged into Company A, I want to be able to launch a screen for Company B based on a parameter I pass from a button...

Example, in the Inventory Status Inquiry screen, if an InvtID is assigned to a specific CompanyID (we assign this to the Inventory.User5 field), I want to launch the Availability screen, but want to pass the CompanyID field to the 21.410.00 screen so that it opens under that specific CompanyID instead of the CompanyID that the user is currently logged into. This is because SiteID's are Company specific, but the Inventory Status Inquiry screens can be used for all InvtID's.

I've tried to pass the CpnyID parameter to the bpes.cpnyid field of the launched screen using the Launch command line, but it does not seem to impact the CompanyID that is used to open the screen.

Any thoughts on how to accomplish this?

*This post is locked for comments

  • Verified answer
    Mark E Profile Picture
    6,437 on at
    RE: Opening screen for different CompanyID

    I re-posted this question on the Partner Support Forum, and the response was that MS does not think this request is possible...

    partnersupport.microsoft.com/.../825231fa-e751-4ed1-ba2a-cc5086901b4d

    If it cannot be done, the only thing I can think of (for me anyway) would be to build a custom Inventory Availability screen using the SDK so that I can pass the CpnyID parameter as necessary.

  • Community Member Profile Picture
    on at
    RE: Opening screen for different CompanyID

    Thanks I appreciate :)

    as far as I read, this is a very rare event , didn't expect there would be a solution yet

  • Mark E Profile Picture
    6,437 on at
    RE: Opening screen for different CompanyID

    Sorry, I haven't... Kind of gave up on it, but if I ever find a solution, I'll post it here.

  • Community Member Profile Picture
    on at
    RE: Opening screen for different CompanyID

    hi Mark

    we have a similar Problem, have you solved it yet ?

    Please let me know

    Kind regards

    Stefan Janse van Rensburg

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February 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... 293,202 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,923 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans