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,431

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
    Mark E 6,431 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
    Community Member Microsoft Employee 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
    Mark E 6,431 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
    Community Member Microsoft Employee 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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,489 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans