Spaces:
Runtime error
Runtime error
File size: 23,356 Bytes
d448413 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 | ### ERP to Common Data Frame (CDF) Entity Mapping
To ensure **data consistency across formats** (like JSON, CSV, Excel, APIs, and databases), follow these format guidelines:
* **Date fields** should follow ISO `yyyy-MM-dd` in APIs and databases, but for human-readable files (CSV, Excel), use `dd-MMMM-yyyy` (e.g., `04-August-2025`).
* **Decimal fields** (currency, unit prices, totals) must retain two decimal places (e.g., `1249.00`) and use `DECIMAL(18,2)` in DBs.
* **Boolean fields** should be stored as `true/false` (JSON), `1/0` (DBs), and consistently mapped.
* **Text fields** should be UTF-8 encoded and escaped properly for CSV/JSON.
* Use **JSON Schema or OpenAPI spec** to validate and enforce formats in APIs.
* In **Excel**, enforce field formatting using cell templates.
* Always maintain a **data dictionary** like this document to describe field purpose, formats, and types.
This document outlines the field names used for each entity across different ERP systems, displayed in a side-by-side column layout per entity.
---
### π Sales Orders Fields Comparison
| Oracle Fusion | Infor M3 | Infor LN | Epicor Kinetic | Workday | QAD ERP | NetSuite | Microsoft Dynamics | SAP ERP | IFS Cloud | Sage Intacct | β‘οΈ CDF Field |
| ----------------------- | -------- | ------------- | -------------- | ---------------------- | ----------------------- | -------------------- | ------------------ | ------------------ | ----------------- | ------------ | ------------- |
| OrderKey | ORNO | tdsls400.orno | OrderNum | Customer\_Contract\_ID | so\_mstr.so\_nbr | tranId | SalesId | VBAK.VBELN | OrderNo | SO\_NO | order\_id |
| CreationDate | ORDT | tdsls400.odat | OrderDate | Contract\_Start\_Date | so\_mstr.so\_ord\_date | trandate | CreatedDateTime | VBAK.ERDAT | OrderDate | ORDER\_DATE | order\_date |
| BuyingPartyId | CUNO | tdsls400.otbp | CustNum | Customer\_ID | so\_mstr.so\_cust | entity | CustAccount | VBAK.KUNNR | CustomerId | CUSTOMERID | customer\_id |
| StatusCode | β | tdsls400.stat | OrderHeld | Contract\_Status\_Name | so\_mstr.so\_stat | status | SalesStatus | VBAK.AUART | OrderStatus | STATUS | status |
| TransactionCurrencyCode | CUCD | tdsls400.curr | CurrencyCode | Currency\_Code | so\_mstr.so\_curr | currency | CurrencyCode | VBAK.WAERK | CurrencyCode | CURRENCY | currency |
| TransactionAmount | β | tdsls400.oamt | OrderAmt | Total\_Contract\_Value | so\_mstr.so\_total\_amt | total | TotalAmount | VBAK.NETWR | TotalAmount | TOTALAMOUNT | total\_amount |
| memo | WHLO | β | RequestDate | CustomerReference | β | memo | β | VBAK.BSTNK | CustomerReference | CUSTPO | notes |
| item\_id (lines) | ITNO | tdsls401.item | PartNum | Item\_ID | sod\_det.sod\_part | itemList.item | ItemId | VBAP.MATNR | PartNo | ITEMID | item\_id |
| description | ITDS | tdsls401.dsca | LineDesc | Item\_Descriptor | sod\_det.sod\_desc | itemList.description | Name | VBAP.ARKTX | Description | DESCRIPTION | description |
| quantity | ORQA | tdsls401.qoor | OrderQty | Quantity | sod\_det.sod\_qty\_ord | itemList.quantity | SalesQty | VBAP.KWMENG | QtyOrdered | QTY\_ORDERED | quantity |
| unit\_price | SAPR | tdsls401.pric | UnitPrice | Unit\_Price | sod\_det.sod\_price | itemList.rate | SalesPrice | VBAP.WAERK (price) | SalesPrice | UNITPRICE | unit\_price |
| line\_total | LNAM | tdsls401.oamt | DocExtPrice | Extended\_Amount | β | itemList.amount | LineAmount | VBAP.NETWR | LineAmount | AMOUNT | line\_total |
| tax\_code | VTCD | β | TaxCatID | Tax\_Code\_ID | sod\_det.sod\_taxc | itemList.taxCode | SalesTaxGroup | β | TaxCode | TAXDETAILID | tax\_code |
β‘οΈ **CDF Fields & SQL Types:**
* `order_id` β VARCHAR(64)
* `order_date` β DATE
* `customer_id` β VARCHAR(64)
* `status` β VARCHAR(32)
* `currency` β VARCHAR(8)
* `total_amount` β DECIMAL(18,2)
* `notes` β TEXT
* `item_id` β VARCHAR(64)
* `description` β TEXT
* `quantity` β INT
* `unit_price` β DECIMAL(18,2)
* `line_total` β DECIMAL(18,2)
* `tax_code` β VARCHAR(32)
---
### π₯ Customers Fields Comparison
| Oracle Fusion | Infor M3 | Infor LN | Epicor Kinetic | Workday | QAD ERP | NetSuite | Microsoft Dynamics | SAP ERP | IFS Cloud | Sage Intacct | β‘οΈ CDF Field |
| --------------------------------------------- | -------- | ------------- | -------------- | -------------------------------- | ---------------------- | ------------ | ------------------ | --------------- | ------------------ | ------------ | -------------- |
| HZ\_CUST\_ACCOUNTS.ACCOUNT\_NUMBER | CUNO | tccom100.bpid | CustID | Customer\_Reference.Customer\_ID | cm\_mstr.cm\_addr | entityId | AccountNum | KNA1.KUNNR | CustomerId | CUSTOMERID | customer\_id |
| HZ\_PARTIES.PARTY\_NAME | CUNM | tccom100.nama | Name | Customer\_Data.Customer\_Name | cm\_mstr.cm\_name | companyName | Name | KNA1.NAME1 | CustomerName | NAME | customer\_name |
| HZ\_PARTIES.EMAIL\_ADDRESS | EMAL | tccom100.emal | EmailAddress | Email\_Address | cm\_mstr.cm\_contact2 | email | Email | ADRC.SMTP\_ADDR | EmailAddress | EMAIL | contact\_email |
| HZ\_PARTIES.PRIMARY\_PHONE\_NUMBER | PHNO | tccom100.tele | PhoneNum | Phone\_Number | cm\_mstr.cm\_phone | phone | Phone | KNA1.TELF1 | PhoneNo | PHONE | phone\_number |
| β | YREF | β | FaxNum | β | cm\_mstr.cm\_fax | altPhone | TeleFax | KNA1.TELFX | FaxNo | FAX | alt\_phone |
| HZ\_PARTIES.PARTY\_TYPE | β | β | CustomerType | Customer\_is\_Organization | cm\_mstr.cm\_type | isPerson | PartyType | KNA1.KTOKD | CustomerType | TYPE | is\_company |
| HZ\_CUST\_ACCOUNTS.STATUS | STAT | tccom100.stat | CreditHold | Customer\_Status\_Name | cm\_mstr.cm\_sort | status | Blocked | KNA1.SPERR | BlockedForDelivery | STATUS | status |
| HZ\_CUST\_ACCOUNTS.PREFERRED\_CURRENCY | CUCD | β | CurrencyCode | Currency\_Code | cm\_mstr.cm\_curr | currency | Currency | KNB1.WAERS | CurrencyCode | CURRENCY | currency |
| HZ\_CUST\_ACCOUNTS.ACCOUNT\_ESTABLISHED\_DATE | RGDT | tccom100.crdt | EstDate | Create\_Date\_Time | cm\_mstr.cm\_cr\_date | dateCreated | CreatedDateTime | KNA1.ERDAT | CreatedDate | CREATEDDATE | created\_date |
| HZ\_PARTIES.LAST\_UPDATE\_DATE | LMDT | tccom100.aedt | SysRevID | Update\_Date\_Time | cm\_mstr.cm\_mod\_date | lastModified | ModifiedDateTime | KNA1.AEDAT | LastUpdatedDate | MODIFIEDDATE | last\_modified |
| HZ\_CUST\_ACCT\_SITES\_ALL.SITE\_USE\_CODE | β | β | β | Type\_Reference | β | β | Type | β | β | β | address\_type |
| HZ\_LOCATIONS.ADDRESS1 | CUA1 | β | β | Address\_Line\_Data | cm\_mstr.cm\_line1 | β | Address | β | β | β | address\_line1 |
| HZ\_LOCATIONS.CITY | β | tccom131.namc | β | City | cm\_mstr.cm\_city | β | City | β | City | CITY | city |
| HZ\_LOCATIONS.STATE | β | β | β | State\_Reference | cm\_mstr.cm\_state | β | State | β | State | STATE | state |
| HZ\_LOCATIONS.POSTAL\_CODE | β | β | β | Postal\_Code | cm\_mstr.cm\_zip | β | ZipCode | β | ZipCode | ZIP | postal\_code |
| HZ\_LOCATIONS.COUNTRY | β | β | β | Country\_Code | cm\_mstr.cm\_country | β | CountryRegionId | β | CountryRegionId | COUNTRY | country |
β‘οΈ **CDF Fields & SQL Types:**
* `customer_id` β VARCHAR(64)
* `customer_name` β VARCHAR(255)
* `contact_email` β VARCHAR(255)
* `phone_number` β VARCHAR(32)
* `alt_phone` β VARCHAR(32)
* `is_company` β BOOLEAN
* `status` β VARCHAR(32)
* `currency` β VARCHAR(8)
* `created_date` β DATETIME
* `last_modified` β DATETIME
* `address_type` β VARCHAR(32)
* `address_line1` β VARCHAR(255)
* `city` β VARCHAR(128)
* `state` β VARCHAR(64)
* `postal_code` β VARCHAR(20)
* `country` β VARCHAR(64)
### π§Ύ Invoices Fields Comparison
| Oracle Fusion | Infor M3 | Infor LN | Epicor Kinetic | Workday | QAD ERP | NetSuite | Microsoft Dynamics | SAP ERP | IFS Cloud | Sage Intacct | β‘οΈ CDF Field |
| -------------------- | -------- | ------------- | -------------- | ----------------------- | --------------------------- | -------------------- | ------------------ | ---------- | --------------- | ------------ | ------------- |
| TransactionNumber | IVNO | tfacp100.invn | InvoiceNum | Invoice\_Number | ih\_hist.ih\_inv\_nbr | tranId | InvoiceId | VBRK.VBELN | InvoiceNo | INVOICE\_NO | invoice\_id |
| TransactionDate | IVDT | tfacp100.indt | InvoiceDate | Invoice\_Date | ih\_hist.ih\_inv\_date | trandate | InvoiceDate | VBRK.FKDAT | InvoiceDate | INVOICEDATE | invoice\_date |
| BillToCustomerNumber | CUNO | tfacp100.ibp | CustNum | Customer\_ID | ih\_hist.ih\_cust | entity | CustAccount | VBRK.KUNAG | CustomerId | CUSTOMERID | customer\_id |
| InvoiceStatus | β | tfacp100.stat | OpenInvoice | Invoice\_Status\_Name | ih\_hist.ih\_stat | status | InvoiceStatus | VBRK.FKSTO | InvoiceStatus | STATUS | status |
| InvoiceCurrencyCode | CUCD | tfacp100.cucd | CurrencyCode | Currency\_Code | ih\_hist.ih\_curr | currency | CurrencyCode | VBRK.WAERK | CurrencyCode | CURRENCY | currency |
| InvoiceBalanceAmount | IVAM | tfacp100.amti | InvoiceAmt | Total\_Invoice\_Amount | ih\_hist.ih\_amt | total | AmountCur | VBRK.NETWR | GrossAmount | TOTALDUE | total\_amount |
| DueDate | DUDT | tfacp100.dudt | DueDate | Due\_Date | ih\_hist.ih\_due\_date | dueDate | DueDate | VBRK.ZFBDT | DueDate | DUEDATE | due\_date |
| Comments | β | β | InvoiceComment | Memo | β | memo | Description | VBRK.BSTNK | Remarks | NOTES | notes |
| item\_id (lines) | ITNO | β | PartNum | Sales\_Item\_Reference | id\_hist.id\_part | itemList.item | ItemId | VBRP.MATNR | PartNo | ITEMID | item\_id |
| description | ITDS | β | Description | Line\_Item\_Description | id\_hist.id\_desc | itemList.description | Name | VBRP.ARKTX | PartDescription | DESCRIPTION | description |
| quantity | β | β | SellingShipQty | Quantity | id\_hist.id\_qty\_inv | itemList.quantity | Qty | VBRP.FKIMG | Quantity | QTY | quantity |
| unit\_price | β | β | UnitPrice | Unit\_Cost | id\_hist.id\_price | itemList.rate | SalesPrice | β | UnitPrice | UNITPRICE | unit\_price |
| line\_total | β | β | ExtPrice | Extended\_Amount | (id\_qty\_inv \* id\_price) | itemList.amount | LineAmount | VBRP.NETWR | LineAmount | AMOUNT | line\_total |
| tax\_code | β | β | TaxCatID | Tax\_Code\_ID | id\_hist.id\_taxc | itemList.taxCode | TaxGroup | VBRP.MWSKZ | TaxCode | TAXDETAILID | tax\_code |
β‘οΈ **CDF Fields & SQL Types:**
* `invoice_id` β VARCHAR(64)
* `invoice_date` β DATE
* `customer_id` β VARCHAR(64)
* `status` β VARCHAR(32)
* `currency` β VARCHAR(8)
* `total_amount` β DECIMAL(18,2)
* `due_date` β DATE
* `notes` β TEXT
* `item_id` β VARCHAR(64)
* `description` β TEXT
* `quantity` β INT
* `unit_price` β DECIMAL(18,2)
* `line_total` β DECIMAL(18,2)
* `tax_code` β VARCHAR(32)
### π¦ Purchase Orders Fields Comparison
| Oracle Fusion | Infor M3 | Infor LN | Epicor Kinetic | Workday | QAD ERP | NetSuite | Microsoft Dynamics | SAP ERP | IFS Cloud | Sage Intacct | β‘οΈ CDF Field |
| -------------------- | ----------------- | ------------- | -------------- | ------------------- | ------------------------ | -------------------- | ------------------ | ---------- | ------------------- | ---------------- | ----------------------- |
| SEGMENT1 | PUNO | tdpur400.orno | PONUM | Purchase\_Order\_ID | poh\_hist.poh\_nbr | tranId | PurchId | EKKO.EBELN | OrderNo | PO\_NO | po\_id |
| CREATION\_DATE | PUDT | tdpur400.odat | OrderDate | Document\_Date | poh\_hist.poh\_ord\_date | trandate | CreatedDateTime | EKKO.BEDAT | OrderDate | ORDERDATE | po\_date |
| VENDOR\_ID | SUNO | tdpur400.suno | VendorNum | Supplier\_ID | poh\_hist.poh\_vend | entity | OrderAccount | EKKO.LIFNR | SupplierId | VENDORID | vendor\_id |
| DOCUMENT\_STATUS | β | tdpur400.stat | OpenOrder | Status\_Name | poh\_hist.poh\_stat | status | DocumentStatus | EKKO.BSTYP | OrderStatus | STATUS | status |
| CURRENCY\_CODE | CUCD | tdpur400.cucd | CurrencyCode | Currency\_Code | poh\_hist.poh\_curr | currency | CurrencyCode | EKKO.WAERS | CurrencyCode | CURRENCY | currency |
| total\_amount (calc) | β | β | TotalOrder | Total\_Amount | β | total | Amount | EKKO.NETWR | GrossAmount | TOTALAMOUNT | total\_amount |
| NEED\_BY\_DATE | RELD | tdpur401.ddte | DueDate | Deliver\_To\_Date | pod\_det.pod\_due\_date | expectedReceiptDate | DeliveryDate | EKET.EINDT | PlannedDeliveryDate | EXPECTEDSHIPDATE | expected\_receipt\_date |
| COMMENTS | WHLO | β | CommentText | Memo | poh\_hist.poh\_comment | memo | PurchName | EKKO.BSTNK | Notes | MEMO | notes |
| item\_id (lines) | ITEM\_ID | tdipu001.item | PartNum | Item\_Descriptor | pod\_det.pod\_part | itemList.item | ItemId | EKPO.MATNR | PartNo | ITEMID | item\_id |
| description | ITEM\_DESCRIPTION | tdipu001.dsca | LineDesc | Item\_Description | pod\_det.pod\_desc1 | itemList.description | Name | EKPO.TXZ01 | Description | DESCRIPTION | description |
| quantity | QUANTITY | tdipu001.qoor | OrderQty | Quantity | pod\_det.pod\_qty\_ord | itemList.quantity | PurchQty | EKPO.MENGE | QtyOrdered | QTYORDERED | quantity |
| unit\_price | UNIT\_PRICE | tdipu001.pric | UnitCost | Unit\_Cost | pod\_det.pod\_pur\_cost | itemList.rate | PurchPrice | EKPO.NETPR | BuyUnitPrice | UNITCOST | unit\_price |
| line\_total | AMOUNT | tdipu001.amt | DocExtCost | Extended\_Amount | (qty \* pur\_cost) | itemList.amount | LineAmount | EKPO.NETWR | LineAmount | AMOUNT | line\_total |
| tax\_code | β | β | TaxCatID | Tax\_Code\_ID | pod\_det.pod\_taxc | itemList.taxCode | TaxGroup | EKPO.MWSKZ | TaxCode | TAXDETAILID | tax\_code |
β‘οΈ **CDF Fields & SQL Types:**
* `po_id` β VARCHAR(64)
* `po_date` β DATE
* `vendor_id` β VARCHAR(64)
* `status` β VARCHAR(32)
* `currency` β VARCHAR(8)
* `total_amount` β DECIMAL(18,2)
* `expected_receipt_date` β DATE
* `notes` β TEXT
* `item_id` β VARCHAR(64)
* `description` β TEXT
* `quantity` β INT
* `unit_price` β DECIMAL(18,2)
* `line_total` β DECIMAL(18,2)
* `tax_code` β VARCHAR(32)
### π·οΈ Inventory Items Fields Comparison
| Oracle Fusion | Infor M3 | Infor LN | Epicor Kinetic | Workday | QAD ERP | NetSuite | Microsoft Dynamics | SAP ERP | IFS Cloud | Sage Intacct | β‘οΈ CDF Field |
| ---------------------- | -------- | ------------- | --------------- | --------------------------- | ---------------------------- | ------------------- | ------------------ | ------------------- | ------------------- | ------------------- | --------------------- |
| ITEM\_NUMBER | ITNO | tcibd001.item | PartNum | Item\_Identifier | pt\_mstr.pt\_part | itemId | ItemId | MARA.MATNR | PartNo | ITEMID | item\_id |
| DESCRIPTION | ITDS | tcibd001.dsca | PartDescription | Item\_Description | pt\_mstr.pt\_desc1 | displayName | Name | MAKT.MAKTX | Description | NAME | item\_name |
| LONG\_DESCRIPTION | FUDS | β | SearchWord | Extended\_Item\_Description | pt\_mstr.pt\_desc2 | description | ProductName | MAKT.MAKTX | DetailedDescription | DESCRIPTION | description |
| PURCHASING\_ITEM\_FLAG | β | β | BuyToOrder | β | β | purchaseDescription | β | β | PurchaseDescription | PURCHASEDESCRIPTION | purchase\_description |
| CUSTOMER\_ORDER\_FLAG | β | β | Sellable | β | β | salesDescription | β | β | SalesDescription | SALEDESCRIPTION | sales\_description |
| LIST\_PRICE | SAPR | tcibd001.sapr | UnitPrice | β | pt\_mstr.pt\_price | basePrice | Price | MBEW\.STPRS | SalesPrice | PRICE | base\_price |
| UNIT\_COST | PUPR | tcibd001.copr | AvgMaterialCost | Unit\_Cost | pt\_mstr.pt\_pur\_price | cost | CostPrice | MBEW\.VPRSV | StandardCost | UNITCOST | cost\_price |
| PRIMARY\_UOM\_CODE | UNMS | tcibd001.cuni | IUM | Unit\_of\_Measure\_Name | pt\_mstr.pt\_um | unitsType | UnitId | MARM.MEINH | UnitOfMeasure | UOM | unit\_type |
| ITEM\_STATUS\_CODE | STAT | tcibd001.itst | InActive | Item\_Inactive | pt\_mstr.pt\_status (invert) | isInactive | Stopped | MARA.MSTAE (invert) | Obsolete | INACTIVE | is\_active |
| (Calculated Qty) | β | β | β | On\_Hand\_Stock\_Quantity | β | quantityOnHand | InventQtyAvail | MARD.LABST | QtyOnHand | QTYONHAND | quantity\_on\_hand |
| MIN\_MINMAX\_QUANTITY | REOP | tcibd001.safa | MinOrderQty | Reorder\_Point\_Quantity | pt\_mstr.pt\_rop | reorderPoint | ReorderPoint | MARC.BESGR | ReorderPoint | REORDERPOINT | reorder\_point |
| DEFAULT\_BUYER\_ID | SUNO | tdipu001.suno | PrimPRec | Default\_Supplier\_ID | pt\_mstr.pt\_vend | preferredVendor | PreferredVendor | EINA.LIFNR | PreferredSupplierId | PREFERREDVENDORID | preferred\_vendor\_id |
β‘οΈ **CDF Fields & SQL Types:**
* `item_id` β VARCHAR(64)
* `item_name` β VARCHAR(255)
* `description` β TEXT
* `purchase_description` β TEXT
* `sales_description` β TEXT
* `base_price` β DECIMAL(18,2)
* `cost_price` β DECIMAL(18,2)
* `unit_type` β VARCHAR(32)
* `is_active` β BOOLEAN
* `quantity_on_hand` β INT
* `reorder_point` β INT
* `preferred_vendor_id` β VARCHAR(64)
|