I have written a trigger, when opportunityLineItem
is inserted the quantity gets scheduled meaning opportunityLineItemSchedule
are also gets inserted.
Now to re-enter the quantity I have cloned the edit page of opportunityLineItem
where user can re-enter the quantity and schedules can be inserted according to the changed quantity.
But error is coming like
field integrity exception: unknown (scheduling not enabled on product):