CODEUNIT.RUN #3

All good things come in threes, as they say. So here is 3. Codeunit 50000:OnRun()ShipMethod.INIT;ShipMethod.INSERT;ShipMethod.INSERT; // This duplicate statement has been put here intentionally Codeunit 50001:OnRun()IF CODEUNIT.RUN(50000) THEN  MESSAGE(‘OK’)ELSE  MESSAGE(‘LASTERRORTEXT: %1’, GETLASTERRORTEXT); First “from the bare head”, but test it in NAV! Both in classic and RTC. For the latter: easiest:…

Continue reading