Question re: limited rights and Advanced Scripting

SOLVED

I have a script in purchase order entry that reads a value from the vendor maintenance.  If a user has view only rights to vendor maintenance, the script error's out.  However if the user has view and modify rights to vendor maintenance, the script works just fine. 

Here is a section of the script: 

retVal = oBusObj.GetValue("APDivisionNo", div)
retVal = oBusObj.GetValue("VendorNo", vend)

if NOT(IsObject(oVendor)) then
 Set oVendor = oSession.AsObject(oSession.GetObject("AP_Vendor_bus"))
end if

retVal = oVendor.SetKeyValue("APDivisionNo$", div)
retVal = oVendor.SetKeyValue("VendorNo$", vend)
retVal = oVendor.SetKey()
retVal = oVendor.GetValue("UDF_QUALIFIED_DATE$", qualDate) 

The error occurs on the "Set oVendor = oSession.AsObject" line.  It is an error 88 (invalid/unknown property name). 

Are "modify" permissions required, or is there another way to do this with just "view" permissions? 

Dawn