Hello,
I am scripting a button that, when clicked, opens up the sales order history lookup from the Invoice History Inquiry panel. I am trying to get this lookup to already have the sales order number entered that is shown on the current panel.
For example if I am in AR Invoice History Inquiry looking at invoice number 55379, I want to be able to click a button that opens up the associated sales orders. My current code and picture is below. I want to click the highlighted link, and have the highlighted order number already searched for. I get the lookup panel to pop up as below, but my variable tee never populates.
retme = ""
tee = ""
retVal = oBusObj.GetValue("SalesOrderNo$", tee)
retVal = oUIObj.InvokeLookup("SO_SalesOrderHistory", retme, [tee])
Thanks,