Am getting unexpected error on the user event script, when setting the orderstatus field to pending approval, in context of webstore. Any idea why orderstatus field setvalue will fail in context of webstore create order.
currentRecord.setValue('orderstatus', 'A');