web
You’re offline. This is a read only version of the page.
close
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,451

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

I have the same question (0)
  • Community Member Profile Picture
    on at

    hi Mark

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

    Please let me know

    Kind regards

    Stefan Janse van Rensburg

  • Mark E Profile Picture
    6,451 on at

    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

    Thanks I appreciate :)

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

  • Verified answer
    Mark E Profile Picture
    6,451 on at

    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.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans