I changed the security on the Alternate Forms and Reports to use the GP Windows, nothing modified and removed the Reports.DIC and Forms.dic from their terminal server and their SQL Server (no workstations have GP installed, all terminal server environment). Issue persists.
Non-logical reasoning tells me it is something related to their environment. They have 6 GP companies, and I confirmed at least one other company has the same failure. I had turned on the DEXSQL trace, and the table and stored procedure that fails are below.
PM10300
pmPopulateEditCheckBatchVendorTemp
I assume if I created / edited the payment batch by selecting instead of going straight to the Edit Payment Batch window, it would be a different stored procedure.
I took another customer that is on 18.3 and grabbed the SQL Script for the single stored procedure above and put it into my failed environment. Fantastic -- it works!
This particular stored procedure is bad pmPopulateEditCheckBatchVendorTemp
But how? I upgraded from and to below, nothing in between
Previous GP version 16.00.0864 (R2)
Upgrade to 18.4.1361 (2021)
The upgrade ran without warning or error.
I don't know how to get the tables and stored procedures back in alignment? I don't know how to convince myself there is not something else that could be wrong.
I can manually get the stored procedures from a working environment and update the "bad ones" but this does not seem safe. I see at least 6 stored procedures that are suspect, I am convinced there are others?
I thought using the SQL maintenance to drop and recreate the table and stored procedures above would be the way to go. The maintenance does drop and create the table if I choose the PM Payment Work, but not the stored procedures.
The dates on the stored procedures are 12/20/2020 in the failed environment, the working environment the same stored procedure dates are July 2021
I am thinking of starting the upgrade over, upgrading to 18.3 first them 18.4? This is fine for us, but not good for the GP population as a whole... If I have time to do this I will report back.