Dear Pavan,
The account for which the posting was made will be used. And the CO object will be derived for this object. Or else you will get error KI235 which would be related to the note below:
367813 KI235 for goods movements: What should be done?
Best regards,
Jason