From 0736afca984dd3aa84fc64d4c309f285db1f4bbc Mon Sep 17 00:00:00 2001 From: Richard Swinbank Date: Sun, 23 Oct 2022 13:06:07 +0100 Subject: [PATCH] updated catalog --- Labs/TableCatalog.json | 263 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 263 insertions(+) diff --git a/Labs/TableCatalog.json b/Labs/TableCatalog.json index d0044df..376ddab 100644 --- a/Labs/TableCatalog.json +++ b/Labs/TableCatalog.json @@ -805,5 +805,268 @@ "treatBooleanAsNumber": false } } + }, + { + "entityName": "SalesOrderHeader", + "translator": { + "type": "TabularTranslator", + "mappings": [ + { + "source": { + "type": "Int32", + "ordinal": 1 + }, + "sink": { + "name": "SalesOrderID", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "Int32", + "ordinal": 2 + }, + "sink": { + "name": "RevisionNumber", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "DateTime", + "ordinal": 3 + }, + "sink": { + "name": "OrderDate", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "DateTime", + "ordinal": 4 + }, + "sink": { + "name": "DueDate", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "DateTime", + "ordinal": 5 + }, + "sink": { + "name": "ShipDate", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "Int32", + "ordinal": 6 + }, + "sink": { + "name": "Status", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "Int32", + "ordinal": 7 + }, + "sink": { + "name": "OnlineOrderFlag", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "String", + "ordinal": 8 + }, + "sink": { + "name": "SalesOrderNumber", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "String", + "ordinal": 9 + }, + "sink": { + "name": "PurchaseOrderNumber", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "String", + "ordinal": 10 + }, + "sink": { + "name": "AccountNumber", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "Int32", + "ordinal": 11 + }, + "sink": { + "name": "CustomerID", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "Int32", + "ordinal": 12 + }, + "sink": { + "name": "SalesPersonID", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "Int32", + "ordinal": 13 + }, + "sink": { + "name": "TerritoryID", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "Int32", + "ordinal": 14 + }, + "sink": { + "name": "BillToAddressID", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "Int32", + "ordinal": 15 + }, + "sink": { + "name": "ShipToAddressID", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "Int32", + "ordinal": 16 + }, + "sink": { + "name": "ShipMethodID", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "Int32", + "ordinal": 17 + }, + "sink": { + "name": "CreditCardID", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "String", + "ordinal": 18 + }, + "sink": { + "name": "CreditCardApprovalCode", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "Int32", + "ordinal": 19 + }, + "sink": { + "name": "CurrencyRateID", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "Decimal", + "ordinal": 20 + }, + "sink": { + "name": "SubTotal", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "Decimal", + "ordinal": 21 + }, + "sink": { + "name": "TaxAmt", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "Decimal", + "ordinal": 22 + }, + "sink": { + "name": "Freight", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "Decimal", + "ordinal": 23 + }, + "sink": { + "name": "TotalDue", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "DateTime", + "ordinal": 24 + }, + "sink": { + "name": "rowguid", + "physicalType": "UTF8" + } + }, + { + "source": { + "type": "DateTime", + "ordinal": 25 + }, + "sink": { + "name": "ModifiedDate", + "physicalType": "UTF8" + } + } + ], + "typeConversion": true, + "typeConversionSettings": { + "allowDataTruncation": true, + "treatBooleanAsNumber": false + } + } } ] \ No newline at end of file