Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Wednesday, August 27, 2025 
 
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!
 Architect Forums - SalesLogix Scripting & Customization
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.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Lookup argument
Jeff Ballard
Posts: 326
 
Lookup argumentYour last visit to this thread was on 1/1/1970 12:00:00 AM
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
[Reply][Quote]
Jeff Ballard
Posts: 326
 
Re: Lookup argumentYour last visit to this thread was on 1/1/1970 12:00:00 AM
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
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Lookup argumentYour last visit to this thread was on 1/1/1970 12:00:00 AM
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!

[Reply][Quote]
Jeff Ballard
Posts: 326
 
Re: Lookup argumentYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Dec 08 12:21 PM
Good stuff, RJ. Thx for the info...
[Reply][Quote]
 Page 1 of 1 
  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!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 8/27/2025 2:22:26 PM