ShipHead.UpdateMaster fails - ...ShipHead has more than 1 record

You could shove it into a json and write that. There seems to be some quirks to add shipdtl lines.