aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgsxws.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gsxws.py b/gsxws.py
index 772452c..a2b85d5 100755
--- a/gsxws.py
+++ b/gsxws.py
@@ -490,8 +490,8 @@ class Returns(GsxObject):
dt = CLIENT.factory.create('ns1:partsPendingReturnRequestType')
dt.repairData = self.data
dt.userSession = SESSION
- result = CLIENT.service.PartsPendingReturn(dt)
- return result.partsPendingResponse
+
+ return self.submit('PartsPendingReturn', dt, 'partsPendingResponse')
class Part(GsxObject):
def lookup(self):