I'm taking a stab at what I feel is a simple script to calculate the Extension amount on an SO line. Here is my script, which is not working:
numPrice = 0
numQTY = 0
retVal = oBusObj.GetValue(""UDF_SO_LINE_SPECIAL_PRICE"", numPrice)
retVal = oBusObj.GetValue(""UDF_SO_LINE_TESTQTY"", numQTY)
retVal = oBusObj.SetValue(""ExtensionAmt"", numPrice * numQTY)
My UD Script is on the SO Sales Order Detail table and the Event is Column - Post Validate.
I have the External Access checkbox on in Company Maintenance.
Can anyone tell me what it is I have wrong?