I tried this in the test environment. Can I do this in production? It allows both way changing of the sales order lines. static void Job3(Args _args) { SalesTable salestable; ; select forUpdate firstonly salestable where salestable.SalesId == 'x'; info(strFmt("%1 %2", salestable.SalesId, salestable.InterCompanyAllowIndirectCreation)); ttsBegin; salestable.InterCompanyAllowIndirectCreation = true; salestable.update(); ttsCommit; select forUpdate firstonly salestable where salestable.SalesId == 'x'; info(strFmt("%1 %2", salestable.SalesId, salestable.InterCompanyAllowIndirectCreation)); }
↧