Spring V10 Run SQL

Asked

Viewed 263 times

-1

I’m trying to migrate a code V9 to the V10 which basically inserts SQL records into a user table from external software.

In V9 I do this easily using for example:

strSQLAux = "INSERT INTO TDU_LOTESX3 (CDU_LOT, CDU_QTYSTU, ... etc)
BSO.DSO.BDAPL.Execute strSQLAux

In the V10 I am trying to migrate the code but it gives me error, apparently the function Execute there is no.

Can help me find an alternative to insert SQL records in V10 via editor (PEX)?

1 answer

3


Good afternoon, you have to reference ERPDS100.DDL and then do:

BSO.DSO.ExecuteSQL(strSQLAux)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.