Replace CreateFrom form with Info Window Process
Description
Environment
Activity
Carlos Ruiz May 9, 2023 at 2:53 PM
False alert - tested in master and release 10 and it works fine.
Carlos Ruiz May 9, 2023 at 8:10 AM
Reopening, there is no way to generate a Vendor Invoice from a Purchase Order containing just services.
Test Case:
Create a Purchase Order for BP: Patio and Product: Planting, and complete it
Create a Vendor Invoice for BP: Patio
Click the Create Lines From button
The Purchase Order doesn't appear in the list
Tested in release-9 (demo.ingeint.com) and there was still possible
Carlos Ruiz October 4, 2022 at 4:55 PM
I noticed something probably harmless but still a bit strange.
The new column LoginPrefix created with was saved with AD_InfoWindow_ID=200000 - I think that's the default AD_InfoWindow_ID in the system. Would be better that this column is saved null on new columns unless explicitly assigned by the user.
Elaine Tan September 20, 2022 at 9:34 AM
Hi ,
I’ve backported this ticket to release-9. Please review.
Thanks,
Elaine
Heng Sin Low September 13, 2022 at 11:56 AM
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)