If I save the order in the M/R without the promo, ...
# suitescript
m
If I save the order in the M/R without the promo, it saves fine. So that discount is breaking a M/R save but not a manual one. The M/R save code looks like this:
salesOrder.save({
enableSourcing: true,
ignoreMandatoryFields: true
});
and the M/R code does not remove, add, or anything to the promo sublist. Thank you!!!
Also, the it works fine for other promos we've tested. Can the type of promo cause this? Most (all?) testing was on item line discounts whereas this promo is a flat discount