Inventory Registration form - bad reference lot when using Auto create

Hi,
I have a problem with Inventory Registration form (in production). Please tell me if I’m doing something wrong.
Case:
I created tow sales orders (A1, B1) , then tow planed production orders from Master Planing, I have grouped them, then firmed with Update marking = Standart. I have got one production order with reference to each sales order lines.
So now I’m trying to register product in Update registration form (Production control/Common/Production orders/All production orders/Inventory/Update registration)
In my case I try to post each production order transaction with different Batch number.
For example: there is tow production order transaction with different reference lot
trans A, Qty = 9, reference lot = 002318 (reference to sales order A1)
trans B , Qty = 5 , reference lot = 002317 (reference to sales order B1)
when I use Auto Create on trans B, in the Register now section of the Registration form appears a record with Register now Qty = 5 (that is OK), but Reference lot = 002318 (that is from trans A). if I will register this trans, registered qty will be reserved to sales oder A1, nor for B1 as needed.
Is it a bug or am I doing something wrong?
Thanks for helping [:)]

P.S.: Tests where done on AX 2012 R3, AX 2012 R3 CU8