srinivas
3rd June 2005, 09:30
I am working making an AFS on baanLN.

The first line itself is throwing an error

index 0 out of dims [1] 5
cannot continue in cprrp1100m000 in DLL ottstpstandard (index.initialize)[retry.point]

This is my code:

cprrp1100m000f.put.Scenario(l.plnc)
cprrp1100m000f.put.Order_Type(l.type)
cprrp1100m000f.set.view(error.msg)
cprrp1100m000f.put.Order(l.orno)
cprrp1100m000f.find(error.msg)
cprrp1100m000f.synchronize.dialog("modify",error.msg)
cprrp1100m000f.put.Status(l.osta)
cprrp1100m000f.update(1,error.msg)
cprrp1100m000f.save(error.msg)
cprrp1100m000f.end(error.msg)
return(ret.ok)


Pl. suggest.

mark_h
3rd June 2005, 15:27
I do not know anything about your version of Baan, but I recommend making sure you are on the latest version of stpapi libraries, tools version and session object.