Hi,
We recently upgraded our Production environment to version 46. After the upgrade, we started encountering errors during Sales Order confirmation.
Error message:
SalesFormLetterParmData::construct method has been incorrectly called.
Key observations:
The same codebase is deployed in both Sandbox and Production.
The issue does not occur in Sandbox or on any Dev machines.
We restored the Production database to Sandbox to reproduce the issue, but Sales Order confirmation works fine there.
In Production, the confirmation works when the D365FO session is running on AOS2, but fails when running on AOS1, AOS3, or AOS4.
I need to understand:
Why this issue is occurring only in Production and only on specific AOS instances. Also can we reapply the 46 upgrade package again to resolve this issue in production.
How we can identify which AOS server a user session is currently running on.
Whether it is possible to switch between AOS servers in Production for testing purposes.
Any guidance would be appreciated.
Thank you.