Replace Create From form with Info Window + Process.
Scope:
Material Receipt Create Lines From
Invoice (Vendor) Create Lines From
Vendor RMA Create Lines From
Customer RMA Create Lines From
Invoice (Customer) Create Lines From
Customer Return Create Lines From
Add Create Lines From feature to Return to Vendor
Add Create Lines From feature to Shipment (Customer)
Changes:
Windows:
Material Receipt - Table: M_InOut
Shipment (Customer) - Table: M_InOut
Return to Vendor - Table: M_InOut
Customer Return - Table: M_InOut
Invoice (Vendor) - Table: C_Invoice
Invoice (Customer) - Table: C_Invoice
Vendor RMA - Table: M_RMA
Customer RMA - Table: M_RMA
Hide the current CreateFrom button
Add ‘Info Window’ field to AD_Column. For Button reference type, user will select either Process or Info Window (not both).
AD_Window: for button field with AD_InfoWindow_ID > 0, open info window.
Popup info window from button: Info Window should auto close after user has run the “Create Lines From” process. Parent AD_Window should auto refresh after the closure of the Info Window popup dialog. Parent AD_Window shouldn’t auto refresh if user just cancel/close the info window dialog without running anything.
Add “Query After Change” flag to Info Column.
The flag is visible and active for “Query Criteria” info column
After user has made changes to an info column with “Query After Change”=Yes, info window will execute query if all visible “Query Criteria” info column with “Query After Change”=Yes have been filled with value. If one of the “Query After Change” info column is empty, existing query result (if any) will be cleared.
Create a new 'Create lines from' process
Processes:
Create lines from (M_InOut)
Create lines from (C_Invoice)
Create lines from (M_RMA)
Add the post-process code to create the lines
Configure new ‘Info Window' records. Add 'Create Lines From’ process to info window.
Replace Create From form with Info Window + Process.
Scope:
Material Receipt Create Lines From
Invoice (Vendor) Create Lines From
Vendor RMA Create Lines From
Customer RMA Create Lines From
Invoice (Customer) Create Lines From
Customer Return Create Lines From
Add Create Lines From feature to Return to Vendor
Add Create Lines From feature to Shipment (Customer)
Changes:
Windows:
Material Receipt - Table: M_InOut
Shipment (Customer) - Table: M_InOut
Return to Vendor - Table: M_InOut
Customer Return - Table: M_InOut
Invoice (Vendor) - Table: C_Invoice
Invoice (Customer) - Table: C_Invoice
Vendor RMA - Table: M_RMA
Customer RMA - Table: M_RMA
Hide the current CreateFrom button
Add ‘Info Window’ field to AD_Column. For Button reference type, user will select either Process or Info Window (not both).
AD_Window: for button field with AD_InfoWindow_ID > 0, open info window.
Popup info window from button: Info Window should auto close after user has run the “Create Lines From” process. Parent AD_Window should auto refresh after the closure of the Info Window popup dialog. Parent AD_Window shouldn’t auto refresh if user just cancel/close the info window dialog without running anything.
Add “Query After Change” flag to Info Column.
The flag is visible and active for “Query Criteria” info column
After user has made changes to an info column with “Query After Change”=Yes, info window will execute query if all visible “Query Criteria” info column with “Query After Change”=Yes have been filled with value. If one of the “Query After Change” info column is empty, existing query result (if any) will be cleared.
Create a new 'Create lines from' process
Processes:
Create lines from (M_InOut)
Create lines from (C_Invoice)
Create lines from (M_RMA)
Add the post-process code to create the lines
Configure new ‘Info Window' records. Add 'Create Lines From’ process to info window.
Info Windows:
Create lines from (M_InOut)
Create lines from (C_Invoice)
Create lines from (M_RMA)