RE: Intercompany revenue and COGs posting discrepancy
Hi André, apologies let me elaborate on the scenario. (For record I have also replicated this scenario in D365 10.0.32 so it is still part of the standard design. It just seems like poor behaviour in my opinion and I'm surprised to not find more questions related to it online).
We have goods with a weighted average date cost price in EUR that we sell intercompany and do not want to make profit from. Therefore the "Unit price equal to cost price" parameter is set to true in the intercompany relationship setup. When raising the sales line the unit price remains blank (as expected from standard behaviour) until the goods are dispatched/invoiced, at which point it appears that D365/AX is taking the current unit cost, rounding it to 2 decimal places and adding to the sales line as the unit price. This is then multiplied by the quantity to get the total line amount.

When looking at the invoice voucher for this line, the postings for posting types "Customer Balance" and "Sales order revenue" match the line amount on the sales order line (as expected), but there are differences between these postings and the postings for posting types "Sales order consumption" and "Sales order issue".

It appears that the amounts for the COGs postings are calculated with the unit cost at the fully number of decimal places multiplied by the line quantity, and then only rounded to 2 decimal places at the end. For orders with large line quantities this can cause significant differences between the revenue and COGs postings so that profit is being recognised on the intercompany transaction.
Does this make it clearer? Thanks in advance