Oh well. I misunderstood. Sorry for that.
But if you are creating a PO from SO, then the 'createdfrom' field (standard UI name I think is REF for the field) should have the SO, which in turn will have your Customer. I think you should be able to sort it out this way.