From the hotfix provided consolidation for statistical values work if there is quantity without financial value.
Solution: Fix is to consider the Quantity, if Qunatity is greater than zero In the below path
This issue is because after Consolidating Online is Clicked “OK”. New entries are created into the General Journal Account Entry table with respect to the share amount given. But as per the repro the Credit/Debit amount is zero. Then TransactionCurrencyAmount calculated is zero. And the logic to add the transaction is based on the condition whether the “generalJournalAccountEntry.TransactionCurrencyAmount != 0”
And no logic is mentioned to check the quantity due to which the issue is being caused.