HI All,
Working in OPM Version 12.1.3
in Sales Order form have a requirement to disable book order button when the order type is sales return,
while clicking on Book Order, then it should stop, with a message and button should get disabled.
now, what is happening with me is, when i click on button book order, the order is getting booked, then the button it is getting disabled
trigger event: WHEN-NEW-RECORD-INSTANCE
trigger object: ORDER_CONTROL
:ORDER.ORDER_TYPE_ID IN (1036,1043,1028,1009,1015,1010) --these ids are for sales returns
Actions :
seq:10
Type: Property
Object Type: Item
Target Object : ORDER_CONTROL.BOOK_ORDER
Property Name: Enabled
Value : False
Please i need help
Regards