aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws
diff options
context:
space:
mode:
Diffstat (limited to 'gsxws')
-rw-r--r--gsxws/repairs.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/gsxws/repairs.py b/gsxws/repairs.py
index 9f6c1ec..b22676c 100644
--- a/gsxws/repairs.py
+++ b/gsxws/repairs.py
@@ -223,6 +223,11 @@ class CarryInRepair(Repair):
RFPU Ready for Pickup
"""
self._namespace = "asp:"
+
+ if not getattr(self, "repairConfirmationNumber"):
+ self.repairConfirmationNumber = self.dispatchId
+ del(self.dispatchId)
+
# Merge old and new data (old data should have Dispatch ID)
self._data.update(newdata)
return self._submit("repairData", "UpdateCarryIn", "repairConfirmation")