Making orders and stock shifting

Hi all
I have two store one is the main the other one is kitchen .I need to send an order to main store in order to be given the required items. when my shift ends need to return the remainder item to the main store .When another shift comes need to send order to kitchen to be given the days items.But at this time you are given the items returned first.now
How do i capture this in the system?
1.sending order to main store
2.stock shifting in the two stores
Thanks
Kind Regards
Dennis

I deleted your duplicated post. Do not make multiple same posts.