• replace an empty UDF field to a set value base on condition

    Can anyone help, I test it for long time, doesn't work retVal=0 Ppat="" Ppatdesc="" Ppatdesc1="CREDIT HOLD" Ppatdesc2="REDUCE CREDIT LIMIT" Ppatdesc3="NEW CUSTOMER OR SPECIAL ALERT" Ppatdesc4="GOOD STATUS" retVal = oBusObj.GetValue("UDF_PAYMENT_PATTERN…
  • color SO Header Customer# defined by AR_Customer Type

    Trying to color the SO header customer# field if the customer type fall = specific value. I appreciate if you can help. Ctype = "" retVal = oBusObj.GetValue("CustomerType$", Ctype) If Ctype = "SDIS" then Set myUIObj = oSession.AsObject(oScript…
  • UI Script Post Load Event on Sales Order Lines Tab

    Hi Experts, I have a UI script that is attached to the Post Load event of the Sales Order Lines tab. It works fine if click on the tab. But when I am already on the Lines tab and move to the next Sales Order by clicking the NEXT button, then the tab…