Add `pipekit export` / `pipekit apply` (pipekit/config_io.py) to serialise the DB's config — drivers, connections, modules (+ columns, watermarks, hooks), groups, schedules — to a git-trackable text tree under config/, and rehydrate it. SQLite stays runtime state; definitions become diffable/reviewable/ revertible. - config only: run_log/group_run/settings and per-run state columns excluded - name-keyed refs (portable across databases); source_query in .sql sidecars; columns as real JSON arrays for line-by-line diffs - newline-normalised so CRLF-vs-LF is never a spurious change - apply is create/update by name; child collections fully synced; top-level deletes gated behind --prune; --dry-run prints the plan - round-trip is identity (export -> apply --dry-run == nothing to do) Commits the current config/ as the first baseline, capturing the freshly populated columns_json for rm00101/rm00301/iv00101. Documented in SPEC.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1241 lines
30 KiB
JSON
1241 lines
30 KiB
JSON
{
|
|
"name": "ocrh",
|
|
"source_connection": "S78030956",
|
|
"dest_connection": "usmidsap02",
|
|
"dest_table": "cms.ocrh",
|
|
"staging_table": "pipekit_staging.ocrh",
|
|
"merge_strategy": "incremental",
|
|
"merge_key": "dcord#",
|
|
"enabled": 1,
|
|
"dest_description": "Customer Order Header 6.1",
|
|
"columns": [
|
|
{
|
|
"source_name": "DCORD#",
|
|
"source_type": "NUMERIC(9,0)",
|
|
"dest_name": "dcord#",
|
|
"dest_type": "numeric(9,0)",
|
|
"description": "Customer Order Number"
|
|
},
|
|
{
|
|
"source_name": "DCODAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "dcodat",
|
|
"dest_type": "date",
|
|
"description": "Date Entered"
|
|
},
|
|
{
|
|
"source_name": "DCOTYP",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcotyp",
|
|
"dest_type": "text",
|
|
"description": "Order Type: Blanket/Standard"
|
|
},
|
|
{
|
|
"source_name": "DCIUSE",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dciuse",
|
|
"dest_type": "text",
|
|
"description": "Order In Use"
|
|
},
|
|
{
|
|
"source_name": "DCBCUS",
|
|
"source_type": "CHAR(8)",
|
|
"dest_name": "dcbcus",
|
|
"dest_type": "text",
|
|
"description": "Bill-to Customer"
|
|
},
|
|
{
|
|
"source_name": "DCBNAM",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "dcbnam",
|
|
"dest_type": "text",
|
|
"description": "Bill-to Name"
|
|
},
|
|
{
|
|
"source_name": "DCBAD1",
|
|
"source_type": "CHAR(35)",
|
|
"dest_name": "dcbad1",
|
|
"dest_type": "text",
|
|
"description": "Bill-to Address"
|
|
},
|
|
{
|
|
"source_name": "DCBATT",
|
|
"source_type": "CHAR(25)",
|
|
"dest_name": "dcbatt",
|
|
"dest_type": "text",
|
|
"description": "Attention"
|
|
},
|
|
{
|
|
"source_name": "DCBPHO",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "dcbpho",
|
|
"dest_type": "text",
|
|
"description": "Phone Number"
|
|
},
|
|
{
|
|
"source_name": "DCTRCD",
|
|
"source_type": "CHAR(2)",
|
|
"dest_name": "dctrcd",
|
|
"dest_type": "text",
|
|
"description": "Terms Code"
|
|
},
|
|
{
|
|
"source_name": "DCNU28",
|
|
"source_type": "CHAR(28)",
|
|
"dest_name": "dcnu28",
|
|
"dest_type": "text",
|
|
"description": "Exempt/Export Permit"
|
|
},
|
|
{
|
|
"source_name": "DCSHVI",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "dcshvi",
|
|
"dest_type": "text",
|
|
"description": "Ship Via"
|
|
},
|
|
{
|
|
"source_name": "DCSCUS",
|
|
"source_type": "CHAR(8)",
|
|
"dest_name": "dcscus",
|
|
"dest_type": "text",
|
|
"description": "Ship-to Customer"
|
|
},
|
|
{
|
|
"source_name": "DCSNAM",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "dcsnam",
|
|
"dest_type": "text",
|
|
"description": "Ship-to Name"
|
|
},
|
|
{
|
|
"source_name": "DCSAD1",
|
|
"source_type": "CHAR(35)",
|
|
"dest_name": "dcsad1",
|
|
"dest_type": "text",
|
|
"description": "Ship-to Address 1"
|
|
},
|
|
{
|
|
"source_name": "DCSAD2",
|
|
"source_type": "CHAR(35)",
|
|
"dest_name": "dcsad2",
|
|
"dest_type": "text",
|
|
"description": "Ship-to Address 2"
|
|
},
|
|
{
|
|
"source_name": "DCSAD3",
|
|
"source_type": "CHAR(35)",
|
|
"dest_name": "dcsad3",
|
|
"dest_type": "text",
|
|
"description": "Ship-to Address 3"
|
|
},
|
|
{
|
|
"source_name": "DCSAD4",
|
|
"source_type": "CHAR(35)",
|
|
"dest_name": "dcsad4",
|
|
"dest_type": "text",
|
|
"description": "Ship-to Address 4"
|
|
},
|
|
{
|
|
"source_name": "DCSAD5",
|
|
"source_type": "CHAR(35)",
|
|
"dest_name": "dcsad5",
|
|
"dest_type": "text",
|
|
"description": "Ship-to Address 5"
|
|
},
|
|
{
|
|
"source_name": "DCSAD6",
|
|
"source_type": "CHAR(35)",
|
|
"dest_name": "dcsad6",
|
|
"dest_type": "text",
|
|
"description": "Ship-to Address 6"
|
|
},
|
|
{
|
|
"source_name": "DCSAD7",
|
|
"source_type": "CHAR(35)",
|
|
"dest_name": "dcsad7",
|
|
"dest_type": "text",
|
|
"description": "Ship-to Address 7"
|
|
},
|
|
{
|
|
"source_name": "DCSAD8",
|
|
"source_type": "CHAR(35)",
|
|
"dest_name": "dcsad8",
|
|
"dest_type": "text",
|
|
"description": "Ship-to Address 8"
|
|
},
|
|
{
|
|
"source_name": "DCSAD9",
|
|
"source_type": "CHAR(35)",
|
|
"dest_name": "dcsad9",
|
|
"dest_type": "text",
|
|
"description": "Ship-to Address 9"
|
|
},
|
|
{
|
|
"source_name": "DCSAD10",
|
|
"source_type": "CHAR(35)",
|
|
"dest_name": "dcsad10",
|
|
"dest_type": "text",
|
|
"description": "Ship-to Address 10"
|
|
},
|
|
{
|
|
"source_name": "DCSPOS",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "dcspos",
|
|
"dest_type": "text",
|
|
"description": "Ship-to Postal Code"
|
|
},
|
|
{
|
|
"source_name": "DCPO",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "dcpo",
|
|
"dest_type": "text",
|
|
"description": "Purchase Order"
|
|
},
|
|
{
|
|
"source_name": "DCQUOT",
|
|
"source_type": "CHAR(12)",
|
|
"dest_name": "dcquot",
|
|
"dest_type": "text",
|
|
"description": "Quote Number"
|
|
},
|
|
{
|
|
"source_name": "DCCURR",
|
|
"source_type": "CHAR(2)",
|
|
"dest_name": "dccurr",
|
|
"dest_type": "text",
|
|
"description": "Currency Code"
|
|
},
|
|
{
|
|
"source_name": "DCMDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "dcmdat",
|
|
"dest_type": "date",
|
|
"description": "Promise Date"
|
|
},
|
|
{
|
|
"source_name": "DCSLMN",
|
|
"source_type": "CHAR(5)",
|
|
"dest_name": "dcslmn",
|
|
"dest_type": "text",
|
|
"description": "Salesman Code"
|
|
},
|
|
{
|
|
"source_name": "DCCPCT",
|
|
"source_type": "NUMERIC(4,2)",
|
|
"dest_name": "dccpct",
|
|
"dest_type": "numeric(4,2)",
|
|
"description": "Commission percentage"
|
|
},
|
|
{
|
|
"source_name": "DCCRAT",
|
|
"source_type": "NUMERIC(5,2)",
|
|
"dest_name": "dccrat",
|
|
"dest_type": "numeric(5,2)",
|
|
"description": "Commission rate"
|
|
},
|
|
{
|
|
"source_name": "DCRES",
|
|
"source_type": "CHAR(5)",
|
|
"dest_name": "dcres",
|
|
"dest_type": "text",
|
|
"description": "Reserve"
|
|
},
|
|
{
|
|
"source_name": "DCFSTL",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "dcfstl",
|
|
"dest_type": "text",
|
|
"description": "FST Licence"
|
|
},
|
|
{
|
|
"source_name": "DCPSTL",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "dcpstl",
|
|
"dest_type": "text",
|
|
"description": "PST Licence"
|
|
},
|
|
{
|
|
"source_name": "DCPPCL",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcppcl",
|
|
"dest_type": "text",
|
|
"description": "Prepaid Collect"
|
|
},
|
|
{
|
|
"source_name": "DCGDIS",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "dcgdis",
|
|
"dest_type": "text",
|
|
"description": "Global Discount Code"
|
|
},
|
|
{
|
|
"source_name": "DCGDSF",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcgdsf",
|
|
"dest_type": "text",
|
|
"description": "Global Discount Flag"
|
|
},
|
|
{
|
|
"source_name": "DCSTAT",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcstat",
|
|
"dest_type": "text",
|
|
"description": "Status New, A, B/o, Comp"
|
|
},
|
|
{
|
|
"source_name": "DCWOPR",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcwopr",
|
|
"dest_type": "text",
|
|
"description": "Work Order Print Status"
|
|
},
|
|
{
|
|
"source_name": "DCNDL#",
|
|
"source_type": "NUMERIC(3,0)",
|
|
"dest_name": "dcndl#",
|
|
"dest_type": "numeric(3,0)",
|
|
"description": "Next description line no"
|
|
},
|
|
{
|
|
"source_name": "DCTOTO",
|
|
"source_type": "NUMERIC(10,2)",
|
|
"dest_name": "dctoto",
|
|
"dest_type": "numeric(10,2)",
|
|
"description": "Net Total"
|
|
},
|
|
{
|
|
"source_name": "DCTDIS",
|
|
"source_type": "NUMERIC(10,2)",
|
|
"dest_name": "dctdis",
|
|
"dest_type": "numeric(10,2)",
|
|
"description": "Total Discounts"
|
|
},
|
|
{
|
|
"source_name": "DCTTAX",
|
|
"source_type": "NUMERIC(10,2)",
|
|
"dest_name": "dcttax",
|
|
"dest_type": "numeric(10,2)",
|
|
"description": "Tax Total"
|
|
},
|
|
{
|
|
"source_name": "DCTFRT",
|
|
"source_type": "NUMERIC(10,2)",
|
|
"dest_name": "dctfrt",
|
|
"dest_type": "numeric(10,2)",
|
|
"description": "Freight Total"
|
|
},
|
|
{
|
|
"source_name": "DCTWGT",
|
|
"source_type": "NUMERIC(10,2)",
|
|
"dest_name": "dctwgt",
|
|
"dest_type": "numeric(10,2)",
|
|
"description": "Weight Total"
|
|
},
|
|
{
|
|
"source_name": "DCTWUN",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "dctwun",
|
|
"dest_type": "text",
|
|
"description": "Weight Unit"
|
|
},
|
|
{
|
|
"source_name": "DCTVOL",
|
|
"source_type": "NUMERIC(10,2)",
|
|
"dest_name": "dctvol",
|
|
"dest_type": "numeric(10,2)",
|
|
"description": "Volume Total"
|
|
},
|
|
{
|
|
"source_name": "DCTVUN",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "dctvun",
|
|
"dest_type": "text",
|
|
"description": "Volume Unit"
|
|
},
|
|
{
|
|
"source_name": "DCAVPR",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcavpr",
|
|
"dest_type": "text",
|
|
"description": "Available for Production"
|
|
},
|
|
{
|
|
"source_name": "DCUDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "dcudat",
|
|
"dest_type": "date",
|
|
"description": "Date Changed"
|
|
},
|
|
{
|
|
"source_name": "DCUSRE",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "dcusre",
|
|
"dest_type": "text",
|
|
"description": "Entered by User"
|
|
},
|
|
{
|
|
"source_name": "DCUSRC",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "dcusrc",
|
|
"dest_type": "text",
|
|
"description": "Changed by User"
|
|
},
|
|
{
|
|
"source_name": "DCINV#",
|
|
"source_type": "NUMERIC(9,0)",
|
|
"dest_name": "dcinv#",
|
|
"dest_type": "numeric(9,0)",
|
|
"description": "Last Invoice Created"
|
|
},
|
|
{
|
|
"source_name": "DCOBAL",
|
|
"source_type": "NUMERIC(10,2)",
|
|
"dest_name": "dcobal",
|
|
"dest_type": "numeric(10,2)",
|
|
"description": "Order Balance"
|
|
},
|
|
{
|
|
"source_name": "DCARBK",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "dcarbk",
|
|
"dest_type": "text",
|
|
"description": "A/R Bank Code"
|
|
},
|
|
{
|
|
"source_name": "DCSTKL",
|
|
"source_type": "CHAR(6)",
|
|
"dest_name": "dcstkl",
|
|
"dest_type": "text",
|
|
"description": "Default Stock Loc"
|
|
},
|
|
{
|
|
"source_name": "DCRFNO",
|
|
"source_type": "NUMERIC(9,0)",
|
|
"dest_name": "dcrfno",
|
|
"dest_type": "numeric(9,0)",
|
|
"description": "Reference Invoice"
|
|
},
|
|
{
|
|
"source_name": "DCXDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "dcxdat",
|
|
"dest_type": "date",
|
|
"description": "Reference Date"
|
|
},
|
|
{
|
|
"source_name": "DCTERR",
|
|
"source_type": "CHAR(4)",
|
|
"dest_name": "dcterr",
|
|
"dest_type": "text",
|
|
"description": "Territory Code"
|
|
},
|
|
{
|
|
"source_name": "DCSLIP",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcslip",
|
|
"dest_type": "text",
|
|
"description": "Credit Print Status"
|
|
},
|
|
{
|
|
"source_name": "DCCARC",
|
|
"source_type": "CHAR(17)",
|
|
"dest_name": "dccarc",
|
|
"dest_type": "text",
|
|
"description": "Carrier Code"
|
|
},
|
|
{
|
|
"source_name": "DCSERC",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "dcserc",
|
|
"dest_type": "text",
|
|
"description": "Service Code"
|
|
},
|
|
{
|
|
"source_name": "DCSDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "dcsdat",
|
|
"dest_type": "date",
|
|
"description": "Shipped Date"
|
|
},
|
|
{
|
|
"source_name": "DCHDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "dchdat",
|
|
"dest_type": "date",
|
|
"description": "Credit Hold Date NOT USE"
|
|
},
|
|
{
|
|
"source_name": "DCDDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "dcddat",
|
|
"dest_type": "date",
|
|
"description": "Don't Ship Before"
|
|
},
|
|
{
|
|
"source_name": "DCFDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "dcfdat",
|
|
"dest_type": "date",
|
|
"description": "Confirm Ship Date NOT USE"
|
|
},
|
|
{
|
|
"source_name": "DCRDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "dcrdat",
|
|
"dest_type": "date",
|
|
"description": "Reschedule Date NOT USE"
|
|
},
|
|
{
|
|
"source_name": "DCQDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "dcqdat",
|
|
"dest_type": "date",
|
|
"description": "Request Date"
|
|
},
|
|
{
|
|
"source_name": "DCCDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "dccdat",
|
|
"dest_type": "date",
|
|
"description": "Cancel Date"
|
|
},
|
|
{
|
|
"source_name": "DCHREA",
|
|
"source_type": "CHAR(2)",
|
|
"dest_name": "dchrea",
|
|
"dest_type": "text",
|
|
"description": "Hold Status Reason Code"
|
|
},
|
|
{
|
|
"source_name": "DCBOFG",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcbofg",
|
|
"dest_type": "text",
|
|
"description": "Allow Back Order Code"
|
|
},
|
|
{
|
|
"source_name": "DCAPLG",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcaplg",
|
|
"dest_type": "text",
|
|
"description": "Auto Pick List Create"
|
|
},
|
|
{
|
|
"source_name": "DCFOBC",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "dcfobc",
|
|
"dest_type": "text",
|
|
"description": "FOB Code"
|
|
},
|
|
{
|
|
"source_name": "DCSCOM",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcscom",
|
|
"dest_type": "text",
|
|
"description": "Ship Complete"
|
|
},
|
|
{
|
|
"source_name": "DCOSRC",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "dcosrc",
|
|
"dest_type": "text",
|
|
"description": "Order Source Man/Edi/Fax"
|
|
},
|
|
{
|
|
"source_name": "DCOFXD",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcofxd",
|
|
"dest_type": "text",
|
|
"description": "Order Faxed"
|
|
},
|
|
{
|
|
"source_name": "DCSLCS",
|
|
"source_type": "CHAR(8)",
|
|
"dest_name": "dcslcs",
|
|
"dest_type": "text",
|
|
"description": "Sold from Customer"
|
|
},
|
|
{
|
|
"source_name": "DCCRTY",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dccrty",
|
|
"dest_type": "text",
|
|
"description": "Pay By Credit card"
|
|
},
|
|
{
|
|
"source_name": "DCCRDT",
|
|
"source_type": "CHAR(2)",
|
|
"dest_name": "dccrdt",
|
|
"dest_type": "text",
|
|
"description": "Obsoleted"
|
|
},
|
|
{
|
|
"source_name": "DCCRD#",
|
|
"source_type": "CHAR(16)",
|
|
"dest_name": "dccrd#",
|
|
"dest_type": "text",
|
|
"description": "Obsoleted"
|
|
},
|
|
{
|
|
"source_name": "DCEXPR",
|
|
"source_type": "CHAR(8)",
|
|
"dest_name": "dcexpr",
|
|
"dest_type": "text",
|
|
"description": "Obsoleted"
|
|
},
|
|
{
|
|
"source_name": "DCHODR",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "dchodr",
|
|
"dest_type": "text",
|
|
"description": "Obsoleted"
|
|
},
|
|
{
|
|
"source_name": "DCCRNM",
|
|
"source_type": "NUMERIC(10,2)",
|
|
"dest_name": "dccrnm",
|
|
"dest_type": "numeric(10,2)",
|
|
"description": "Need Authorized Amount"
|
|
},
|
|
{
|
|
"source_name": "DCSHBF",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcshbf",
|
|
"dest_type": "text",
|
|
"description": "Allow ship Before auth."
|
|
},
|
|
{
|
|
"source_name": "DCCLEN",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "dcclen",
|
|
"dest_type": "text",
|
|
"description": "Customer Client Number"
|
|
},
|
|
{
|
|
"source_name": "DDFTTX",
|
|
"source_type": "NUMERIC(10,2)",
|
|
"dest_name": "ddfttx",
|
|
"dest_type": "numeric(10,2)",
|
|
"description": "Global Quantity"
|
|
},
|
|
{
|
|
"source_name": "DCFUT1",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "dcfut1",
|
|
"dest_type": "text",
|
|
"description": "Future Field 1"
|
|
},
|
|
{
|
|
"source_name": "DCFUT2",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "dcfut2",
|
|
"dest_type": "text",
|
|
"description": "Future Field"
|
|
},
|
|
{
|
|
"source_name": "DCFLG1",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcflg1",
|
|
"dest_type": "text",
|
|
"description": "Future Flag"
|
|
},
|
|
{
|
|
"source_name": "DCFLG2",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcflg2",
|
|
"dest_type": "text",
|
|
"description": "Future Flag"
|
|
},
|
|
{
|
|
"source_name": "DCREFN",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "dcrefn",
|
|
"dest_type": "text",
|
|
"description": "Cust. Reference"
|
|
},
|
|
{
|
|
"source_name": "DCPLNT",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "dcplnt",
|
|
"dest_type": "text",
|
|
"description": "Plant Code"
|
|
},
|
|
{
|
|
"source_name": "DCFUT3",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "dcfut3",
|
|
"dest_type": "text",
|
|
"description": "Future Field"
|
|
},
|
|
{
|
|
"source_name": "DCFUT4",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "dcfut4",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DCFUT5",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "dcfut5",
|
|
"dest_type": "text",
|
|
"description": "Future Field 5"
|
|
},
|
|
{
|
|
"source_name": "DCFUT6",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "dcfut6",
|
|
"dest_type": "text",
|
|
"description": "Future Field 6"
|
|
},
|
|
{
|
|
"source_name": "DCFUT7",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "dcfut7",
|
|
"dest_type": "text",
|
|
"description": "Future Field 7"
|
|
},
|
|
{
|
|
"source_name": "DCFUT8",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "dcfut8",
|
|
"dest_type": "text",
|
|
"description": "Future Field 8"
|
|
},
|
|
{
|
|
"source_name": "DCFUT9",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "dcfut9",
|
|
"dest_type": "text",
|
|
"description": "Future Field 9"
|
|
},
|
|
{
|
|
"source_name": "DCDAT1",
|
|
"source_type": "DATE",
|
|
"dest_name": "dcdat1",
|
|
"dest_type": "date",
|
|
"description": "Orig. Required Date"
|
|
},
|
|
{
|
|
"source_name": "DCDAT2",
|
|
"source_type": "DATE",
|
|
"dest_name": "dcdat2",
|
|
"dest_type": "date",
|
|
"description": "Future Date 2"
|
|
},
|
|
{
|
|
"source_name": "DCFLG3",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcflg3",
|
|
"dest_type": "text",
|
|
"description": "Future Flag"
|
|
},
|
|
{
|
|
"source_name": "DCFLG4",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcflg4",
|
|
"dest_type": "text",
|
|
"description": "System-Stamped Credit Hold at Order Creation"
|
|
},
|
|
{
|
|
"source_name": "DCFLG5",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcflg5",
|
|
"dest_type": "text",
|
|
"description": "Future Flag"
|
|
},
|
|
{
|
|
"source_name": "DCFLG6",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcflg6",
|
|
"dest_type": "text",
|
|
"description": "Use Multi-Orders Discount Package"
|
|
},
|
|
{
|
|
"source_name": "DCFLG7",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcflg7",
|
|
"dest_type": "text",
|
|
"description": "Web-Service In-Use"
|
|
},
|
|
{
|
|
"source_name": "DCFUT10",
|
|
"source_type": "NUMERIC(10,0)",
|
|
"dest_name": "dcfut10",
|
|
"dest_type": "numeric(10,0)",
|
|
"description": "Future Field 10"
|
|
},
|
|
{
|
|
"source_name": "DCFUT11",
|
|
"source_type": "NUMERIC(10,0)",
|
|
"dest_name": "dcfut11",
|
|
"dest_type": "numeric(10,0)",
|
|
"description": "Future Field 11"
|
|
},
|
|
{
|
|
"source_name": "DCFUT12",
|
|
"source_type": "NUMERIC(11,2)",
|
|
"dest_name": "dcfut12",
|
|
"dest_type": "numeric(11,2)",
|
|
"description": "Future Field 12"
|
|
},
|
|
{
|
|
"source_name": "DCFUT13",
|
|
"source_type": "NUMERIC(11,2)",
|
|
"dest_name": "dcfut13",
|
|
"dest_type": "numeric(11,2)",
|
|
"description": "Future Field 13"
|
|
},
|
|
{
|
|
"source_name": "DCFUT14",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "dcfut14",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Future Field 14"
|
|
},
|
|
{
|
|
"source_name": "DCFUT15",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "dcfut15",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Future Field 15"
|
|
},
|
|
{
|
|
"source_name": "DCFUT16",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "dcfut16",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Future Field 16"
|
|
},
|
|
{
|
|
"source_name": "DCFUT17",
|
|
"source_type": "NUMERIC(3,0)",
|
|
"dest_name": "dcfut17",
|
|
"dest_type": "numeric(3,0)",
|
|
"description": "Future Field 17"
|
|
},
|
|
{
|
|
"source_name": "DCFUT18",
|
|
"source_type": "NUMERIC(3,0)",
|
|
"dest_name": "dcfut18",
|
|
"dest_type": "numeric(3,0)",
|
|
"description": "Future Field 18"
|
|
},
|
|
{
|
|
"source_name": "DCFUT19",
|
|
"source_type": "NUMERIC(5,0)",
|
|
"dest_name": "dcfut19",
|
|
"dest_type": "numeric(5,0)",
|
|
"description": "Future Field 19"
|
|
},
|
|
{
|
|
"source_name": "DCFUT20",
|
|
"source_type": "NUMERIC(5,0)",
|
|
"dest_name": "dcfut20",
|
|
"dest_type": "numeric(5,0)",
|
|
"description": "Future Field 20"
|
|
},
|
|
{
|
|
"source_name": "DCDEPT",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "dcdept",
|
|
"dest_type": "text",
|
|
"description": "Department Number"
|
|
},
|
|
{
|
|
"source_name": "DCPROM",
|
|
"source_type": "CHAR(35)",
|
|
"dest_name": "dcprom",
|
|
"dest_type": "text",
|
|
"description": "Promotion Number"
|
|
},
|
|
{
|
|
"source_name": "DCCLMO",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcclmo",
|
|
"dest_type": "text",
|
|
"description": "Claim Order"
|
|
},
|
|
{
|
|
"source_name": "DCTTMZ",
|
|
"source_type": "CHAR(4)",
|
|
"dest_name": "dcttmz",
|
|
"dest_type": "text",
|
|
"description": "Customer Time Zone"
|
|
},
|
|
{
|
|
"source_name": "DCCTMZ",
|
|
"source_type": "CHAR(4)",
|
|
"dest_name": "dcctmz",
|
|
"dest_type": "text",
|
|
"description": "Cancel Date Time Zone"
|
|
},
|
|
{
|
|
"source_name": "DCOTMZ",
|
|
"source_type": "CHAR(4)",
|
|
"dest_name": "dcotmz",
|
|
"dest_type": "text",
|
|
"description": "Date Entered Time Zone"
|
|
},
|
|
{
|
|
"source_name": "DCMTMZ",
|
|
"source_type": "CHAR(4)",
|
|
"dest_name": "dcmtmz",
|
|
"dest_type": "text",
|
|
"description": "Promise Date Time Zone"
|
|
},
|
|
{
|
|
"source_name": "DCQTMZ",
|
|
"source_type": "CHAR(4)",
|
|
"dest_name": "dcqtmz",
|
|
"dest_type": "text",
|
|
"description": "Request Date Time Zone"
|
|
},
|
|
{
|
|
"source_name": "DCSTMZ",
|
|
"source_type": "CHAR(4)",
|
|
"dest_name": "dcstmz",
|
|
"dest_type": "text",
|
|
"description": "Ship Date Time Zone"
|
|
},
|
|
{
|
|
"source_name": "DCMTME",
|
|
"source_type": "NUMERIC(4,0)",
|
|
"dest_name": "dcmtme",
|
|
"dest_type": "numeric(4,0)",
|
|
"description": "Promise Time"
|
|
},
|
|
{
|
|
"source_name": "DCMXDT",
|
|
"source_type": "DATE",
|
|
"dest_name": "dcmxdt",
|
|
"dest_type": "date",
|
|
"description": "Promise Date Cust TM"
|
|
},
|
|
{
|
|
"source_name": "DCMXTM",
|
|
"source_type": "NUMERIC(4,0)",
|
|
"dest_name": "dcmxtm",
|
|
"dest_type": "numeric(4,0)",
|
|
"description": "Promise Time Cust TM"
|
|
},
|
|
{
|
|
"source_name": "DCR870",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcr870",
|
|
"dest_type": "text",
|
|
"description": "Require Order Status Report (870)"
|
|
},
|
|
{
|
|
"source_name": "DCS870",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcs870",
|
|
"dest_type": "text",
|
|
"description": "Order Status Report (870) Completion Flag"
|
|
},
|
|
{
|
|
"source_name": "DCFCHG",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcfchg",
|
|
"dest_type": "text",
|
|
"description": "Frt. Code Manual Change Flag"
|
|
},
|
|
{
|
|
"source_name": "DCSTTP",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcsttp",
|
|
"dest_type": "text",
|
|
"description": "Ship-To Type"
|
|
},
|
|
{
|
|
"source_name": "DCSCNS",
|
|
"source_type": "CHAR(8)",
|
|
"dest_name": "dcscns",
|
|
"dest_type": "text",
|
|
"description": "Ship-To Consumer"
|
|
},
|
|
{
|
|
"source_name": "DCOTMC",
|
|
"source_type": "CHAR(2)",
|
|
"dest_name": "dcotmc",
|
|
"dest_type": "text",
|
|
"description": "original Term Code before PPC"
|
|
},
|
|
{
|
|
"source_name": "DCOFOM",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "dcofom",
|
|
"dest_type": "text",
|
|
"description": "original FOB before PPC"
|
|
},
|
|
{
|
|
"source_name": "DCOFTM",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcoftm",
|
|
"dest_type": "text",
|
|
"description": "original freight term"
|
|
},
|
|
{
|
|
"source_name": "DCAPPTM",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcapptm",
|
|
"dest_type": "text",
|
|
"description": "Apply PPC Term Code"
|
|
},
|
|
{
|
|
"source_name": "DCEXPO",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcexpo",
|
|
"dest_type": "text",
|
|
"description": "Expedited Order"
|
|
},
|
|
{
|
|
"source_name": "DCSDLV",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcsdlv",
|
|
"dest_type": "text",
|
|
"description": "Saturday Delivery"
|
|
},
|
|
{
|
|
"source_name": "DCSPIC",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcspic",
|
|
"dest_type": "text",
|
|
"description": "Saturday Pickup"
|
|
},
|
|
{
|
|
"source_name": "DCFRTC",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcfrtc",
|
|
"dest_type": "text",
|
|
"description": "Obsoleted"
|
|
},
|
|
{
|
|
"source_name": "DCCPLT",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "dccplt",
|
|
"dest_type": "text",
|
|
"description": "Create-At Plant"
|
|
},
|
|
{
|
|
"source_name": "DCSDBC",
|
|
"source_type": "CHAR(17)",
|
|
"dest_name": "dcsdbc",
|
|
"dest_type": "text",
|
|
"description": "SCD Tier-1 Bill-to Customer"
|
|
},
|
|
{
|
|
"source_name": "DCSDBS",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "dcsdbs",
|
|
"dest_type": "text",
|
|
"description": "SCD Tier-1 Bill-to Supplier"
|
|
},
|
|
{
|
|
"source_name": "DCSDSC",
|
|
"source_type": "CHAR(17)",
|
|
"dest_name": "dcsdsc",
|
|
"dest_type": "text",
|
|
"description": "SCD Tier-1 Ship-to Customer"
|
|
},
|
|
{
|
|
"source_name": "DCSDSS",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "dcsdss",
|
|
"dest_type": "text",
|
|
"description": "SCD Tier-1 Ship-to Supplier"
|
|
},
|
|
{
|
|
"source_name": "DCSDCR",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "dcsdcr",
|
|
"dest_type": "text",
|
|
"description": "SCD Tier-1 Customer Reference"
|
|
},
|
|
{
|
|
"source_name": "DCSCPO",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "dcscpo",
|
|
"dest_type": "text",
|
|
"description": "SCD Tier-1 Customer PO #"
|
|
},
|
|
{
|
|
"source_name": "DCSCOR",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "dcscor",
|
|
"dest_type": "text",
|
|
"description": "SCD Tier-1 Order #"
|
|
},
|
|
{
|
|
"source_name": "DCFROM",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcfrom",
|
|
"dest_type": "text",
|
|
"description": "Order Origination"
|
|
},
|
|
{
|
|
"source_name": "DCSCTY",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "dcscty",
|
|
"dest_type": "text",
|
|
"description": "Shipto City"
|
|
},
|
|
{
|
|
"source_name": "DCSPOV",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "dcspov",
|
|
"dest_type": "text",
|
|
"description": "Shipto State/ Province Code"
|
|
},
|
|
{
|
|
"source_name": "DCSCRY",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "dcscry",
|
|
"dest_type": "text",
|
|
"description": "Shipto Country Code"
|
|
},
|
|
{
|
|
"source_name": "DCFUT21",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "dcfut21",
|
|
"dest_type": "text",
|
|
"description": "Future Field 21"
|
|
},
|
|
{
|
|
"source_name": "DCFUT22",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "dcfut22",
|
|
"dest_type": "text",
|
|
"description": "Future Field 22"
|
|
},
|
|
{
|
|
"source_name": "DCFUT23",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "dcfut23",
|
|
"dest_type": "text",
|
|
"description": "Future Field 23"
|
|
},
|
|
{
|
|
"source_name": "DCFUT24",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "dcfut24",
|
|
"dest_type": "text",
|
|
"description": "Future Field 24"
|
|
},
|
|
{
|
|
"source_name": "DCFUT25",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "dcfut25",
|
|
"dest_type": "text",
|
|
"description": "Future Field 25"
|
|
},
|
|
{
|
|
"source_name": "DCFUT26",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "dcfut26",
|
|
"dest_type": "text",
|
|
"description": "Future Field 26"
|
|
},
|
|
{
|
|
"source_name": "DCSLSCH",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "dcslsch",
|
|
"dest_type": "text",
|
|
"description": "Sales Channel Code"
|
|
},
|
|
{
|
|
"source_name": "DCARBOI",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcarboi",
|
|
"dest_type": "text",
|
|
"description": "Auto Release Bill by Order Invoice"
|
|
},
|
|
{
|
|
"source_name": "DCBBORT",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcbbort",
|
|
"dest_type": "text",
|
|
"description": "Bill by Order"
|
|
},
|
|
{
|
|
"source_name": "DCPBBOR",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dcpbbor",
|
|
"dest_type": "text",
|
|
"description": "Post Bill by Order Invoice"
|
|
},
|
|
{
|
|
"source_name": "DCSCPHN",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "dcscphn",
|
|
"dest_type": "text",
|
|
"description": "Ship to Customer Phone"
|
|
},
|
|
{
|
|
"source_name": "DC4473PN",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "dc4473pn",
|
|
"dest_type": "text",
|
|
"description": "4473 Permit Number"
|
|
},
|
|
{
|
|
"source_name": "DCSCONT",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "dcscont",
|
|
"dest_type": "text",
|
|
"description": "Ship to Customer Contact"
|
|
},
|
|
{
|
|
"source_name": "DCADRSN",
|
|
"source_type": "NUMERIC(10,0)",
|
|
"dest_name": "dcadrsn",
|
|
"dest_type": "numeric(10,0)",
|
|
"description": "Address Number"
|
|
},
|
|
{
|
|
"source_name": "DCHFEE",
|
|
"source_type": "NUMERIC(11,2)",
|
|
"dest_name": "dchfee",
|
|
"dest_type": "numeric(11,2)",
|
|
"description": "Handling Fee Total"
|
|
},
|
|
{
|
|
"source_name": "DCHFEETX",
|
|
"source_type": "NUMERIC(11,2)",
|
|
"dest_name": "dchfeetx",
|
|
"dest_type": "numeric(11,2)",
|
|
"description": "Freight Tax"
|
|
},
|
|
{
|
|
"source_name": "DCAFAX",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "dcafax",
|
|
"dest_type": "text",
|
|
"description": "Adhoc Fax Number"
|
|
},
|
|
{
|
|
"source_name": "DCAEMAIL",
|
|
"source_type": "CHAR(50)",
|
|
"dest_name": "dcaemail",
|
|
"dest_type": "text",
|
|
"description": "Adhoc Email"
|
|
},
|
|
{
|
|
"source_name": "DCFOID",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "dcfoid",
|
|
"dest_type": "text",
|
|
"description": "State/County FOID"
|
|
}
|
|
],
|
|
"watermarks": [
|
|
{
|
|
"name": "ocrh_wm",
|
|
"connection": "usmidsap02",
|
|
"resolver_sql": "SELECT COALESCE(MAX(dcudat), DATE '1900-01-01') - 7 FROM cms.ocrh",
|
|
"default_value": null
|
|
}
|
|
],
|
|
"hooks": []
|
|
}
|