How can we despatch if error occurs site code does not match order site code?

Cause: System shows the error ‘Invalid Site Code!’ on saving despatch if Shipment site code in sale order detail does not match the despatch from site.
Remedies: Users have to change the site from the users panel menu. From the users panel user should click the change site and goto the shipped site mentioned in the Sales order and do the despatch.