I am looking for some code that can open the part search window from a button click within a configuration session. I would ideally like to pass the PartNum and PartDesc back to input boxes within my configurator.
I am just curious if anyone has something already or something close.
I was not able to figure a solution out specifically. I was able to just open the Part Tracker window directly from a configuration session. however, there is not transferring of data between the two windows.
In the code below, the button is renamed to “btnPartTracker”. You could manipulate this code to open virtually any window within the software just by changing the menuToLaunch ID and the button ID.
hope this helps!!
var menuToLaunch = “IMGO3002”;
var button = “btnPartTracker”;
var tran = ((InputControlValueBound<Ice.Lib.Framework.EpiButton,string>)Inputs[button].Value).Control.EpiTransaction;
Ice.Lib.Framework.ProcessCaller.LaunchForm(tran,menuToLaunch);