Update LN6 table from C#.

0 votes
asked by about Baan ERP
edited by

string session = "\"tdpur4100m900\"";
            string dll = "ottstpapihand";
            BWObject.Timeout = 60;


            BWObject.ParseExecFunction(dll, string.Format("stpapi.put.field(" + session + ",\"tdpur045.orno\",\"410000124\")"));
            BWObject.ParseExecFunction(dll, string.Format("stpapi.put.field(" + session + ",\"tdpur045.pono\",\"10\")"));
            BWObject.ParseExecFunction("ottstpapihand", string.Format("stpapi.put.field(" + session + ",\"tdpur401.sqnb\",\"1\")"));
            BWObject.ParseExecFunction(dll, string.Format("stpapi.find(" + session + ")"));
            BWObject.ParseExecFunction(dll, string.Format("stpapi.put.field(" + session + ",\"tdpur401.qoor\",\"555\")"));
            BWObject.ParseExecFunction(dll, string.Format("stpapi.update(" + session + ",1,\"\")"));
            BWObject.ParseExecFunction(dll, string.Format("stpapi.save(" + session + ",\"\")"));
            BWObject.ParseExecFunction(dll, string.Format("stpapi.end.session(" + session + ")"));

1 Answer

0 votes
No avatar answered by (236k points)

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register
...