Calling Custom Form from Quick Sales Order via Form Personalization and pass Parameter
Hi,
I am trying to call a Custom Form from Quick Sales Order via Form Personalization and pass Order Header ID parameter. Then what I expect is that my Custom Form opens with Order Number (based on the Order Header ID) already populated and show some details of the Order.
Details of how I have implemented this:
1. Added a Parameter in my Custom Form called HEADER_ID (using Parameters area of the Form Builder)
2. Custom Form has a Block called XXEC_ORDER_HDR with an Item HEADER_ID
3. Have this code in WHEN-NEW-FORM-INSTANCE trigger:
set_item_property('XXEC_ORDER_HDR.HEADER_ID', INITIAL_VALUE, 'PARAMETER.HEADER_ID');
Tagged:
0