MrTechie commited on
Commit
4fc8c2f
·
1 Parent(s): d448413

Update template.json and mapper models based on ERP-CDF-Mapping.md

Browse files

- Expanded template.json from 1 to 11 ERP systems
- Added comprehensive field mappings for all entity types
- Updated CustomerCDF model with additional address fields
- Supports Oracle Fusion, Infor M3/LN, Epicor, Workday, QAD, NetSuite, Dynamics, SAP, IFS, Sage Intacct

Files changed (2) hide show
  1. mapper/models.py +6 -0
  2. template.json +827 -32
mapper/models.py CHANGED
@@ -68,6 +68,12 @@ class CustomerCDF(BaseModel):
68
  currency: Optional[str] = Field(None, max_length=8)
69
  created_date: Optional[datetime] = None
70
  last_modified: Optional[datetime] = None
 
 
 
 
 
 
71
 
72
 
73
  class InvoiceCDF(BaseModel):
 
68
  currency: Optional[str] = Field(None, max_length=8)
69
  created_date: Optional[datetime] = None
70
  last_modified: Optional[datetime] = None
71
+ address_type: Optional[str] = Field(None, max_length=32)
72
+ address_line1: Optional[str] = Field(None, max_length=255)
73
+ city: Optional[str] = Field(None, max_length=128)
74
+ state: Optional[str] = Field(None, max_length=64)
75
+ postal_code: Optional[str] = Field(None, max_length=20)
76
+ country: Optional[str] = Field(None, max_length=64)
77
 
78
 
79
  class InvoiceCDF(BaseModel):
template.json CHANGED
@@ -1,4 +1,423 @@
1
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  "NetSuite": {
3
  "sales_orders": {
4
  "tranId": "order_id",
@@ -24,8 +443,360 @@
24
  "isPerson": "is_company",
25
  "status": "status",
26
  "currency": "currency",
27
- "dateCreated": "creasdfasdfated_date",
28
- "lastModifiedDate": "last_modified"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  }
30
  },
31
  "CDF_META": {
@@ -54,35 +825,59 @@
54
  "status",
55
  "currency",
56
  "created_date",
57
- "last_modified"
58
- " ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  }
60
- }
61
-
62
- two cases for the transformation logic
63
-
64
- CASE ERP and ENTITY type is known
65
-
66
- "auto-select-erp":false
67
- "auto-select-entity":false
68
-
69
- Directly go and serach and map for template.json
70
-
71
- CASE ERP OR ENTITY type or Both are UNKNOWN
72
- "auto-select-unknown-name":false
73
- First check template if matches use it to transform
74
- Else use AI to transform
75
-
76
- API Schema
77
-
78
- {
79
- "auto-select-erp" bool:
80
- "auto-select-enitity" bool:
81
- "enity" str:
82
- "erp" str:
83
- "file" file: csv, excel, json, sql
84
  }
85
-
86
- Use Pandas and DuckDB to generate input_dataframe from the file
87
-
88
- output_dataframe = ai_transformation_function(other params from the json api as it is..., instead of file use input_dataframe, file_format):
 
