Reserve items in production orders


I have a problem with production orders:

When I start a production order, AX automatically reserve the products of that order, according to the values of the table ProdBOM, AX increases the field value DEDUCTED of INVENTSUM.

When we finish this order AX deduct the reserved items and create the new product.

Most of the times it works fine but sometimes AX discount the product in other locations.

In the table ProdJournalBOM and the table ProdBOM there are the same lines but in the transactions table (InventTrans) there are diferent locations.

The problem is that if we print the Picking List we get a wrong information because the correct information is in InventTrans table

Anyone know what happens?

Thank you very much!