i am cancelling the salesorder status changes to "...
# suitescript
d
i am cancelling the salesorder status changes to "Cancelled" i would like to update few checbox in salesorder when its close, i am not getting the context type
b
are you talking about cancel or close
both different things
d
@battk Cancel Order, Sales Order is in view Mode "Cancel Order" button
b
context.type should match the CANCEL key from context.UserEventType
the user event should support both beforesubmit and afterSubmit
d
@battk yup it works thanks battk, i have selected some wrong values incontext filtering