First check Allow External Access in Company Maintenance :-) But here is another shot in the dark. I presume sorderno and memocode variables are defined earlier in the script. Any chance he defined sorderno like this (instead of using GetValue) :
sorderno = SO_Sales_bus_SalesOrderNo
If so, then the field variable needs to be passed into this script like this:
------------------------------
Alnoor Cassim
Accounting Systems, Inc. (ASI)
Email:
alnoor@asifocus.comOrange County, CA
------------------------------