aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/repairs.py
diff options
context:
space:
mode:
Diffstat (limited to 'gsxws/repairs.py')
-rw-r--r--gsxws/repairs.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gsxws/repairs.py b/gsxws/repairs.py
index 99c1d0b..4b752ab 100644
--- a/gsxws/repairs.py
+++ b/gsxws/repairs.py
@@ -244,6 +244,10 @@ class IndirectOnsiteRepair(Repair):
self.shippingLocation = self.shipTo
del(self._data['shipTo'])
+ if getattr(self, "poNumber"):
+ self.purchaseOrderNumber = self.poNumber
+ del(self._data['poNumber'])
+
return self._submit("repairData", "CreateIndirectOnsiteRepair",
"repairConfirmation")