According to some other scripts that are working at other customers and several examples from Alnoor's Scripting class, scripts in Custom Office automatically have a reference to oBusObj, and a SalesOrderLines script can have:
oLines = oBusObj.AsObject(oBusObj.Lines).
However on a system today I am getting "OLE Error 424 Object Required oBusObj".
Any ideas on what could be wrong and how to fix?
2017.05 Premium if that matters
#scripting
------------------------------
Phil McIntosh
President
Friendly Systems, Inc.
Asheville NC
678.273.4010 ext 5
------------------------------