From 078d8294c41d6306e5854e0e4ab53996b0ce2628 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Tue, 24 Nov 2020 01:23:02 -0500 Subject: [PATCH] quick notes on what the mappings are for --- setup_sql/mapping.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 setup_sql/mapping.md diff --git a/setup_sql/mapping.md b/setup_sql/mapping.md new file mode 100644 index 0000000..befc8a0 --- /dev/null +++ b/setup_sql/mapping.md @@ -0,0 +1,21 @@ +| tname | cname | opos | func | fkey | pretty | dtype | mastcol | appcol | dateref | +| ------- | -------------- | ---- | ------------ | ------------ | ------ | ------- | -------------- | ------------ | ------- | +| fc.live | fb_cst_loc | 91 | cost | | | numeric | fb_cst_loc | | | +| fc.live | ship_cust | 36 | scust | scust | | text | ship_cust | | | +| fc.live | rdate | 98 | rdate | rdate | | date | drange | | | +| fc.live | geo | 42 | scust | | | text | geo | customer | | +| fc.live | part | 54 | item | item | | text | part | item | | +| fc.live | odate | 96 | odate | odate | | date | drange | order_date | | +| fc.live | sdate | 100 | sdate | sdate | | date | sdate | ship_date | | +| fc.live | oseas | 97 | odate | | | integer | ssyr | | ssyr | +| fc.live | calc_status | 94 | order_status | order_status | | text | calc_status | order_status | | +| fc.live | rseas | 99 | rdate | | | integer | ssyr | | ssyr | +| fc.live | sseas | 101 | sdate | | | integer | ssyr | | ssyr | + + +* func: table name of associated data +* fkey: primary key of assoicated dat +* pretty: display column name +* mastcol: associated table column reference (whats the point of this?) +* appcol: parameters that will have to be supplied but the application +* dateref: