Quantcast
Channel: Sage 100
Viewing all articles
Browse latest Browse all 36990

Forum Post: RE: Issue with button script/refresh grid

$
0
0
Hi Justin K , The InvokeLookup() function was introduced in the Sage 100 ERP 2015 release.  Here is the basic syntax of the function and how to determine the proper 'lookup code'.  Maybe nronchetti has an alternate way to find the lookup that works better. :) InvokeLookup(lookupCode, value, [startValue]) lookupCode -  A valid Sage 100 ERP lookup code data       - the value the user selected startValue – {optional} if a lookup requires a start value, such as the Customer Contact lookup, optionally include this value. example: retVal = oUIObj.InvokeLookup(“CI_ItemAll”, item) Finding the Lookup Code you want Turn on debugging (same procedure to use oScript.DebugPrint() ) Go to location in Sage 100 ERP and start the lookup you want Right-Click on title bar – Select Debugging Environment..Watch values window From the Edit Menu on the Watch Window select Add new Watch Type in the variable control$  and click Add You should see the lookup name in the watch window. Hope that helps. Elliott

Viewing all articles
Browse latest Browse all 36990

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>