1
  {
2
+ "Oracle Fusion": {
3
+ "sales_orders": {
4
+ "OrderKey": "order_id",
5
+ "CreationDate": "order_date",
6
+ "BuyingPartyId": "customer_id",
7
+ "StatusCode": "status",
8
+ "TransactionCurrencyCode": "currency",
9
+ "TransactionAmount": "total_amount",
10
+ "memo": "notes",
11
+ "item_id": "item_id",
12
+ "description": "description",
13
+ "quantity": "quantity",
14
+ "unit_price": "unit_price",
15
+ "line_total": "line_total",
16
+ "tax_code": "tax_code"
17
+ },
18
+ "customers": {
19
+ "HZ_CUST_ACCOUNTS.ACCOUNT_NUMBER": "customer_id",
20
+ "HZ_PARTIES.PARTY_NAME": "customer_name",
21
+ "HZ_PARTIES.EMAIL_ADDRESS": "contact_email",
22
+ "HZ_PARTIES.PRIMARY_PHONE_NUMBER": "phone_number",
23
+ "HZ_PARTIES.PARTY_TYPE": "is_company",
24
+ "HZ_CUST_ACCOUNTS.STATUS": "status",
25
+ "HZ_CUST_ACCOUNTS.PREFERRED_CURRENCY": "currency",
26
+ "HZ_CUST_ACCOUNTS.ACCOUNT_ESTABLISHED_DATE": "created_date",
27
+ "HZ_PARTIES.LAST_UPDATE_DATE": "last_modified",
28
+ "HZ_CUST_ACCT_SITES_ALL.SITE_USE_CODE": "address_type",
29
+ "HZ_LOCATIONS.ADDRESS1": "address_line1",
30
+ "HZ_LOCATIONS.CITY": "city",
31
+ "HZ_LOCATIONS.STATE": "state",
32
+ "HZ_LOCATIONS.POSTAL_CODE": "postal_code",
33
+ "HZ_LOCATIONS.COUNTRY": "country"
34
+ },
35
+ "invoices": {
36
+ "TransactionNumber": "invoice_id",
37
+ "TransactionDate": "invoice_date",
38
+ "BillToCustomerNumber": "customer_id",
39
+ "InvoiceStatus": "status",
40
+ "InvoiceCurrencyCode": "currency",
41
+ "InvoiceBalanceAmount": "total_amount",
42
+ "DueDate": "due_date",
43
+ "Comments": "notes",
44
+ "item_id": "item_id",
45
+ "description": "description",
46
+ "quantity": "quantity",
47
+ "unit_price": "unit_price",
48
+ "line_total": "line_total",
49
+ "tax_code": "tax_code"
50
+ },
51
+ "purchase_orders": {
52
+ "SEGMENT1": "po_id",
53
+ "CREATION_DATE": "po_date",
54
+ "VENDOR_ID": "vendor_id",
55
+ "DOCUMENT_STATUS": "status",
56
+ "CURRENCY_CODE": "currency",
57
+ "total_amount": "total_amount",
58
+ "NEED_BY_DATE": "expected_receipt_date",
59
+ "COMMENTS": "notes",
60
+ "item_id": "item_id",
61
+ "description": "description",
62
+ "quantity": "quantity",
63
+ "unit_price": "unit_price",
64
+ "line_total": "line_total",
65
+ "tax_code": "tax_code"
66
+ },
67
+ "inventory_items": {
68
+ "ITEM_NUMBER": "item_id",
69
+ "DESCRIPTION": "item_name",
70
+ "LONG_DESCRIPTION": "description",
71
+ "PURCHASING_ITEM_FLAG": "purchase_description",
72
+ "CUSTOMER_ORDER_FLAG": "sales_description",
73
+ "LIST_PRICE": "base_price",
74
+ "UNIT_COST": "cost_price",
75
+ "PRIMARY_UOM_CODE": "unit_type",
76
+ "ITEM_STATUS_CODE": "is_active",
77
+ "MIN_MINMAX_QUANTITY": "reorder_point",
78
+ "DEFAULT_BUYER_ID": "preferred_vendor_id"
79
+ }
80
+ },
81
+ "Infor M3": {
82
+ "sales_orders": {
83
+ "ORNO": "order_id",
84
+ "ORDT": "order_date",
85
+ "CUNO": "customer_id",
86
+ "CUCD": "currency",
87
+ "WHLO": "notes",
88
+ "ITNO": "item_id",
89
+ "ITDS": "description",
90
+ "ORQA": "quantity",
91
+ "SAPR": "unit_price",
92
+ "LNAM": "line_total",
93
+ "VTCD": "tax_code"
94
+ },
95
+ "customers": {
96
+ "CUNO": "customer_id",
97
+ "CUNM": "customer_name",
98
+ "EMAL": "contact_email",
99
+ "PHNO": "phone_number",
100
+ "YREF": "alt_phone",
101
+ "STAT": "status",
102
+ "CUCD": "currency",
103
+ "RGDT": "created_date",
104
+ "LMDT": "last_modified",
105
+ "CUA1": "address_line1"
106
+ },
107
+ "invoices": {
108
+ "IVNO": "invoice_id",
109
+ "IVDT": "invoice_date",
110
+ "CUNO": "customer_id",
111
+ "CUCD": "currency",
112
+ "IVAM": "total_amount",
113
+ "DUDT": "due_date",
114
+ "ITNO": "item_id",
115
+ "ITDS": "description"
116
+ },
117
+ "purchase_orders": {
118
+ "PUNO": "po_id",
119
+ "PUDT": "po_date",
120
+ "SUNO": "vendor_id",
121
+ "CUCD": "currency",
122
+ "RELD": "expected_receipt_date",
123
+ "WHLO": "notes",
124
+ "ITEM_ID": "item_id",
125
+ "ITEM_DESCRIPTION": "description",
126
+ "QUANTITY": "quantity",
127
+ "UNIT_PRICE": "unit_price",
128
+ "AMOUNT": "line_total"
129
+ },
130
+ "inventory_items": {
131
+ "ITNO": "item_id",
132
+ "ITDS": "item_name",
133
+ "FUDS": "description",
134
+ "SAPR": "base_price",
135
+ "PUPR": "cost_price",
136
+ "UNMS": "unit_type",
137
+ "STAT": "is_active",
138
+ "REOP": "reorder_point",
139
+ "SUNO": "preferred_vendor_id"
140
+ }
141
+ },
142
+ "Infor LN": {
143
+ "sales_orders": {
144
+ "tdsls400.orno": "order_id",
145
+ "tdsls400.odat": "order_date",
146
+ "tdsls400.otbp": "customer_id",
147
+ "tdsls400.stat": "status",
148
+ "tdsls400.curr": "currency",
149
+ "tdsls400.oamt": "total_amount",
150
+ "tdsls401.item": "item_id",
151
+ "tdsls401.dsca": "description",
152
+ "tdsls401.qoor": "quantity",
153
+ "tdsls401.pric": "unit_price",
154
+ "tdsls401.oamt": "line_total"
155
+ },
156
+ "customers": {
157
+ "tccom100.bpid": "customer_id",
158
+ "tccom100.nama": "customer_name",
159
+ "tccom100.emal": "contact_email",
160
+ "tccom100.tele": "phone_number",
161
+ "tccom100.stat": "status",
162
+ "tccom100.crdt": "created_date",
163
+ "tccom100.aedt": "last_modified",
164
+ "tccom131.namc": "city"
165
+ },
166
+ "invoices": {
167
+ "tfacp100.invn": "invoice_id",
168
+ "tfacp100.indt": "invoice_date",
169
+ "tfacp100.ibp": "customer_id",
170
+ "tfacp100.stat": "status",
171
+ "tfacp100.cucd": "currency",
172
+ "tfacp100.amti": "total_amount",
173
+ "tfacp100.dudt": "due_date"
174
+ },
175
+ "purchase_orders": {
176
+ "tdpur400.orno": "po_id",
177
+ "tdpur400.odat": "po_date",
178
+ "tdpur400.suno": "vendor_id",
179
+ "tdpur400.stat": "status",
180
+ "tdpur400.cucd": "currency",
181
+ "tdpur401.ddte": "expected_receipt_date",
182
+ "tdipu001.item": "item_id",
183
+ "tdipu001.dsca": "description",
184
+ "tdipu001.qoor": "quantity",
185
+ "tdipu001.pric": "unit_price",
186
+ "tdipu001.amt": "line_total"
187
+ },
188
+ "inventory_items": {
189
+ "tcibd001.item": "item_id",
190
+ "tcibd001.dsca": "item_name",
191
+ "tcibd001.sapr": "base_price",
192
+ "tcibd001.copr": "cost_price",
193
+ "tcibd001.cuni": "unit_type",
194
+ "tcibd001.itst": "is_active",
195
+ "tcibd001.safa": "reorder_point",
196
+ "tdipu001.suno": "preferred_vendor_id"
197
+ }
198
+ },
199
+ "Epicor Kinetic": {
200
+ "sales_orders": {
201
+ "OrderNum": "order_id",
202
+ "OrderDate": "order_date",
203
+ "CustNum": "customer_id",
204
+ "OrderHeld": "status",
205
+ "CurrencyCode": "currency",
206
+ "OrderAmt": "total_amount",
207
+ "RequestDate": "notes",
208
+ "PartNum": "item_id",
209
+ "LineDesc": "description",
210
+ "OrderQty": "quantity",
211
+ "UnitPrice": "unit_price",
212
+ "DocExtPrice": "line_total",
213
+ "TaxCatID": "tax_code"
214
+ },
215
+ "customers": {
216
+ "CustID": "customer_id",
217
+ "Name": "customer_name",
218
+ "EmailAddress": "contact_email",
219
+ "PhoneNum": "phone_number",
220
+ "FaxNum": "alt_phone",
221
+ "CustomerType": "is_company",
222
+ "CreditHold": "status",
223
+ "CurrencyCode": "currency",
224
+ "EstDate": "created_date",
225
+ "SysRevID": "last_modified"
226
+ },
227
+ "invoices": {
228
+ "InvoiceNum": "invoice_id",
229
+ "InvoiceDate": "invoice_date",
230
+ "CustNum": "customer_id",
231
+ "OpenInvoice": "status",
232
+ "CurrencyCode": "currency",
233
+ "InvoiceAmt": "total_amount",
234
+ "DueDate": "due_date",
235
+ "InvoiceComment": "notes",
236
+ "PartNum": "item_id",
237
+ "Description": "description",
238
+ "SellingShipQty": "quantity",
239
+ "UnitPrice": "unit_price",
240
+ "ExtPrice": "line_total",
241
+ "TaxCatID": "tax_code"
242
+ },
243
+ "purchase_orders": {
244
+ "PONUM": "po_id",
245
+ "OrderDate": "po_date",
246
+ "VendorNum": "vendor_id",
247
+ "OpenOrder": "status",
248
+ "CurrencyCode": "currency",
249
+ "TotalOrder": "total_amount",
250
+ "DueDate": "expected_receipt_date",
251
+ "CommentText": "notes",
252
+ "PartNum": "item_id",
253
+ "LineDesc": "description",
254
+ "OrderQty": "quantity",
255
+ "UnitCost": "unit_price",
256
+ "DocExtCost": "line_total",
257
+ "TaxCatID": "tax_code"
258
+ },
259
+ "inventory_items": {
260
+ "PartNum": "item_id",
261
+ "PartDescription": "item_name",
262
+ "SearchWord": "description",
263
+ "BuyToOrder": "purchase_description",
264
+ "Sellable": "sales_description",
265
+ "UnitPrice": "base_price",
266
+ "AvgMaterialCost": "cost_price",
267
+ "IUM": "unit_type",
268
+ "InActive": "is_active",
269
+ "MinOrderQty": "reorder_point",
270
+ "PrimPRec": "preferred_vendor_id"
271
+ }
272
+ },
273
+ "Workday": {
274
+ "sales_orders": {
275
+ "Customer_Contract_ID": "order_id",
276
+ "Contract_Start_Date": "order_date",
277
+ "Customer_ID": "customer_id",
278
+ "Contract_Status_Name": "status",
279
+ "Currency_Code": "currency",
280
+ "Total_Contract_Value": "total_amount",
281
+ "CustomerReference": "notes",
282
+ "Item_ID": "item_id",
283
+ "Item_Descriptor": "description",
284
+ "Quantity": "quantity",
285
+ "Unit_Price": "unit_price",
286
+ "Extended_Amount": "line_total",
287
+ "Tax_Code_ID": "tax_code"
288
+ },
289
+ "customers": {
290
+ "Customer_Reference.Customer_ID": "customer_id",
291
+ "Customer_Data.Customer_Name": "customer_name",
292
+ "Email_Address": "contact_email",
293
+ "Phone_Number": "phone_number",
294
+ "Customer_is_Organization": "is_company",
295
+ "Customer_Status_Name": "status",
296
+ "Currency_Code": "currency",
297
+ "Create_Date_Time": "created_date",
298
+ "Update_Date_Time": "last_modified",
299
+ "Type_Reference": "address_type",
300
+ "Address_Line_Data": "address_line1",
301
+ "City": "city",
302
+ "State_Reference": "state",
303
+ "Postal_Code": "postal_code",
304
+ "Country_Code": "country"
305
+ },
306
+ "invoices": {
307
+ "Invoice_Number": "invoice_id",
308
+ "Invoice_Date": "invoice_date",
309
+ "Customer_ID": "customer_id",
310
+ "Invoice_Status_Name": "status",
311
+ "Currency_Code": "currency",
312
+ "Total_Invoice_Amount": "total_amount",
313
+ "Due_Date": "due_date",
314
+ "Memo": "notes",
315
+ "Sales_Item_Reference": "item_id",
316
+ "Line_Item_Description": "description",
317
+ "Quantity": "quantity",
318
+ "Unit_Cost": "unit_price",
319
+ "Extended_Amount": "line_total",
320
+ "Tax_Code_ID": "tax_code"
321
+ },
322
+ "purchase_orders": {
323
+ "Purchase_Order_ID": "po_id",
324
+ "Document_Date": "po_date",
325
+ "Supplier_ID": "vendor_id",
326
+ "Status_Name": "status",
327
+ "Currency_Code": "currency",
328
+ "Total_Amount": "total_amount",
329
+ "Deliver_To_Date": "expected_receipt_date",
330
+ "Memo": "notes",
331
+ "Item_Descriptor": "item_id",
332
+ "Item_Description": "description",
333
+ "Quantity": "quantity",
334
+ "Unit_Cost": "unit_price",
335
+ "Extended_Amount": "line_total",
336
+ "Tax_Code_ID": "tax_code"
337
+ },
338
+ "inventory_items": {
339
+ "Item_Identifier": "item_id",
340
+ "Item_Description": "item_name",
341
+ "Extended_Item_Description": "description",
342
+ "Unit_Cost": "cost_price",
343
+ "Unit_of_Measure_Name": "unit_type",
344
+ "Item_Inactive": "is_active",
345
+ "On_Hand_Stock_Quantity": "quantity_on_hand",
346
+ "Reorder_Point_Quantity": "reorder_point",
347
+ "Default_Supplier_ID": "preferred_vendor_id"
348
+ }
349
+ },
350
+ "QAD ERP": {
351
+ "sales_orders": {
352
+ "so_mstr.so_nbr": "order_id",
353
+ "so_mstr.so_ord_date": "order_date",
354
+ "so_mstr.so_cust": "customer_id",
355
+ "so_mstr.so_stat": "status",
356
+ "so_mstr.so_curr": "currency",
357
+ "so_mstr.so_total_amt": "total_amount",
358
+ "sod_det.sod_part": "item_id",
359
+ "sod_det.sod_desc": "description",
360
+ "sod_det.sod_qty_ord": "quantity",
361
+ "sod_det.sod_price": "unit_price",
362
+ "sod_det.sod_taxc": "tax_code"
363
+ },
364
+ "customers": {
365
+ "cm_mstr.cm_addr": "customer_id",
366
+ "cm_mstr.cm_name": "customer_name",
367
+ "cm_mstr.cm_contact2": "contact_email",
368
+ "cm_mstr.cm_phone": "phone_number",
369
+ "cm_mstr.cm_fax": "alt_phone",
370
+ "cm_mstr.cm_type": "is_company",
371
+ "cm_mstr.cm_sort": "status",
372
+ "cm_mstr.cm_curr": "currency",
373
+ "cm_mstr.cm_cr_date": "created_date",
374
+ "cm_mstr.cm_mod_date": "last_modified",
375
+ "cm_mstr.cm_line1": "address_line1",
376
+ "cm_mstr.cm_city": "city",
377
+ "cm_mstr.cm_state": "state",
378
+ "cm_mstr.cm_zip": "postal_code",
379
+ "cm_mstr.cm_country": "country"
380
+ },
381
+ "invoices": {
382
+ "ih_hist.ih_inv_nbr": "invoice_id",
383
+ "ih_hist.ih_inv_date": "invoice_date",
384
+ "ih_hist.ih_cust": "customer_id",
385
+ "ih_hist.ih_stat": "status",
386
+ "ih_hist.ih_curr": "currency",
387
+ "ih_hist.ih_amt": "total_amount",
388
+ "ih_hist.ih_due_date": "due_date",
389
+ "id_hist.id_part": "item_id",
390
+ "id_hist.id_desc": "description",
391
+ "id_hist.id_qty_inv": "quantity",
392
+ "id_hist.id_price": "unit_price",
393
+ "id_hist.id_taxc": "tax_code"
394
+ },
395
+ "purchase_orders": {
396
+ "poh_hist.poh_nbr": "po_id",
397
+ "poh_hist.poh_ord_date": "po_date",
398
+ "poh_hist.poh_vend": "vendor_id",
399
+ "poh_hist.poh_stat": "status",
400
+ "poh_hist.poh_curr": "currency",
401
+ "pod_det.pod_due_date": "expected_receipt_date",
402
+ "poh_hist.poh_comment": "notes",
403
+ "pod_det.pod_part": "item_id",
404
+ "pod_det.pod_desc1": "description",
405
+ "pod_det.pod_qty_ord": "quantity",
406
+ "pod_det.pod_pur_cost": "unit_price",
407
+ "pod_det.pod_taxc": "tax_code"
408
+ },
409
+ "inventory_items": {
410
+ "pt_mstr.pt_part": "item_id",
411
+ "pt_mstr.pt_desc1": "item_name",
412
+ "pt_mstr.pt_desc2": "description",
413
+ "pt_mstr.pt_price": "base_price",
414
+ "pt_mstr.pt_pur_price": "cost_price",
415
+ "pt_mstr.pt_um": "unit_type",
416
+ "pt_mstr.pt_status": "is_active",
417
+ "pt_mstr.pt_rop": "reorder_point",
418
+ "pt_mstr.pt_vend": "preferred_vendor_id"
419
+ }
420
+ },
421
  "NetSuite": {
422
  "sales_orders": {
423
  "tranId": "order_id",
 
443
  "isPerson": "is_company",
444
  "status": "status",
445
  "currency": "currency",
446
+ "dateCreated": "created_date",
447
+ "lastModified": "last_modified"
448
+ },
449
+ "invoices": {
450
+ "tranId": "invoice_id",
451
+ "trandate": "invoice_date",
452
+ "entity": "customer_id",
453
+ "status": "status",
454
+ "currency": "currency",
455
+ "total": "total_amount",
456
+ "dueDate": "due_date",
457
+ "memo": "notes",
458
+ "itemList.item": "item_id",
459
+ "itemList.description": "description",
460
+ "itemList.quantity": "quantity",
461
+ "itemList.rate": "unit_price",
462
+ "itemList.amount": "line_total",
463
+ "itemList.taxCode": "tax_code"
464
+ },
465
+ "purchase_orders": {
466
+ "tranId": "po_id",
467
+ "trandate": "po_date",
468
+ "entity": "vendor_id",
469
+ "status": "status",
470
+ "currency": "currency",
471
+ "total": "total_amount",
472
+ "expectedReceiptDate": "expected_receipt_date",
473
+ "memo": "notes",
474
+ "itemList.item": "item_id",
475
+ "itemList.description": "description",
476
+ "itemList.quantity": "quantity",
477
+ "itemList.rate": "unit_price",
478
+ "itemList.amount": "line_total",
479
+ "itemList.taxCode": "tax_code"
480
+ },
481
+ "inventory_items": {
482
+ "itemId": "item_id",
483
+ "displayName": "item_name",
484
+ "description": "description",
485
+ "purchaseDescription": "purchase_description",
486
+ "salesDescription": "sales_description",
487
+ "basePrice": "base_price",
488
+ "cost": "cost_price",
489
+ "unitsType": "unit_type",
490
+ "isInactive": "is_active",
491
+ "quantityOnHand": "quantity_on_hand",
492
+ "reorderPoint": "reorder_point",
493
+ "preferredVendor": "preferred_vendor_id"
494
+ }
495
+ },
496
+ "Microsoft Dynamics": {
497
+ "sales_orders": {
498
+ "SalesId": "order_id",
499
+ "CreatedDateTime": "order_date",
500
+ "CustAccount": "customer_id",
501
+ "SalesStatus": "status",
502
+ "CurrencyCode": "currency",
503
+ "TotalAmount": "total_amount",
504
+ "ItemId": "item_id",
505
+ "Name": "description",
506
+ "SalesQty": "quantity",
507
+ "SalesPrice": "unit_price",
508
+ "LineAmount": "line_total",
509
+ "SalesTaxGroup": "tax_code"
510
+ },
511
+ "customers": {
512
+ "AccountNum": "customer_id",
513
+ "Name": "customer_name",
514
+ "Email": "contact_email",
515
+ "Phone": "phone_number",
516
+ "TeleFax": "alt_phone",
517
+ "PartyType": "is_company",
518
+ "Blocked": "status",
519
+ "Currency": "currency",
520
+ "CreatedDateTime": "created_date",
521
+ "ModifiedDateTime": "last_modified",
522
+ "Type": "address_type",
523
+ "Address": "address_line1",
524
+ "City": "city",
525
+ "State": "state",
526
+ "ZipCode": "postal_code",
527
+ "CountryRegionId": "country"
528
+ },
529
+ "invoices": {
530
+ "InvoiceId": "invoice_id",
531
+ "InvoiceDate": "invoice_date",
532
+ "CustAccount": "customer_id",
533
+ "InvoiceStatus": "status",
534
+ "CurrencyCode": "currency",
535
+ "AmountCur": "total_amount",
536
+ "DueDate": "due_date",
537
+ "Description": "notes",
538
+ "ItemId": "item_id",
539
+ "Name": "description",
540
+ "Qty": "quantity",
541
+ "SalesPrice": "unit_price",
542
+ "LineAmount": "line_total",
543
+ "TaxGroup": "tax_code"
544
+ },
545
+ "purchase_orders": {
546
+ "PurchId": "po_id",
547
+ "CreatedDateTime": "po_date",
548
+ "OrderAccount": "vendor_id",
549
+ "DocumentStatus": "status",
550
+ "CurrencyCode": "currency",
551
+ "Amount": "total_amount",
552
+ "DeliveryDate": "expected_receipt_date",
553
+ "PurchName": "notes",
554
+ "ItemId": "item_id",
555
+ "Name": "description",
556
+ "PurchQty": "quantity",
557
+ "PurchPrice": "unit_price",
558
+ "LineAmount": "line_total",
559
+ "TaxGroup": "tax_code"
560
+ },
561
+ "inventory_items": {
562
+ "ItemId": "item_id",
563
+ "Name": "item_name",
564
+ "ProductName": "description",
565
+ "Price": "base_price",
566
+ "CostPrice": "cost_price",
567
+ "UnitId": "unit_type",
568
+ "Stopped": "is_active",
569
+ "InventQtyAvail": "quantity_on_hand",
570
+ "ReorderPoint": "reorder_point",
571
+ "PreferredVendor": "preferred_vendor_id"
572
+ }
573
+ },
574
+ "SAP ERP": {
575
+ "sales_orders": {
576
+ "VBAK.VBELN": "order_id",
577
+ "VBAK.ERDAT": "order_date",
578
+ "VBAK.KUNNR": "customer_id",
579
+ "VBAK.AUART": "status",
580
+ "VBAK.WAERK": "currency",
581
+ "VBAK.NETWR": "total_amount",
582
+ "VBAK.BSTNK": "notes",
583
+ "VBAP.MATNR": "item_id",
584
+ "VBAP.ARKTX": "description",
585
+ "VBAP.KWMENG": "quantity",
586
+ "VBAP.WAERK": "unit_price",
587
+ "VBAP.NETWR": "line_total"
588
+ },
589
+ "customers": {
590
+ "KNA1.KUNNR": "customer_id",
591
+ "KNA1.NAME1": "customer_name",
592
+ "ADRC.SMTP_ADDR": "contact_email",
593
+ "KNA1.TELF1": "phone_number",
594
+ "KNA1.TELFX": "alt_phone",
595
+ "KNA1.KTOKD": "is_company",
596
+ "KNA1.SPERR": "status",
597
+ "KNB1.WAERS": "currency",
598
+ "KNA1.ERDAT": "created_date",
599
+ "KNA1.AEDAT": "last_modified"
600
+ },
601
+ "invoices": {
602
+ "VBRK.VBELN": "invoice_id",
603
+ "VBRK.FKDAT": "invoice_date",
604
+ "VBRK.KUNAG": "customer_id",
605
+ "VBRK.FKSTO": "status",
606
+ "VBRK.WAERK": "currency",
607
+ "VBRK.NETWR": "total_amount",
608
+ "VBRK.ZFBDT": "due_date",
609
+ "VBRK.BSTNK": "notes",
610
+ "VBRP.MATNR": "item_id",
611
+ "VBRP.ARKTX": "description",
612
+ "VBRP.FKIMG": "quantity",
613
+ "VBRP.NETWR": "line_total",
614
+ "VBRP.MWSKZ": "tax_code"
615
+ },
616
+ "purchase_orders": {
617
+ "EKKO.EBELN": "po_id",
618
+ "EKKO.BEDAT": "po_date",
619
+ "EKKO.LIFNR": "vendor_id",
620
+ "EKKO.BSTYP": "status",
621
+ "EKKO.WAERS": "currency",
622
+ "EKKO.NETWR": "total_amount",
623
+ "EKET.EINDT": "expected_receipt_date",
624
+ "EKKO.BSTNK": "notes",
625
+ "EKPO.MATNR": "item_id",
626
+ "EKPO.TXZ01": "description",
627
+ "EKPO.MENGE": "quantity",
628
+ "EKPO.NETPR": "unit_price",
629
+ "EKPO.NETWR": "line_total",
630
+ "EKPO.MWSKZ": "tax_code"
631
+ },
632
+ "inventory_items": {
633
+ "MARA.MATNR": "item_id",
634
+ "MAKT.MAKTX": "item_name",
635
+ "MBEW.STPRS": "base_price",
636
+ "MBEW.VPRSV": "cost_price",
637
+ "MARM.MEINH": "unit_type",
638
+ "MARA.MSTAE": "is_active",
639
+ "MARD.LABST": "quantity_on_hand",
640
+ "MARC.BESGR": "reorder_point",
641
+ "EINA.LIFNR": "preferred_vendor_id"
642
+ }
643
+ },
644
+ "IFS Cloud": {
645
+ "sales_orders": {
646
+ "OrderNo": "order_id",
647
+ "OrderDate": "order_date",
648
+ "CustomerId": "customer_id",
649
+ "OrderStatus": "status",
650
+ "CurrencyCode": "currency",
651
+ "TotalAmount": "total_amount",
652
+ "CustomerReference": "notes",
653
+ "PartNo": "item_id",
654
+ "Description": "description",
655
+ "QtyOrdered": "quantity",
656
+ "SalesPrice": "unit_price",
657
+ "LineAmount": "line_total",
658
+ "TaxCode": "tax_code"
659
+ },
660
+ "customers": {
661
+ "CustomerId": "customer_id",
662
+ "CustomerName": "customer_name",
663
+ "EmailAddress": "contact_email",
664
+ "PhoneNo": "phone_number",
665
+ "FaxNo": "alt_phone",
666
+ "CustomerType": "is_company",
667
+ "BlockedForDelivery": "status",
668
+ "CurrencyCode": "currency",
669
+ "CreatedDate": "created_date",
670
+ "LastUpdatedDate": "last_modified",
671
+ "City": "city",
672
+ "State": "state",
673
+ "ZipCode": "postal_code",
674
+ "CountryRegionId": "country"
675
+ },
676
+ "invoices": {
677
+ "InvoiceNo": "invoice_id",
678
+ "InvoiceDate": "invoice_date",
679
+ "CustomerId": "customer_id",
680
+ "InvoiceStatus": "status",
681
+ "CurrencyCode": "currency",
682
+ "GrossAmount": "total_amount",
683
+ "DueDate": "due_date",
684
+ "Remarks": "notes",
685
+ "PartNo": "item_id",
686
+ "PartDescription": "description",
687
+ "Quantity": "quantity",
688
+ "UnitPrice": "unit_price",
689
+ "LineAmount": "line_total",
690
+ "TaxCode": "tax_code"
691
+ },
692
+ "purchase_orders": {
693
+ "OrderNo": "po_id",
694
+ "OrderDate": "po_date",
695
+ "SupplierId": "vendor_id",
696
+ "OrderStatus": "status",
697
+ "CurrencyCode": "currency",
698
+ "GrossAmount": "total_amount",
699
+ "PlannedDeliveryDate": "expected_receipt_date",
700
+ "Notes": "notes",
701
+ "PartNo": "item_id",
702
+ "Description": "description",
703
+ "QtyOrdered": "quantity",
704
+ "BuyUnitPrice": "unit_price",
705
+ "LineAmount": "line_total",
706
+ "TaxCode": "tax_code"
707
+ },
708
+ "inventory_items": {
709
+ "PartNo": "item_id",
710
+ "Description": "item_name",
711
+ "DetailedDescription": "description",
712
+ "PurchaseDescription": "purchase_description",
713
+ "SalesDescription": "sales_description",
714
+ "SalesPrice": "base_price",
715
+ "StandardCost": "cost_price",
716
+ "UnitOfMeasure": "unit_type",
717
+ "Obsolete": "is_active",
718
+ "QtyOnHand": "quantity_on_hand",
719
+ "ReorderPoint": "reorder_point",
720
+ "PreferredSupplierId": "preferred_vendor_id"
721
+ }
722
+ },
723
+ "Sage Intacct": {
724
+ "sales_orders": {
725
+ "SO_NO": "order_id",
726
+ "ORDER_DATE": "order_date",
727
+ "CUSTOMERID": "customer_id",
728
+ "STATUS": "status",
729
+ "CURRENCY": "currency",
730
+ "TOTALAMOUNT": "total_amount",
731
+ "CUSTPO": "notes",
732
+ "ITEMID": "item_id",
733
+ "DESCRIPTION": "description",
734
+ "QTY_ORDERED": "quantity",
735
+ "UNITPRICE": "unit_price",
736
+ "AMOUNT": "line_total",
737
+ "TAXDETAILID": "tax_code"
738
+ },
739
+ "customers": {
740
+ "CUSTOMERID": "customer_id",
741
+ "NAME": "customer_name",
742
+ "EMAIL": "contact_email",
743
+ "PHONE": "phone_number",
744
+ "FAX": "alt_phone",
745
+ "TYPE": "is_company",
746
+ "STATUS": "status",
747
+ "CURRENCY": "currency",
748
+ "CREATEDDATE": "created_date",
749
+ "MODIFIEDDATE": "last_modified",
750
+ "CITY": "city",
751
+ "STATE": "state",
752
+ "ZIP": "postal_code",
753
+ "COUNTRY": "country"
754
+ },
755
+ "invoices": {
756
+ "INVOICE_NO": "invoice_id",
757
+ "INVOICEDATE": "invoice_date",
758
+ "CUSTOMERID": "customer_id",
759
+ "STATUS": "status",
760
+ "CURRENCY": "currency",
761
+ "TOTALDUE": "total_amount",
762
+ "DUEDATE": "due_date",
763
+ "NOTES": "notes",
764
+ "ITEMID": "item_id",
765
+ "DESCRIPTION": "description",
766
+ "QTY": "quantity",
767
+ "UNITPRICE": "unit_price",
768
+ "AMOUNT": "line_total",
769
+ "TAXDETAILID": "tax_code"
770
+ },
771
+ "purchase_orders": {
772
+ "PO_NO": "po_id",
773
+ "ORDERDATE": "po_date",
774
+ "VENDORID": "vendor_id",
775
+ "STATUS": "status",
776
+ "CURRENCY": "currency",
777
+ "TOTALAMOUNT": "total_amount",
778
+ "EXPECTEDSHIPDATE": "expected_receipt_date",
779
+ "MEMO": "notes",
780
+ "ITEMID": "item_id",
781
+ "DESCRIPTION": "description",
782
+ "QTYORDERED": "quantity",
783
+ "UNITCOST": "unit_price",
784
+ "AMOUNT": "line_total",
785
+ "TAXDETAILID": "tax_code"
786
+ },
787
+ "inventory_items": {
788
+ "ITEMID": "item_id",
789
+ "NAME": "item_name",
790
+ "DESCRIPTION": "description",
791
+ "PURCHASEDESCRIPTION": "purchase_description",
792
+ "SALEDESCRIPTION": "sales_description",
793
+ "PRICE": "base_price",
794
+ "UNITCOST": "cost_price",
795
+ "UOM": "unit_type",
796
+ "INACTIVE": "is_active",
797
+ "QTYONHAND": "quantity_on_hand",
798
+ "REORDERPOINT": "reorder_point",
799
+ "PREFERREDVENDORID": "preferred_vendor_id"
800
  }
801
  },
802
  "CDF_META": {
 
825
  "status",
826
  "currency",
827
  "created_date",
828
+ "last_modified",
829
+ "address_type",
830
+ "address_line1",
831
+ "city",
832
+ "state",
833
+ "postal_code",
834
+ "country"
835
+ ],
836
+ "invoices": [
837
+ "invoice_id",
838
+ "invoice_date",
839
+ "customer_id",
840
+ "status",
841
+ "currency",
842
+ "total_amount",
843
+ "due_date",
844
+ "notes",
845
+ "item_id",
846
+ "description",
847
+ "quantity",
848
+ "unit_price",
849
+ "line_total",
850
+ "tax_code"
851
+ ],
852
+ "purchase_orders": [
853
+ "po_id",
854
+ "po_date",
855
+ "vendor_id",
856
+ "status",
857
+ "currency",
858
+ "total_amount",
859
+ "expected_receipt_date",
860
+ "notes",
861
+ "item_id",
862
+ "description",
863
+ "quantity",
864
+ "unit_price",
865
+ "line_total",
866
+ "tax_code"
867
+ ],
868
+ "inventory_items": [
869
+ "item_id",
870
+ "item_name",
871
+ "description",
872
+ "purchase_description",
873
+ "sales_description",
874
+ "base_price",
875
+ "cost_price",
876
+ "unit_type",
877
+ "is_active",
878
+ "quantity_on_hand",
879
+ "reorder_point",
880
+ "preferred_vendor_id"
881
+ ]
882
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
883
  }