Previously, the Sales profitability analysis window (AR409000) was showing wrong calculation on the Cost and Margin columns for order types which had document type credit note. This has now been fixed for new and existing companies that didn’t have any manual customization on this generic inquiry.
For existing companies that had customization changes on this generic inquiry, you need to edit the generic inquiry and update the formula in the Results Grid tab for the field ARTran.TranCost with the following query: =IIf([ARTran.SOOrderType]=‘CR’ OR [ARTran.SOOrderType]=‘RC’, -1, IIf([ARTran.DrCr]=‘D’, -1, 1))*[ARTran.TranCost]