Skip to content

Commit 330bb6b

Browse files
authored
test: fix failing tests (#144)
1 parent e49f95a commit 330bb6b

File tree

6 files changed

+230
-189
lines changed

6 files changed

+230
-189
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name='netsuitesdk',
8-
version='2.23.0',
8+
version='2.23.1',
99
author='Siva Narayanan',
1010
author_email='[email protected]',
1111
description='Python SDK for accessing the NetSuite SOAP webservice',
Original file line numberDiff line numberDiff line change
@@ -1,121 +1,157 @@
11
{
2-
"externalId": "1237",
3-
"tranId": "E/2023/17/02",
4-
"tranDate": "2023-01-30T17:32:28Z",
5-
"account":{
6-
"internalId": null,
2+
"nullFieldList": null,
3+
"createdDate": null,
4+
"lastModifiedDate": null,
5+
"nexus": null,
6+
"subsidiaryTaxRegNum": null,
7+
"taxRegOverride": null,
8+
"taxDetailsOverride": null,
9+
"customForm": null,
10+
"billAddressList": null,
11+
"account": {
12+
"name": null,
13+
"internalId": "25",
714
"externalId": null,
815
"type": "account"
916
},
10-
"itemList": null,
17+
"entity": {
18+
"name": null,
19+
"internalId": "3382",
20+
"externalId": null,
21+
"type": "vendor"
22+
},
23+
"subsidiary": {
24+
"name": null,
25+
"internalId": "1",
26+
"externalId": null,
27+
"type": "subsidiary"
28+
},
29+
"location": {
30+
"name": null,
31+
"internalId": null,
32+
"externalId": null,
33+
"type": "location"
34+
},
35+
"department": {
36+
"name": null,
37+
"internalId": null,
38+
"externalId": null,
39+
"type": "department"
40+
},
41+
"class": {
42+
"name": null,
43+
"internalId": null,
44+
"externalId": null,
45+
"type": "classification"
46+
},
47+
"approvalStatus": null,
48+
"nextApprover": null,
49+
"vatRegNum": null,
50+
"postingPeriod": null,
51+
"tranDate": "2024-11-08T00:00:00",
52+
"currencyName": null,
53+
"billingAddress": null,
54+
"exchangeRate": null,
55+
"entityTaxRegNum": null,
56+
"taxPointDate": null,
57+
"terms": null,
58+
"dueDate": null,
59+
"discountDate": null,
60+
"tranId": "E/2024/11/T/34447",
61+
"userTotal": null,
62+
"discountAmount": null,
63+
"taxTotal": null,
64+
"paymentHold": null,
65+
"memo": "Reimbursable expenses by [email protected]",
66+
"tax2Total": null,
67+
"creditLimit": null,
68+
"availableVendorCredit": null,
1169
"currency": {
1270
"name": null,
1371
"internalId": "1",
1472
"externalId": null,
1573
"type": "currency"
1674
},
75+
"status": null,
76+
"landedCostMethod": null,
77+
"landedCostPerLine": null,
78+
"transactionNumber": null,
1779
"expenseList": [
1880
{
19-
"account": {
20-
"name": null,
21-
"internalId": 16,
22-
"externalId": null,
23-
"type": "account"
24-
},
25-
"amount": 10.0,
26-
"customFieldList": [
27-
{
28-
"type": "String",
29-
"value": "NetsuiteSDK test field1"
30-
},
31-
{
32-
"type": "Select",
33-
"value": "45"
34-
}
35-
],
81+
"orderDoc": null,
82+
"orderLine": null,
83+
"line": null,
84+
"amount": 30.0,
85+
"grossAmt": 30.0,
86+
"taxDetailsReference": null,
3687
"department": {
3788
"name": null,
38-
"internalId": "1",
89+
"internalId": null,
3990
"externalId": null,
4091
"type": "department"
4192
},
4293
"class": {
4394
"name": null,
44-
"internalId": "1",
95+
"internalId": null,
4596
"externalId": null,
4697
"type": "classification"
4798
},
4899
"location": {
49100
"name": null,
50-
"internalId": "1",
101+
"internalId": null,
51102
"externalId": null,
52103
"type": "location"
53104
},
54-
"memo": "Kuch lete kyun nahin"
55-
},
56-
{
57-
"account": {
105+
"customer": {
58106
"name": null,
59-
"internalId": 15,
107+
"internalId": null,
60108
"externalId": null,
61-
"type": "account"
109+
"type": "customer"
62110
},
63-
"amount": 20.0,
64111
"customFieldList": [
65112
{
113+
"scriptId": "custcolfyle_expense_url",
66114
"type": "String",
67-
"value": "NetsuiteSDK test field1"
115+
"value": "https://staging1.fyle.tech/app/admin/#/enterprise/view_expense/txBFlLMIQNJt?org_id=orT192eaSf2q"
68116
},
69117
{
70-
"type": "Select",
71-
"value": "45"
118+
"scriptId": "custcolfyle_expense_url_2",
119+
"type": "String",
120+
"value": "https://staging1.fyle.tech/app/admin/#/enterprise/view_expense/txBFlLMIQNJt?org_id=orT192eaSf2q"
72121
}
73122
],
74-
"department": {
75-
"name": null,
76-
"internalId": "1",
77-
"externalId": null,
78-
"type": "department"
79-
},
80-
"class": {
123+
"isBillable": null,
124+
"tax1Amt": null,
125+
"taxAmount": null,
126+
"taxCode": {
81127
"name": null,
82-
"internalId": "1",
128+
"internalId": null,
83129
"externalId": null,
84-
"type": "classification"
130+
"type": "taxGroup"
85131
},
86-
"location": {
132+
"taxRate1": null,
133+
"taxRate2": null,
134+
"amortizationSched": null,
135+
"amortizStartDate": null,
136+
"amortizationEndDate": null,
137+
"amortizationResidual": null,
138+
"account": {
87139
"name": null,
88-
"internalId": "1",
140+
"internalId": "224",
89141
"externalId": null,
90-
"type": "location"
142+
"type": "account"
91143
},
92-
"memo": "Humdard ka tonic"
93-
144+
"category": null,
145+
"memo": "[email protected] - Fedex - Professional Services - 2024-11-08 - C/2024/11/R/2",
146+
"projectTask": null
94147
}
95148
],
96-
"memo": "Fyle ka Bill",
97-
"class": {
98-
"name": null,
99-
"internalId": "1",
100-
"externalId": null,
101-
"type": "classification"
102-
},
103-
"location": {
104-
"name": null,
105-
"internalId": "1",
106-
"externalId": null,
107-
"type": "location"
108-
},
109-
"entity": {
110-
"name": null,
111-
"internalId": "-100",
112-
"externalId": null,
113-
"type": "vendor"
114-
},
115-
"department": {
116-
"name": null,
117-
"internalId": "1",
118-
"externalId": null,
119-
"type": "department"
120-
}
149+
"itemList": null,
150+
"accountingBookDetailList": null,
151+
"landedCostsList": null,
152+
"purchaseOrderList": null,
153+
"taxDetailsList": null,
154+
"customFieldList": null,
155+
"internalId": null,
156+
"externalId": "12345"
121157
}

0 commit comments

Comments
 (0)