The definition of ‘correct’ can vary greatly in this situation, so instead of answering the question directly, I will list out a few potential reasons why this may happen.
In Microsoft Dynamics AX 2009, there was an option found on the Summary update tab under Accounts Payable | Setup | Parameters for Split based on delivery information on purchase order documents.
Get started with Dynamics 365
Drive more efficiency, reduce costs, and create a hyperconnected business that links people, data, and processes across your organization—enabling every team to quickly adapt and innovate.