Edgar Valdes
05/28/2024, 4:25 PMafterSubmit
... How does the field status
works regarding oldRecord
/ newRecord
when closing a sales order?
A field like memo
comes as expected: previous value, new value. But after closing a sales order (using the close button or manually closing the lines then saving) returns de exact same value for oldRecord
/ newRecord
Clay Roper
05/28/2024, 4:28 PMload/getValue
or search.lookupFields
in the afterSubmit
entry point. Maybe someone with more knowledge can speak to the exact reasons, but it appears to me that there may be a background process required to calculate and save those field values that hasn't finished by the time context.newRecord
is defined.Edgar Valdes
05/28/2024, 4:33 PMbattk
05/28/2024, 4:41 PM