Personnalization in Purchase order screen.
I have a business requirements, i done below personalization on purchase order entry screen but it is working only when i go to shipment screen, but it should not allow me to save corresponding line item if the condition raises, please advice.
Form Personalizations:-
Seq --> 50
Description --> RSPG Will Be Purchased At Showroom Or RSPG Bulk Locations Line Level
Condition:-
Trigger Event --> WHEN-VALIDATE-RECORD
Trigger Object --> PO_LINES
Condition --> :PO_LINES.ITEM_CATEGORY LIKE '%RSPG%' AND :PO_SHIPMENTS.SHIP_TO_ORGANIZATION_CODE IN ('MWH','AWH')
Action:-
Seq --> 10
Type --> Message
Message Type --> Error