erictgrubaugh
09/23/2023, 3:53 PMbeforeSubmit
User Event on the Cash Sale, I am swapping one Item in the items
sublist for another (specifically changing a Service Item to an Item Group). The swap works just fine, but when I do that, it breaks the createdfrom
link on the Cash Sale back to the Sales Order. Even setting createdfrom
manually does not work.
Why does the createdfrom
link break when I change an Item line? How can I maintain it?battk
09/23/2023, 4:31 PMerictgrubaugh
09/23/2023, 5:03 PMcontext.newRecord.setSublistValue({
sublistId: 'item',
fieldId: 'item',
line: 0,
value: 123 // Item Group internal ID
});
battk
09/23/2023, 5:04 PMerictgrubaugh
09/23/2023, 5:04 PMbattk
09/23/2023, 5:05 PMerictgrubaugh
09/23/2023, 5:05 PMbattk
09/23/2023, 5:05 PMerictgrubaugh
09/23/2023, 5:06 PMerictgrubaugh
09/23/2023, 5:06 PMcreatedfrom
link absolutely gets brokenbattk
09/23/2023, 5:06 PMbattk
09/23/2023, 5:06 PMerictgrubaugh
09/23/2023, 5:15 PMFred Pope
09/25/2023, 2:45 AMerictgrubaugh
09/25/2023, 2:55 PM