pipekit/config/modules/cjobdr.json
Paul Trowbridge 0f30c4b921 Export config to match the database
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>
2026-08-19 00:43:10 -04:00

380 lines
9.3 KiB
JSON

{
"name": "cjobdr",
"source_connection": "S78030956",
"dest_connection": "usmidsap02",
"dest_table": "cms.cjobdr",
"staging_table": "pipekit_staging.cjobdr",
"merge_strategy": "full",
"merge_key": null,
"enabled": 1,
"dest_description": "Current Job Routing Details 6.1",
"columns": [
{
"source_name": "EDTYPE",
"source_type": "CHAR(1)",
"dest_name": "edtype",
"dest_type": "text",
"description": "Record Type"
},
{
"source_name": "EDJOB#",
"source_type": "CHAR(10)",
"dest_name": "edjob#",
"dest_type": "text",
"description": "W/O Number"
},
{
"source_name": "EDSEQ#",
"source_type": "NUMERIC(3,0)",
"dest_name": "edseq#",
"dest_type": "numeric(3,0)",
"description": "Sequence Number"
},
{
"source_name": "EDLIN#",
"source_type": "NUMERIC(2,0)",
"dest_name": "edlin#",
"dest_type": "numeric(2,0)",
"description": "Line #"
},
{
"source_name": "EDDEPT",
"source_type": "CHAR(5)",
"dest_name": "eddept",
"dest_type": "text",
"description": "Production Department Code"
},
{
"source_name": "EDRESC",
"source_type": "CHAR(5)",
"dest_name": "edresc",
"dest_type": "text",
"description": "Resource Code"
},
{
"source_name": "EDOPNM",
"source_type": "CHAR(3)",
"dest_name": "edopnm",
"dest_type": "text",
"description": "Operation Code"
},
{
"source_name": "EDSETP",
"source_type": "NUMERIC(8,2)",
"dest_name": "edsetp",
"dest_type": "numeric(8,2)",
"description": "Setup Standard"
},
{
"source_name": "EDRUNS",
"source_type": "NUMERIC(10,4)",
"dest_name": "edruns",
"dest_type": "numeric(10,4)",
"description": "Schedule Run Standard"
},
{
"source_name": "EDRTYP",
"source_type": "CHAR(1)",
"dest_name": "edrtyp",
"dest_type": "text",
"description": "Run Type"
},
{
"source_name": "EDSCRW",
"source_type": "NUMERIC(2,0)",
"dest_name": "edscrw",
"dest_type": "numeric(2,0)",
"description": "Setup Crew"
},
{
"source_name": "EDREPP",
"source_type": "CHAR(1)",
"dest_name": "edrepp",
"dest_type": "text",
"description": "Reporting Point"
},
{
"source_name": "EDLAGT",
"source_type": "NUMERIC(8,2)",
"dest_name": "edlagt",
"dest_type": "numeric(8,2)",
"description": "Lag Time"
},
{
"source_name": "EDBK01",
"source_type": "CHAR(1)",
"dest_name": "edbk01",
"dest_type": "text",
"description": "Y-Yes,N-No"
},
{
"source_name": "EDTBTH",
"source_type": "NUMERIC(8,0)",
"dest_name": "edtbth",
"dest_type": "numeric(8,0)",
"description": "Transfer Batch"
},
{
"source_name": "EDUNIT",
"source_type": "CHAR(3)",
"dest_name": "edunit",
"dest_type": "text",
"description": "Unit of Measure"
},
{
"source_name": "EDBK02",
"source_type": "CHAR(10)",
"dest_name": "edbk02",
"dest_type": "text",
"description": "EDBK02"
},
{
"source_name": "EDEFF",
"source_type": "NUMERIC(5,2)",
"dest_name": "edeff",
"dest_type": "numeric(5,2)",
"description": "Efficiency Percentage"
},
{
"source_name": "EDBK03",
"source_type": "CHAR(5)",
"dest_name": "edbk03",
"dest_type": "text",
"description": "Sched Priority Group"
},
{
"source_name": "ED#MEN",
"source_type": "NUMERIC(2,0)",
"dest_name": "ed#men",
"dest_type": "numeric(2,0)",
"description": "Number Of Men"
},
{
"source_name": "ED#MCH",
"source_type": "NUMERIC(2,0)",
"dest_name": "ed#mch",
"dest_type": "numeric(2,0)",
"description": "Number Of Machines"
},
{
"source_name": "EDRUNQ",
"source_type": "NUMERIC(8,0)",
"dest_name": "edrunq",
"dest_type": "numeric(8,0)",
"description": "Run Quantity"
},
{
"source_name": "EDCOMQ",
"source_type": "NUMERIC(15,5)",
"dest_name": "edcomq",
"dest_type": "numeric(15,5)",
"description": "Total Completed"
},
{
"source_name": "EDCTME",
"source_type": "NUMERIC(5,2)",
"dest_name": "edctme",
"dest_type": "numeric(5,2)",
"description": "Cycle Time (Sec/Part)"
},
{
"source_name": "EDMULT",
"source_type": "NUMERIC(3,0)",
"dest_name": "edmult",
"dest_type": "numeric(3,0)",
"description": "Multiple Parts"
},
{
"source_name": "EDSCHQ",
"source_type": "NUMERIC(3,0)",
"dest_name": "edschq",
"dest_type": "numeric(3,0)",
"description": "Resource Schedule Queue"
},
{
"source_name": "EDSTAT",
"source_type": "CHAR(1)",
"dest_name": "edstat",
"dest_type": "text",
"description": "Status"
},
{
"source_name": "EDFUT1",
"source_type": "CHAR(10)",
"dest_name": "edfut1",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "EDFUT2",
"source_type": "CHAR(10)",
"dest_name": "edfut2",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "EDFUT3",
"source_type": "CHAR(10)",
"dest_name": "edfut3",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "EDFUT4",
"source_type": "CHAR(20)",
"dest_name": "edfut4",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "EDFUT5",
"source_type": "NUMERIC(15,5)",
"dest_name": "edfut5",
"dest_type": "numeric(15,5)",
"description": "Future Use"
},
{
"source_name": "EDFUT6",
"source_type": "NUMERIC(15,5)",
"dest_name": "edfut6",
"dest_type": "numeric(15,5)",
"description": "Future Use"
},
{
"source_name": "EDFUT7",
"source_type": "CHAR(1)",
"dest_name": "edfut7",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "EDFUT8",
"source_type": "CHAR(1)",
"dest_name": "edfut8",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "EDFUT9",
"source_type": "CHAR(1)",
"dest_name": "edfut9",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "EDFUTA",
"source_type": "CHAR(1)",
"dest_name": "edfuta",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "EDFUTB",
"source_type": "CHAR(1)",
"dest_name": "edfutb",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "EDCNOR",
"source_type": "NUMERIC(5,0)",
"dest_name": "edcnor",
"dest_type": "numeric(5,0)",
"description": "Concurrent Rsc"
},
{
"source_name": "EDCONC",
"source_type": "CHAR(1)",
"dest_name": "edconc",
"dest_type": "text",
"description": "Concurrent"
},
{
"source_name": "EDBCDR",
"source_type": "NUMERIC(15,5)",
"dest_name": "edbcdr",
"dest_type": "numeric(15,5)",
"description": "Burden Rate Factor"
},
{
"source_name": "EDSMCH",
"source_type": "NUMERIC(2,0)",
"dest_name": "edsmch",
"dest_type": "numeric(2,0)",
"description": "SetUp Number Machine"
},
{
"source_name": "EDERTB",
"source_type": "CHAR(1)",
"dest_name": "edertb",
"dest_type": "text",
"description": "Expected Receipt Created By Trf Batch & Run Rate"
},
{
"source_name": "EDTRST",
"source_type": "NUMERIC(10,4)",
"dest_name": "edtrst",
"dest_type": "numeric(10,4)",
"description": "Costing Run Standard"
},
{
"source_name": "EDTRRT",
"source_type": "NUMERIC(10,4)",
"dest_name": "edtrrt",
"dest_type": "numeric(10,4)",
"description": "Theoretical Run Rate"
},
{
"source_name": "EDFUT10",
"source_type": "CHAR(20)",
"dest_name": "edfut10",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "EDFUT11",
"source_type": "CHAR(20)",
"dest_name": "edfut11",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "EDFUT12",
"source_type": "CHAR(30)",
"dest_name": "edfut12",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "EDFUT13",
"source_type": "CHAR(30)",
"dest_name": "edfut13",
"dest_type": "text",
"description": "Future Use"
},
{
"source_name": "EDFUT14",
"source_type": "NUMERIC(15,5)",
"dest_name": "edfut14",
"dest_type": "numeric(15,5)",
"description": "Future Use"
},
{
"source_name": "EDFUT15",
"source_type": "NUMERIC(15,5)",
"dest_name": "edfut15",
"dest_type": "numeric(15,5)",
"description": "Future Use"
},
{
"source_name": "EDFUT16",
"source_type": "NUMERIC(15,5)",
"dest_name": "edfut16",
"dest_type": "numeric(15,5)",
"description": "Future Use"
}
],
"watermarks": [],
"hooks": []
}