config/ had drifted from pipekit.db: group memberships and three
schedules existed only in the DB, cjobdr and cjobh had no sidecars at
all, and ab.{json,sql} was left over from a module no longer in the DB
(an apply would have recreated it). pipekit apply --dry-run now reports
that the database matches config.
Two real inconsistencies fixed in ffpdglr1.json: it was missing the
ffpdglr1_hot watermark added with the rollover hot set, so an apply from
files would have deleted the watermark while the committed SQL still
referenced {ffpdglr1_hot}; and its period resolver had been edited in the
UI without an export, so the file carried a stale format('%L', ...)
variant.
Purchasing members were all run_order 0, which happened to sort
poh, poh_deleted, poi alphabetically and satisfy the real constraints by
accident. Now explicit: poh 1, poi 2, poh_deleted 3 -- poi resolves its
watermark off cms.poh, and poh_deleted's first hook reads cms.poh.
Also describes eight GP modules that had no description (dest_description
is the half the sidecar format carries; the module-level description
lives only in the DB).
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
632 lines
15 KiB
JSON
632 lines
15 KiB
JSON
{
|
|
"name": "cjobh",
|
|
"source_connection": "S78030956",
|
|
"dest_connection": "usmidsap02",
|
|
"dest_table": "cms.cjobh",
|
|
"staging_table": "pipekit_staging.cjobh",
|
|
"merge_strategy": "full",
|
|
"merge_key": null,
|
|
"enabled": 1,
|
|
"dest_description": "Current Job Header (Work orders) 6.1",
|
|
"columns": [
|
|
{
|
|
"source_name": "DNJOB",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "dnjob",
|
|
"dest_type": "text",
|
|
"description": "Job Number"
|
|
},
|
|
{
|
|
"source_name": "DNPART",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "dnpart",
|
|
"dest_type": "text",
|
|
"description": "Part Number"
|
|
},
|
|
{
|
|
"source_name": "DNCUST",
|
|
"source_type": "CHAR(8)",
|
|
"dest_name": "dncust",
|
|
"dest_type": "text",
|
|
"description": "Customer Code"
|
|
},
|
|
{
|
|
"source_name": "DNNAME",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "dnname",
|
|
"dest_type": "text",
|
|
"description": "Cust Name"
|
|
},
|
|
{
|
|
"source_name": "DNPRT",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "dnprt",
|
|
"dest_type": "text",
|
|
"description": "Customer Part Number"
|
|
},
|
|
{
|
|
"source_name": "DNDES",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "dndes",
|
|
"dest_type": "text",
|
|
"description": "Description"
|
|
},
|
|
{
|
|
"source_name": "DNPO",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "dnpo",
|
|
"dest_type": "text",
|
|
"description": "PO Number"
|
|
},
|
|
{
|
|
"source_name": "DNODAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "dnodat",
|
|
"dest_type": "date",
|
|
"description": "Date Opened"
|
|
},
|
|
{
|
|
"source_name": "DNQTYR",
|
|
"source_type": "NUMERIC(8,0)",
|
|
"dest_name": "dnqtyr",
|
|
"dest_type": "numeric(8,0)",
|
|
"description": "Quantity Required"
|
|
},
|
|
{
|
|
"source_name": "DNRDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "dnrdat",
|
|
"dest_type": "date",
|
|
"description": "Date Required"
|
|
},
|
|
{
|
|
"source_name": "DNRTIM",
|
|
"source_type": "TIME",
|
|
"dest_name": "dnrtim",
|
|
"dest_type": "time",
|
|
"description": "Time Required by"
|
|
},
|
|
{
|
|
"source_name": "DNTMZN",
|
|
"source_type": "CHAR(4)",
|
|
"dest_name": "dntmzn",
|
|
"dest_type": "text",
|
|
"description": "Time Zone Code"
|
|
},
|
|
{
|
|
"source_name": "DNNMAT",
|
|
"source_type": "NUMERIC(3,0)",
|
|
"dest_name": "dnnmat",
|
|
"dest_type": "numeric(3,0)",
|
|
"description": "# Matl Recs"
|
|
},
|
|
{
|
|
"source_name": "DNNOS",
|
|
"source_type": "NUMERIC(3,0)",
|
|
"dest_name": "dnnos",
|
|
"dest_type": "numeric(3,0)",
|
|
"description": "# OS Serv Recs"
|
|
},
|
|
{
|
|
"source_name": "DNNROT",
|
|
"source_type": "NUMERIC(3,0)",
|
|
"dest_name": "dnnrot",
|
|
"dest_type": "numeric(3,0)",
|
|
"description": "# Routing Recs"
|
|
},
|
|
{
|
|
"source_name": "DNSTAT",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnstat",
|
|
"dest_type": "text",
|
|
"description": "Job Status"
|
|
},
|
|
{
|
|
"source_name": "DNPRNT",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnprnt",
|
|
"dest_type": "text",
|
|
"description": "Print Status"
|
|
},
|
|
{
|
|
"source_name": "DNBK01",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnbk01",
|
|
"dest_type": "text",
|
|
"description": "Delete Flag"
|
|
},
|
|
{
|
|
"source_name": "DNFLAG",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnflag",
|
|
"dest_type": "text",
|
|
"description": "Changed Flag"
|
|
},
|
|
{
|
|
"source_name": "DNSDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "dnsdat",
|
|
"dest_type": "date",
|
|
"description": "Scheduled Start Date"
|
|
},
|
|
{
|
|
"source_name": "DNSTIM",
|
|
"source_type": "TIME",
|
|
"dest_name": "dnstim",
|
|
"dest_type": "time",
|
|
"description": "Sched Start Time"
|
|
},
|
|
{
|
|
"source_name": "DNEDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "dnedat",
|
|
"dest_type": "date",
|
|
"description": "Scheduled Stop Date"
|
|
},
|
|
{
|
|
"source_name": "DNETIM",
|
|
"source_type": "TIME",
|
|
"dest_name": "dnetim",
|
|
"dest_type": "time",
|
|
"description": "Sched Stop Time"
|
|
},
|
|
{
|
|
"source_name": "DNSCMP",
|
|
"source_type": "NUMERIC(3,0)",
|
|
"dest_name": "dnscmp",
|
|
"dest_type": "numeric(3,0)",
|
|
"description": "Last Completed Seq"
|
|
},
|
|
{
|
|
"source_name": "DNBDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "dnbdat",
|
|
"dest_type": "date",
|
|
"description": "Date Completed"
|
|
},
|
|
{
|
|
"source_name": "DNBK04",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "dnbk04",
|
|
"dest_type": "text",
|
|
"description": "Alternate Method & Seq"
|
|
},
|
|
{
|
|
"source_name": "DNSMTH",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnsmth",
|
|
"dest_type": "text",
|
|
"description": "Method of Sched"
|
|
},
|
|
{
|
|
"source_name": "DNQCMP",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "dnqcmp",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Qty Complete to Date"
|
|
},
|
|
{
|
|
"source_name": "DNCDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "dncdat",
|
|
"dest_type": "date",
|
|
"description": "Critical Start Date"
|
|
},
|
|
{
|
|
"source_name": "DNCTIM",
|
|
"source_type": "TIME",
|
|
"dest_name": "dnctim",
|
|
"dest_type": "time",
|
|
"description": "Critical Start Time"
|
|
},
|
|
{
|
|
"source_name": "DNASEQ",
|
|
"source_type": "NUMERIC(3,0)",
|
|
"dest_name": "dnaseq",
|
|
"dest_type": "numeric(3,0)",
|
|
"description": "Last Active Seq"
|
|
},
|
|
{
|
|
"source_name": "DNFDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "dnfdat",
|
|
"dest_type": "date",
|
|
"description": "For Sched Start Date"
|
|
},
|
|
{
|
|
"source_name": "DNFTIM",
|
|
"source_type": "TIME",
|
|
"dest_name": "dnftim",
|
|
"dest_type": "time",
|
|
"description": "For Sched Start TIme"
|
|
},
|
|
{
|
|
"source_name": "DNPREF",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "dnpref",
|
|
"dest_type": "text",
|
|
"description": "Project Ref."
|
|
},
|
|
{
|
|
"source_name": "DNORD#",
|
|
"source_type": "NUMERIC(9,0)",
|
|
"dest_name": "dnord#",
|
|
"dest_type": "numeric(9,0)",
|
|
"description": "Customer Order Number"
|
|
},
|
|
{
|
|
"source_name": "DNITM#",
|
|
"source_type": "NUMERIC(3,0)",
|
|
"dest_name": "dnitm#",
|
|
"dest_type": "numeric(3,0)",
|
|
"description": "Item Number"
|
|
},
|
|
{
|
|
"source_name": "DNUNIT",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "dnunit",
|
|
"dest_type": "text",
|
|
"description": "Unit of Measure"
|
|
},
|
|
{
|
|
"source_name": "DNSTKL",
|
|
"source_type": "CHAR(6)",
|
|
"dest_name": "dnstkl",
|
|
"dest_type": "text",
|
|
"description": "Receive To Location"
|
|
},
|
|
{
|
|
"source_name": "DNPLAN",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "dnplan",
|
|
"dest_type": "text",
|
|
"description": "Buyer/Planner Code"
|
|
},
|
|
{
|
|
"source_name": "DNPARN",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "dnparn",
|
|
"dest_type": "text",
|
|
"description": "Parent Ref WO"
|
|
},
|
|
{
|
|
"source_name": "DNREL#",
|
|
"source_type": "CHAR(8)",
|
|
"dest_name": "dnrel#",
|
|
"dest_type": "text",
|
|
"description": "Release Number"
|
|
},
|
|
{
|
|
"source_name": "DNPLNT",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "dnplnt",
|
|
"dest_type": "text",
|
|
"description": "Plant Code"
|
|
},
|
|
{
|
|
"source_name": "DNFUT1",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "dnfut1",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT2",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "dnfut2",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT3",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "dnfut3",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT4",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "dnfut4",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT5",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "dnfut5",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT6",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnfut6",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT7",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnfut7",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT8",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnfut8",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT9",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnfut9",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUTA",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnfuta",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUTB",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "dnfutb",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUTC",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "dnfutc",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNMCHG",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnmchg",
|
|
"dest_type": "text",
|
|
"description": "Manual Change Flag"
|
|
},
|
|
{
|
|
"source_name": "DNMDAT",
|
|
"source_type": "DATE",
|
|
"dest_name": "dnmdat",
|
|
"dest_type": "date",
|
|
"description": "Manual Change Date"
|
|
},
|
|
{
|
|
"source_name": "DNALTM",
|
|
"source_type": "NUMERIC(3,0)",
|
|
"dest_name": "dnaltm",
|
|
"dest_type": "numeric(3,0)",
|
|
"description": "Alternate Method Number"
|
|
},
|
|
{
|
|
"source_name": "DNENGC",
|
|
"source_type": "CHAR(11)",
|
|
"dest_name": "dnengc",
|
|
"dest_type": "text",
|
|
"description": "Engineering Change #"
|
|
},
|
|
{
|
|
"source_name": "DNCREV",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "dncrev",
|
|
"dest_type": "text",
|
|
"description": "Customer Revision"
|
|
},
|
|
{
|
|
"source_name": "DNALTMN",
|
|
"source_type": "NUMERIC(3,0)",
|
|
"dest_name": "dnaltmn",
|
|
"dest_type": "numeric(3,0)",
|
|
"description": "Alternate Method #"
|
|
},
|
|
{
|
|
"source_name": "DNRAN",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "dnran",
|
|
"dest_type": "text",
|
|
"description": "RAN"
|
|
},
|
|
{
|
|
"source_name": "DNENGCN",
|
|
"source_type": "CHAR(11)",
|
|
"dest_name": "dnengcn",
|
|
"dest_type": "text",
|
|
"description": "Engineering Change #"
|
|
},
|
|
{
|
|
"source_name": "DNTPER",
|
|
"source_type": "NUMERIC(4,0)",
|
|
"dest_name": "dntper",
|
|
"dest_type": "numeric(4,0)",
|
|
"description": "WO Transfer Period"
|
|
},
|
|
{
|
|
"source_name": "DNUSBCM",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnusbcm",
|
|
"dest_type": "text",
|
|
"description": "Use Balance of Common Material"
|
|
},
|
|
{
|
|
"source_name": "DNERVN",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "dnervn",
|
|
"dest_type": "text",
|
|
"description": "Eng. Chg Rev"
|
|
},
|
|
{
|
|
"source_name": "DNMPTY",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnmpty",
|
|
"dest_type": "text",
|
|
"description": "Mark as Priority"
|
|
},
|
|
{
|
|
"source_name": "DNSFOMC",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnsfomc",
|
|
"dest_type": "text",
|
|
"description": "Feature Option Mat Cost"
|
|
},
|
|
{
|
|
"source_name": "DNFUT10",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "dnfut10",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT11",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "dnfut11",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT12",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "dnfut12",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT13",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "dnfut13",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT14",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "dnfut14",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT15",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnfut15",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT16",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnfut16",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT17",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnfut17",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT18",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnfut18",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT19",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnfut19",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT20",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnfut20",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT21",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnfut21",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT22",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnfut22",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT23",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnfut23",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT24",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "dnfut24",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT25",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "dnfut25",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT26",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "dnfut26",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT27",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "dnfut27",
|
|
"dest_type": "text",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT28",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "dnfut28",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT29",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "dnfut29",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Future Use"
|
|
},
|
|
{
|
|
"source_name": "DNFUT30",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "dnfut30",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Future Use"
|
|
}
|
|
],
|
|
"watermarks": [],
|
|
"hooks": []
|
|
}
|