pipekit/config/modules/sy03300.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

184 lines
4.3 KiB
JSON

{
"name": "sy03300",
"source_connection": "sqlserver",
"dest_connection": "usmidsap02",
"dest_table": "gp.sy03300",
"staging_table": "pipekit_staging.sy03300",
"merge_strategy": "full",
"merge_key": null,
"enabled": 1,
"dest_description": "Dynamics GP payment terms setup",
"columns": [
{
"source_name": "PYMTRMID",
"source_type": "CHAR(21)",
"dest_name": "pymtrmid",
"dest_type": "text",
"description": null
},
{
"source_name": "DUETYPE",
"source_type": "SMALLINT",
"dest_name": "duetype",
"dest_type": "smallint",
"description": null
},
{
"source_name": "DUEDTDS",
"source_type": "SMALLINT",
"dest_name": "duedtds",
"dest_type": "smallint",
"description": null
},
{
"source_name": "DISCTYPE",
"source_type": "SMALLINT",
"dest_name": "disctype",
"dest_type": "smallint",
"description": null
},
{
"source_name": "DISCDTDS",
"source_type": "SMALLINT",
"dest_name": "discdtds",
"dest_type": "smallint",
"description": null
},
{
"source_name": "DSCLCTYP",
"source_type": "SMALLINT",
"dest_name": "dsclctyp",
"dest_type": "smallint",
"description": null
},
{
"source_name": "DSCDLRAM",
"source_type": "NUMERIC(19,5)",
"dest_name": "dscdlram",
"dest_type": "numeric(19,5)",
"description": null
},
{
"source_name": "DSCPCTAM",
"source_type": "SMALLINT",
"dest_name": "dscpctam",
"dest_type": "smallint",
"description": null
},
{
"source_name": "SALPURCH",
"source_type": "TINYINT",
"dest_name": "salpurch",
"dest_type": "smallint",
"description": null
},
{
"source_name": "DISCNTCB",
"source_type": "TINYINT",
"dest_name": "discntcb",
"dest_type": "smallint",
"description": null
},
{
"source_name": "FREIGHT",
"source_type": "TINYINT",
"dest_name": "freight",
"dest_type": "smallint",
"description": null
},
{
"source_name": "MISC",
"source_type": "TINYINT",
"dest_name": "misc",
"dest_type": "smallint",
"description": null
},
{
"source_name": "TAX",
"source_type": "TINYINT",
"dest_name": "tax",
"dest_type": "smallint",
"description": null
},
{
"source_name": "NOTEINDX",
"source_type": "NUMERIC(19,5)",
"dest_name": "noteindx",
"dest_type": "numeric(19,5)",
"description": null
},
{
"source_name": "CBUVATMD",
"source_type": "TINYINT",
"dest_name": "cbuvatmd",
"dest_type": "smallint",
"description": null
},
{
"source_name": "LSTUSRED",
"source_type": "CHAR(15)",
"dest_name": "lstusred",
"dest_type": "text",
"description": null
},
{
"source_name": "MODIFDT",
"source_type": "DATETIME",
"dest_name": "modifdt",
"dest_type": "timestamp",
"description": null
},
{
"source_name": "CREATDDT",
"source_type": "DATETIME",
"dest_name": "creatddt",
"dest_type": "timestamp",
"description": null
},
{
"source_name": "USEGRPER",
"source_type": "TINYINT",
"dest_name": "usegrper",
"dest_type": "smallint",
"description": null
},
{
"source_name": "CalculateDateFrom",
"source_type": "SMALLINT",
"dest_name": "calculatedatefrom",
"dest_type": "smallint",
"description": null
},
{
"source_name": "CalculateDateFromDays",
"source_type": "SMALLINT",
"dest_name": "calculatedatefromdays",
"dest_type": "smallint",
"description": null
},
{
"source_name": "DueMonth",
"source_type": "SMALLINT",
"dest_name": "duemonth",
"dest_type": "smallint",
"description": null
},
{
"source_name": "DiscountMonth",
"source_type": "SMALLINT",
"dest_name": "discountmonth",
"dest_type": "smallint",
"description": null
},
{
"source_name": "DEX_ROW_ID",
"source_type": "INT",
"dest_name": "dex_row_id",
"dest_type": "integer",
"description": null
}
],
"watermarks": [],
"hooks": []
}