To help you assign the cost correctly press Item charge and then Suggest Item Charge assignment. In the message box that appears you will need to choose how the cost will be distributed to the receipt lines. Equally will just divide the amount equally per line while the other three options will assign the amount based on the amount, the weight or the volume of each line. Press OK.
You will notice that the Qty. To Assign field for each line is populated, press close and proceed with the posting of the Purchase Invoice.
The posting will create additional value entries for each item ledger entry of the items’ receipts, increasing the cost of each item by the amount assigned.