1

I am trying to update Order.IsReductionOrder to true from a trigger but getting below error.

Field is not writeable: Order.IsReductionOrder

It looks like field is read only from Order documentation

enter image description here

Any workaround please

2

IsReductionOrder is writeable on create, but read-only after create. It somewhat makes sense from a business process perspective, an order either is a reduction order or it's not, it shouldn't ever start as a normal order and then become a reduction order.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.