Full-reload modules for the CMS/DB2 tables migrated off /opt/sync, landing in cms.*. Columns introspected fresh from DB2 (QSYS2.SYSCOLUMNS). Three large tables use incremental merge ported from the legacy sync instead of full reload: iprcctn/iprccto (date watermark on t8date/t7date), ffpdglr1 (fiscal- period watermark via rprh join, keyed on btid). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
170 lines
4.1 KiB
JSON
170 lines
4.1 KiB
JSON
{
|
|
"name": "iprccto",
|
|
"source_connection": "S78030956",
|
|
"dest_connection": "usmidsap02",
|
|
"dest_table": "cms.iprccto",
|
|
"staging_table": "pipekit_staging.iprccto",
|
|
"merge_strategy": "incremental",
|
|
"merge_key": "t7date",
|
|
"enabled": 1,
|
|
"dest_description": "Price List Old Price Details 6.0",
|
|
"columns": [
|
|
{
|
|
"source_name": "T7PLCD",
|
|
"source_type": "CHAR(5)",
|
|
"dest_name": "t7plcd",
|
|
"dest_type": "text",
|
|
"description": "Price List Code"
|
|
},
|
|
{
|
|
"source_name": "T7PART",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "t7part",
|
|
"dest_type": "text",
|
|
"description": "Part Number"
|
|
},
|
|
{
|
|
"source_name": "T7UNIT",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "t7unit",
|
|
"dest_type": "text",
|
|
"description": "Pricing Unit"
|
|
},
|
|
{
|
|
"source_name": "T7DATE",
|
|
"source_type": "DATE",
|
|
"dest_name": "t7date",
|
|
"dest_type": "date",
|
|
"description": "Transaction Date"
|
|
},
|
|
{
|
|
"source_name": "T7TIME",
|
|
"source_type": "TIME",
|
|
"dest_name": "t7time",
|
|
"dest_type": "time",
|
|
"description": "Transaction Time"
|
|
},
|
|
{
|
|
"source_name": "T7VOLL",
|
|
"source_type": "DECIMAL(12,5)",
|
|
"dest_name": "t7voll",
|
|
"dest_type": "numeric(12,5)",
|
|
"description": "Old Volume"
|
|
},
|
|
{
|
|
"source_name": "T7PRIC",
|
|
"source_type": "DECIMAL(12,5)",
|
|
"dest_name": "t7pric",
|
|
"dest_type": "numeric(12,5)",
|
|
"description": "Old Price"
|
|
},
|
|
{
|
|
"source_name": "T7DISC",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "t7disc",
|
|
"dest_type": "text",
|
|
"description": "Old Discount Code"
|
|
},
|
|
{
|
|
"source_name": "T7DISF",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "t7disf",
|
|
"dest_type": "text",
|
|
"description": "Old Discount Flag"
|
|
},
|
|
{
|
|
"source_name": "T7CPCT",
|
|
"source_type": "NUMERIC(4,2)",
|
|
"dest_name": "t7cpct",
|
|
"dest_type": "numeric(4,2)",
|
|
"description": "Old Commission %"
|
|
},
|
|
{
|
|
"source_name": "T7CRAT",
|
|
"source_type": "NUMERIC(5,2)",
|
|
"dest_name": "t7crat",
|
|
"dest_type": "numeric(5,2)",
|
|
"description": "Old Comm. Rate"
|
|
},
|
|
{
|
|
"source_name": "T7F0CM",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "t7f0cm",
|
|
"dest_type": "text",
|
|
"description": "Old Force 0 Commission Flag"
|
|
},
|
|
{
|
|
"source_name": "T7FUT1",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "t7fut1",
|
|
"dest_type": "text",
|
|
"description": "Future Field"
|
|
},
|
|
{
|
|
"source_name": "T7FUT2",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "t7fut2",
|
|
"dest_type": "text",
|
|
"description": "Future Field"
|
|
},
|
|
{
|
|
"source_name": "T7FUT3",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "t7fut3",
|
|
"dest_type": "text",
|
|
"description": "Future Field"
|
|
},
|
|
{
|
|
"source_name": "T7FUT4",
|
|
"source_type": "CHAR(5)",
|
|
"dest_name": "t7fut4",
|
|
"dest_type": "text",
|
|
"description": "Future Field"
|
|
},
|
|
{
|
|
"source_name": "T7FUT5",
|
|
"source_type": "CHAR(5)",
|
|
"dest_name": "t7fut5",
|
|
"dest_type": "text",
|
|
"description": "Future Field"
|
|
},
|
|
{
|
|
"source_name": "T7FUT6",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "t7fut6",
|
|
"dest_type": "text",
|
|
"description": "Future Field"
|
|
},
|
|
{
|
|
"source_name": "T7FUT7",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "t7fut7",
|
|
"dest_type": "text",
|
|
"description": "Future Field"
|
|
},
|
|
{
|
|
"source_name": "T7FUT8",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "t7fut8",
|
|
"dest_type": "text",
|
|
"description": "Future Field"
|
|
},
|
|
{
|
|
"source_name": "T7FUT9",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "t7fut9",
|
|
"dest_type": "text",
|
|
"description": "Future Field"
|
|
}
|
|
],
|
|
"watermarks": [
|
|
{
|
|
"name": "iprccto_wm",
|
|
"connection": "usmidsap02",
|
|
"resolver_sql": "SELECT COALESCE(MAX(t7date), DATE '2000-01-01') FROM cms.iprccto",
|
|
"default_value": null
|
|
}
|
|
],
|
|
"hooks": []
|
|
}
|