The
changes in the hotfix disable the GeneralJournalAccountEntry table ColumnStoreIdx
index during the upgrade of the table to reduce the cost of updating the index
during the update statement (the index is introduced in AX7, so the script will
no-op with #2 check if it already exists).
The
hotfix adds a check for MainAccount=0 to no-op enviornments where this field
has already been upgraded, which will be most cases, as the field is introduced
in Microsoft Dynamics AX 2012 as a performance hotfix.
The hotfix also reduces the
transaction scope by batching the updates by ledger.