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>
135 lines
3.1 KiB
JSON
135 lines
3.1 KiB
JSON
{
|
|
"name": "sy40100",
|
|
"source_connection": "sqlserver",
|
|
"dest_connection": "usmidsap02",
|
|
"dest_table": "gp.sy40100",
|
|
"staging_table": "pipekit_staging.sy40100",
|
|
"merge_strategy": "full",
|
|
"merge_key": null,
|
|
"enabled": 1,
|
|
"dest_description": "Dynamics GP fiscal period setup",
|
|
"columns": [
|
|
{
|
|
"source_name": "CLOSED",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "closed",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "SERIES",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "series",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ODESCTN",
|
|
"source_type": "CHAR(51)",
|
|
"dest_name": "odesctn",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "FORIGIN",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "forigin",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PERIODID",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "periodid",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PERIODDT",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "perioddt",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PERNAME",
|
|
"source_type": "CHAR(21)",
|
|
"dest_name": "pername",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PSERIES_1",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "pseries_1",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PSERIES_2",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "pseries_2",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PSERIES_3",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "pseries_3",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PSERIES_4",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "pseries_4",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PSERIES_5",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "pseries_5",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PSERIES_6",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "pseries_6",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "YEAR1",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "year1",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PERDENDT",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "perdendt",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DEX_ROW_TS",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "dex_row_ts",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DEX_ROW_ID",
|
|
"source_type": "INT",
|
|
"dest_name": "dex_row_id",
|
|
"dest_type": "integer",
|
|
"description": null
|
|
}
|
|
],
|
|
"watermarks": [],
|
|
"hooks": []
|
|
}
|