The thing that jumps to my mind - is did you check the warehouse to make sure it is setup correctly and for that company? In 4c4 there is a finance company setup for the warehouse - wondering if that might be wrong.
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.
systems provided free by Baan Board
Play the Google game and help Baanboard get better rankings. Do your part. Click here
to find how.