8/27/2025 1:27:29 PM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
|
|
|
|
Lookup argument
Posted: 05 Dec 08 10:52 AM
|
I have created a main view for sales orders (using a .NET extension, no less!). I have created lookups to view the sales orders. I've created a menu to add Sales Orders to the Lookups menu. When I select the action type of lookup and attempt to select the argument, sales order is not showing up in the tree view and I can't find my lookups anywhere. Is this hard-coded somewhere? I know this shouldn't be difficult but can't figure it out.
Thanks,
Jeff
|
|
|
|
Re: Lookup argument
Posted: 05 Dec 08 11:17 AM
|
I've answered my own question. I never thought it would work, but just type the argument in the format:
MAINTABLE:LookupField:LookupName
You can leave the "LookupName" part off if you don't have one.
I figured you would *have* to select it so it had a plugin ID or such. But nope...SLX surprised me and it was as easy typing the info above.
Thanks to me. 
Jeff
|
|
|
|
Re: Lookup argument
Posted: 05 Dec 08 11:29 AM
|
Two caveats (one good, one bad)
Lookup Field is a Unique value......if you have 4 fields with slightly different variations on layout, what is returned, etc. SLX automatically goes after the first lookup found. LookupName is a new 6.2ish addition that allows for multiple lookups on the same LookupField name. YEA!
Don't ever forget that LookupField is based on DISPLAY NAME. See ResyncTableDefs for the exact value.
When you 'pop' a lookup from account, contact, et al.....SLX will go after the MAINTABLE:LookupField:LookupName stuff for you. Instead of launching the lookup as SLX does, we launch it as a DOINVOKE "LOOKUP", "MAINTABLE:LookupField:LookupName". This way we get a temporary group built automatically!
|
|
|
| |
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|