config_io handled dest_description but never the module's own description field: it was absent from export_config, from both repo.create_module and repo.update_module calls in apply_config, and from the change-detection watch tuple. Descriptions set via the web form were therefore invisible to the config tree — `pipekit apply` silently ignored a description in a module's JSON, and `pipekit export` would have dropped all 127 existing ones on a round-trip. Adding "description" to the watch tuple means a module file without the key now reads as a change to NULL, so backfill the key into all 131 existing module files from the DB. Without this, the next apply would have wiped every description it was meant to preserve. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
486 lines
11 KiB
JSON
486 lines
11 KiB
JSON
{
|
|
"name": "gl30000",
|
|
"source_connection": "sqlserver",
|
|
"dest_connection": "usmidsap02",
|
|
"dest_table": "gp.gl30000",
|
|
"staging_table": "pipekit_staging.dbo_gl30000",
|
|
"merge_strategy": "incremental",
|
|
"merge_key": "dex_row_id",
|
|
"enabled": 1,
|
|
"dest_description": null,
|
|
"description": "Dynamics GP historical-year GL transactions",
|
|
"columns": [
|
|
{
|
|
"source_name": "HSTYEAR",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "hstyear",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "JRNENTRY",
|
|
"source_type": "INT",
|
|
"dest_name": "jrnentry",
|
|
"dest_type": "integer",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "RCTRXSEQ",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "rctrxseq",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "SOURCDOC",
|
|
"source_type": "CHAR(11)",
|
|
"dest_name": "sourcdoc",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "REFRENCE",
|
|
"source_type": "CHAR(31)",
|
|
"dest_name": "refrence",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DSCRIPTN",
|
|
"source_type": "CHAR(31)",
|
|
"dest_name": "dscriptn",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "TRXDATE",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "trxdate",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ACTINDX",
|
|
"source_type": "INT",
|
|
"dest_name": "actindx",
|
|
"dest_type": "integer",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "TRXSORCE",
|
|
"source_type": "CHAR(13)",
|
|
"dest_name": "trxsorce",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "POLLDTRX",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "polldtrx",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "LASTUSER",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "lastuser",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "LSTDTEDT",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "lstdtedt",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "USWHPSTD",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "uswhpstd",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ORGNTSRC",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "orgntsrc",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ORGNATYP",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "orgnatyp",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "QKOFSET",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "qkofset",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "SERIES",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "series",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ORTRXTYP",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "ortrxtyp",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ORCTRNUM",
|
|
"source_type": "CHAR(21)",
|
|
"dest_name": "orctrnum",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ORMSTRID",
|
|
"source_type": "CHAR(31)",
|
|
"dest_name": "ormstrid",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ORMSTRNM",
|
|
"source_type": "CHAR(65)",
|
|
"dest_name": "ormstrnm",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ORDOCNUM",
|
|
"source_type": "CHAR(21)",
|
|
"dest_name": "ordocnum",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ORPSTDDT",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "orpstddt",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ORTRXSRC",
|
|
"source_type": "CHAR(13)",
|
|
"dest_name": "ortrxsrc",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "OrigDTASeries",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "origdtaseries",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "OrigSeqNum",
|
|
"source_type": "INT",
|
|
"dest_name": "origseqnum",
|
|
"dest_type": "integer",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "SEQNUMBR",
|
|
"source_type": "INT",
|
|
"dest_name": "seqnumbr",
|
|
"dest_type": "integer",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DTA_GL_Status",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "dta_gl_status",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DTA_Index",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "dta_index",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "CURNCYID",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "curncyid",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "CURRNIDX",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "currnidx",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "RATETPID",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "ratetpid",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "EXGTBLID",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "exgtblid",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "XCHGRATE",
|
|
"source_type": "NUMERIC(19,7)",
|
|
"dest_name": "xchgrate",
|
|
"dest_type": "numeric(19,7)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "EXCHDATE",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "exchdate",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "TIME1",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "time1",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "RTCLCMTD",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "rtclcmtd",
|
|
"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": "ICTRX",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "ictrx",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ORCOMID",
|
|
"source_type": "CHAR(5)",
|
|
"dest_name": "orcomid",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ORIGINJE",
|
|
"source_type": "INT",
|
|
"dest_name": "originje",
|
|
"dest_type": "integer",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PERIODID",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "periodid",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DEBITAMT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "debitamt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "CRDTAMNT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "crdtamnt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ORDBTAMT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "ordbtamt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ORCRDAMT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "orcrdamt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DOCDATE",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "docdate",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PSTGNMBR",
|
|
"source_type": "INT",
|
|
"dest_name": "pstgnmbr",
|
|
"dest_type": "integer",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PPSGNMBR",
|
|
"source_type": "INT",
|
|
"dest_name": "ppsgnmbr",
|
|
"dest_type": "integer",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DENXRATE",
|
|
"source_type": "NUMERIC(19,7)",
|
|
"dest_name": "denxrate",
|
|
"dest_type": "numeric(19,7)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "MCTRXSTT",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "mctrxstt",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "CorrespondingUnit",
|
|
"source_type": "CHAR(5)",
|
|
"dest_name": "correspondingunit",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "VOIDED",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "voided",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "Back_Out_JE",
|
|
"source_type": "INT",
|
|
"dest_name": "back_out_je",
|
|
"dest_type": "integer",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "Back_Out_JE_Year",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "back_out_je_year",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "Correcting_JE",
|
|
"source_type": "INT",
|
|
"dest_name": "correcting_je",
|
|
"dest_type": "integer",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "Correcting_JE_Year",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "correcting_je_year",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "Original_JE",
|
|
"source_type": "INT",
|
|
"dest_name": "original_je",
|
|
"dest_type": "integer",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "Original_JE_Seq_Num",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "original_je_seq_num",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "Original_JE_Year",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "original_je_year",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "Ledger_ID",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "ledger_id",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "Adjustment_Transaction",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "adjustment_transaction",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APRVLUSERID",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "aprvluserid",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APPRVLDT",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "apprvldt",
|
|
"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": [
|
|
{
|
|
"name": "dex_row_id",
|
|
"connection": "usmidsap02",
|
|
"resolver_sql": "select max(dex_row_id) from gp.gl30000",
|
|
"default_value": null
|
|
}
|
|
],
|
|
"hooks": []
|
|
}
|