Hey,
I’m trying to ensure the primary sales rep from the quote winds up as the first sales rep on the order header when the order is created from a quote.
The BPM I’ve added does that – it looks for the primary sales rep and does a little bubble sort to move it and the related rate and split to the top. The reordered sales rep list won’t stick after I update, but the reordered rate and split numbers do, so I know the update is running.
The BPM is running on a data directive on UD08 because of the old issue where the quote and order datasets share objects/properties. I create a UD08 record in the create order method directive and then run the update in code in the UD08 data directive, with the ignore facade flag = true.
The sales rep list is in my desired order when I update, but when I do another GetByID, the update has put them back in the original order.
Are the sales reps maybe stored/hidden away somewhere else, like they are in QSalesRP for quotes?
Thanks,
Joe