Hello Tanto Widjaya,
The behavior that you see is what I would expect AX to do.
Please see the following site and note from MS:
4. How does the system handle purchase price variance where there are other misc. charges included in the receipt cost. Ex:Product Supplier charges 20.00 / unit Misc charge for trucking is 2.50 /unit
If the Misc. charges are posted as part of the invoice these will be seen as Material cost and proportional distributed like the value between Product receipt price and Invoice price.
In case the Misc. charge is posted after the Invoice it will be expensed to the price difference account
Best regards,
Ludwig