170 lines
4.1 KiB
JSON
170 lines
4.1 KiB
JSON
{
|
|
"name": "iprcctn",
|
|
"source_connection": "S78030956",
|
|
"dest_connection": "usmidsap02",
|
|
"dest_table": "cms.iprcctn",
|
|
"staging_table": "pipekit_staging.iprcctn",
|
|
"merge_strategy": "incremental",
|
|
"merge_key": "t8date",
|
|
"enabled": 1,
|
|
"dest_description": "Price List Trans New Price Detail 6.0",
|
|
"columns": [
|
|
{
|
|
"source_name": "T8PLCD",
|
|
"source_type": "CHAR(5)",
|
|
"dest_name": "t8plcd",
|
|
"dest_type": "text",
|
|
"description": "Price List Code"
|
|
},
|
|
{
|
|
"source_name": "T8PART",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "t8part",
|
|
"dest_type": "text",
|
|
"description": "Part Number"
|
|
},
|
|
{
|
|
"source_name": "T8UNIT",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "t8unit",
|
|
"dest_type": "text",
|
|
"description": "Pricing Unit"
|
|
},
|
|
{
|
|
"source_name": "T8DATE",
|
|
"source_type": "DATE",
|
|
"dest_name": "t8date",
|
|
"dest_type": "date",
|
|
"description": "Transaction Date"
|
|
},
|
|
{
|
|
"source_name": "T8TIME",
|
|
"source_type": "TIME",
|
|
"dest_name": "t8time",
|
|
"dest_type": "time",
|
|
"description": "Transaction Time"
|
|
},
|
|
{
|
|
"source_name": "T8VOLL",
|
|
"source_type": "DECIMAL(12,5)",
|
|
"dest_name": "t8voll",
|
|
"dest_type": "numeric(12,5)",
|
|
"description": "New Volume"
|
|
},
|
|
{
|
|
"source_name": "T8PRIC",
|
|
"source_type": "DECIMAL(12,5)",
|
|
"dest_name": "t8pric",
|
|
"dest_type": "numeric(12,5)",
|
|
"description": "New Price"
|
|
},
|
|
{
|
|
"source_name": "T8DISC",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "t8disc",
|
|
"dest_type": "text",
|
|
"description": "New Discount Code"
|
|
},
|
|
{
|
|
"source_name": "T8DISF",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "t8disf",
|
|
"dest_type": "text",
|
|
"description": "New Discount Flag"
|
|
},
|
|
{
|
|
"source_name": "T8CPCT",
|
|
"source_type": "NUMERIC(4,2)",
|
|
"dest_name": "t8cpct",
|
|
"dest_type": "numeric(4,2)",
|
|
"description": "New Commission %"
|
|
},
|
|
{
|
|
"source_name": "T8CRAT",
|
|
"source_type": "NUMERIC(5,2)",
|
|
"dest_name": "t8crat",
|
|
"dest_type": "numeric(5,2)",
|
|
"description": "New Comm. Rate"
|
|
},
|
|
{
|
|
"source_name": "T8F0CM",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "t8f0cm",
|
|
"dest_type": "text",
|
|
"description": "New Force 0 Commission Flag"
|
|
},
|
|
{
|
|
"source_name": "T8FUT1",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "t8fut1",
|
|
"dest_type": "text",
|
|
"description": "Future Field"
|
|
},
|
|
{
|
|
"source_name": "T8FUT2",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "t8fut2",
|
|
"dest_type": "text",
|
|
"description": "Future Field"
|
|
},
|
|
{
|
|
"source_name": "T8FUT3",
|
|
"source_type": "CHAR(1)",
|
|
"dest_name": "t8fut3",
|
|
"dest_type": "text",
|
|
"description": "Future Field"
|
|
},
|
|
{
|
|
"source_name": "T8FUT4",
|
|
"source_type": "CHAR(5)",
|
|
"dest_name": "t8fut4",
|
|
"dest_type": "text",
|
|
"description": "Future Field"
|
|
},
|
|
{
|
|
"source_name": "T8FUT5",
|
|
"source_type": "CHAR(5)",
|
|
"dest_name": "t8fut5",
|
|
"dest_type": "text",
|
|
"description": "Future Field"
|
|
},
|
|
{
|
|
"source_name": "T8FUT6",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "t8fut6",
|
|
"dest_type": "text",
|
|
"description": "Future Field"
|
|
},
|
|
{
|
|
"source_name": "T8FUT7",
|
|
"source_type": "CHAR(10)",
|
|
"dest_name": "t8fut7",
|
|
"dest_type": "text",
|
|
"description": "Future Field"
|
|
},
|
|
{
|
|
"source_name": "T8FUT8",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "t8fut8",
|
|
"dest_type": "text",
|
|
"description": "Future Field"
|
|
},
|
|
{
|
|
"source_name": "T8FUT9",
|
|
"source_type": "CHAR(30)",
|
|
"dest_name": "t8fut9",
|
|
"dest_type": "text",
|
|
"description": "Future Field"
|
|
}
|
|
],
|
|
"watermarks": [
|
|
{
|
|
"name": "iprcctn_wm",
|
|
"connection": "usmidsap02",
|
|
"resolver_sql": "SELECT COALESCE(MAX(t8date), DATE '2000-01-01') - 7 FROM cms.iprcctn WHERE t8date <= current_date",
|
|
"default_value": null
|
|
}
|
|
],
|
|
"hooks": []
|
|
}
|