aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gsxws/repairs.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gsxws/repairs.py b/gsxws/repairs.py
index 4b752ab..878d4ab 100644
--- a/gsxws/repairs.py
+++ b/gsxws/repairs.py
@@ -248,6 +248,10 @@ class IndirectOnsiteRepair(Repair):
self.purchaseOrderNumber = self.poNumber
del(self._data['poNumber'])
+ if getattr(self, "diagnosedByTechId"):
+ self.technicianName = self.diagnosedByTechId
+ del(self._data['diagnosedByTechId'])
+
return self._submit("repairData", "CreateIndirectOnsiteRepair",
"repairConfirmation")