Skip to content

Instantly share code, notes, and snippets.

Last active June 24, 2020 16:50
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Epicor Launch Form with parameters
//Code src:
public void CallLot(string PartNum,string LotNum)
string[] CompoundKeys =new string[]{PartNum,LotNum};
CompoundKeyBinding cb=new CompoundKeyBinding(CompoundKeys,null,null);
LaunchFormOptions opts = new LaunchFormOptions();
ProcessCaller.LaunchForm(oTrans, "IMMT1051", opts);
catch (Exception exception)
LaunchFormOptions launchObject = new LaunchFormOptions();
launchObject.IsModal = true;
Hashtable hashtable = new Hashtable();
hashtable.Add("CashDeskID", this.CashDeskID);
hashtable.Add("ReferenceNum", this.ReferenceNum);
launchObject.ValueIn = hashtable;
ProcessCaller.LaunchForm(this, "Epicor.Mfg.UIRpt.PrintPettyCashDoc", launchObject);
launchObject.IsModal = true;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment