Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL forum
Answered

Opening screen for different CompanyID

Posted on by 6,405

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?

  • Verified answer
    Mark E Profile Picture
    Mark E 6,405 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,405 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

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,914 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,549 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans