Form personalization through validate the duplicate Customer PO number in Sales Order Form.
Open the oracle personalization form:Trigger Event: WHEN-VALIDATE-RECORD
(SELECT COUNT(*) FROM oe_order_headers_all ooh
WHERE ooh.cust_po_number = ${item.order.cust_po_number.value})>1
Action Tab:
Message Type: Error
Message Text: Custom message