Requirement is to make the PROMISED DATE field as same as that of NEED BY DATE field through Forms
Steps:
1) Create and Approve the Purchase order.
2) Go to Tools and select acceptence form and enable the checkbox for the Accepted field and click on OK Button.
When Acceptance check box is enabled then,
The PROMISED value of the po line would automatically should get populated same as that of NEED-By Date Field value if it is NOT NULL and this needs to be done for all lines in PO
Here what is done so far:
CONDITION: Trigger Event: WHEN-VALIDATE-RECORD
Trigger Object: PO_LINES
CONDITION: :PO_LINES.po_header_id in