Skip to Content
0
Nov 09, 2020 at 01:20 PM

Update record through RecordSet Object on SAP B1

158 Views

Hi everyone, I would like to know if an update statement using the RecordSet business object is a bad practice?

A code line below, for instance:

oRecordSet.DoQuery("UPDATE OINV SET U_MyField = 'Test' WHERE DocEntry = 202020");

Best regards!