The posting of financial dimensions in transaction documents (purchase order and sales order) has a specific mechanism that complies with financial posting. Here, at the first posting stage (product receipt/packing slip), the entries are generated from the item posting profile; in other words, from the lines. And at the second posting stage (invoice), the entries are generated from the header that reverses the first stage entry and generates the invoice entry from the header posting profile and the inventory posting profile.
Microsoft Dynamics 365 for Finance and Operations has two options of how financial dimensions are posted: the first option is source document and the second ...