From c80c1cb470b9b9a984ff52622f1ed4794a7908df Mon Sep 17 00:00:00 2001 From: Sravan Kumar <30795376+Sravanksk@users.noreply.github.com> Date: Mon, 4 Oct 2021 14:50:18 +0530 Subject: [PATCH] adding acctCorpCardExp key to expense report payload (#68) adding acctCorpCardExp key to expense report payload --- netsuitesdk/api/expense_reports.py | 3 +++ setup.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/netsuitesdk/api/expense_reports.py b/netsuitesdk/api/expense_reports.py index fd4358d..af2042f 100644 --- a/netsuitesdk/api/expense_reports.py +++ b/netsuitesdk/api/expense_reports.py @@ -85,6 +85,9 @@ def post(self, data) -> OrderedDict: if 'supervisorApproval' in data: er['supervisorApproval'] = data['supervisorApproval'] + if 'acctCorpCardExp' in data: + er['acctCorpCardExp'] = data['acctCorpCardExp'] + if 'externalId' in data: er['externalId'] = data['externalId'] diff --git a/setup.py b/setup.py index 49265b2..36047e5 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name='netsuitesdk', - version='2.6.0', + version='2.6.1', author='Siva Narayanan', author_email='siva@fyle.in', description='Python SDK for accessing the NetSuite SOAP webservice',