- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Company-sp ecific user defined script
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-27-2012 09:38 AM
I created it a UDS but it applies to all companies by default.
How can I isolate a UDS to a specific company?
MAS 4.4
Thanks.
Solved! Go to Solution.
Re: Company-sp ecific user defined script
[ Edited ]
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-27-2012 10:03 AM - last edited on 01-27-2012 10:03 AM
You can check the CompanyCode property in the session object.
Sr. Software Engineer
Sage 100 ERP
Re: Company-sp ecific user defined script
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-27-2012 10:38 AM
Here is the code:
If oSession.CompanyCode = "ABC" Then
Msg = "Company ABC"
retval = oSession.AsObject(oSession.UI).Messagebox("",Msg)
end if
Re: Company-sp ecific user defined script
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-27-2012 10:40 AM
Thanks guys! worked perfectly


