updates
This commit is contained in:
parent
d4a8da82c7
commit
07050f3b80
@ -124,6 +124,10 @@
|
||||
"module": "colortier",
|
||||
"run_order": 0
|
||||
},
|
||||
{
|
||||
"module": "cont",
|
||||
"run_order": 0
|
||||
},
|
||||
{
|
||||
"module": "cret",
|
||||
"run_order": 0
|
||||
@ -382,6 +386,10 @@
|
||||
"module": "moldmast",
|
||||
"run_order": 0
|
||||
},
|
||||
{
|
||||
"module": "spxitemmaster",
|
||||
"run_order": 0
|
||||
},
|
||||
{
|
||||
"module": "stkr",
|
||||
"run_order": 0
|
||||
|
||||
205
config/modules/iv00103.json
Normal file
205
config/modules/iv00103.json
Normal file
@ -0,0 +1,205 @@
|
||||
{
|
||||
"name": "iv00103",
|
||||
"source_connection": "sqlserver",
|
||||
"dest_connection": "usmidsap02",
|
||||
"dest_table": "gp.iv00103",
|
||||
"staging_table": "pipekit_staging.iv00103",
|
||||
"merge_strategy": "full",
|
||||
"merge_key": null,
|
||||
"enabled": 1,
|
||||
"dest_description": null,
|
||||
"description": null,
|
||||
"columns": [
|
||||
{
|
||||
"source_name": "ITEMNMBR",
|
||||
"source_type": "CHAR(31)",
|
||||
"dest_name": "itemnmbr",
|
||||
"dest_type": "text",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "VENDORID",
|
||||
"source_type": "CHAR(15)",
|
||||
"dest_name": "vendorid",
|
||||
"dest_type": "text",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "ITMVNDTY",
|
||||
"source_type": "SMALLINT",
|
||||
"dest_name": "itmvndty",
|
||||
"dest_type": "smallint",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "VNDITNUM",
|
||||
"source_type": "CHAR(31)",
|
||||
"dest_name": "vnditnum",
|
||||
"dest_type": "text",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "QTYRQSTN",
|
||||
"source_type": "NUMERIC(19,5)",
|
||||
"dest_name": "qtyrqstn",
|
||||
"dest_type": "numeric(19,5)",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "QTYONORD",
|
||||
"source_type": "NUMERIC(19,5)",
|
||||
"dest_name": "qtyonord",
|
||||
"dest_type": "numeric(19,5)",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "QTY_Drop_Shipped",
|
||||
"source_type": "NUMERIC(19,5)",
|
||||
"dest_name": "qty_drop_shipped",
|
||||
"dest_type": "numeric(19,5)",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "LSTORDDT",
|
||||
"source_type": "DATETIME",
|
||||
"dest_name": "lstorddt",
|
||||
"dest_type": "timestamp",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "LSORDQTY",
|
||||
"source_type": "NUMERIC(19,5)",
|
||||
"dest_name": "lsordqty",
|
||||
"dest_type": "numeric(19,5)",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "LRCPTQTY",
|
||||
"source_type": "NUMERIC(19,5)",
|
||||
"dest_name": "lrcptqty",
|
||||
"dest_type": "numeric(19,5)",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "LSRCPTDT",
|
||||
"source_type": "DATETIME",
|
||||
"dest_name": "lsrcptdt",
|
||||
"dest_type": "timestamp",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "LRCPTCST",
|
||||
"source_type": "NUMERIC(19,5)",
|
||||
"dest_name": "lrcptcst",
|
||||
"dest_type": "numeric(19,5)",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "AVRGLDTM",
|
||||
"source_type": "INT",
|
||||
"dest_name": "avrgldtm",
|
||||
"dest_type": "integer",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "NORCTITM",
|
||||
"source_type": "SMALLINT",
|
||||
"dest_name": "norctitm",
|
||||
"dest_type": "smallint",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "MINORQTY",
|
||||
"source_type": "NUMERIC(19,5)",
|
||||
"dest_name": "minorqty",
|
||||
"dest_type": "numeric(19,5)",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "MAXORDQTY",
|
||||
"source_type": "NUMERIC(19,5)",
|
||||
"dest_name": "maxordqty",
|
||||
"dest_type": "numeric(19,5)",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "ECORDQTY",
|
||||
"source_type": "NUMERIC(19,5)",
|
||||
"dest_name": "ecordqty",
|
||||
"dest_type": "numeric(19,5)",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "VNDITDSC",
|
||||
"source_type": "CHAR(101)",
|
||||
"dest_name": "vnditdsc",
|
||||
"dest_type": "text",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "Last_Originating_Cost",
|
||||
"source_type": "NUMERIC(19,5)",
|
||||
"dest_name": "last_originating_cost",
|
||||
"dest_type": "numeric(19,5)",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "Last_Currency_ID",
|
||||
"source_type": "CHAR(15)",
|
||||
"dest_name": "last_currency_id",
|
||||
"dest_type": "text",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "FREEONBOARD",
|
||||
"source_type": "SMALLINT",
|
||||
"dest_name": "freeonboard",
|
||||
"dest_type": "smallint",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "PRCHSUOM",
|
||||
"source_type": "CHAR(9)",
|
||||
"dest_name": "prchsuom",
|
||||
"dest_type": "text",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "CURRNIDX",
|
||||
"source_type": "SMALLINT",
|
||||
"dest_name": "currnidx",
|
||||
"dest_type": "smallint",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "PLANNINGLEADTIME",
|
||||
"source_type": "SMALLINT",
|
||||
"dest_name": "planningleadtime",
|
||||
"dest_type": "smallint",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "ORDERMULTIPLE",
|
||||
"source_type": "NUMERIC(19,5)",
|
||||
"dest_name": "ordermultiple",
|
||||
"dest_type": "numeric(19,5)",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "MNFCTRITMNMBR",
|
||||
"source_type": "CHAR(31)",
|
||||
"dest_name": "mnfctritmnmbr",
|
||||
"dest_type": "text",
|
||||
"description": null
|
||||
},
|
||||
{
|
||||
"source_name": "DEX_ROW_ID",
|
||||
"source_type": "INT",
|
||||
"dest_name": "dex_row_id",
|
||||
"dest_type": "integer",
|
||||
"description": null
|
||||
}
|
||||
],
|
||||
"watermarks": [],
|
||||
"hooks": []
|
||||
}
|
||||
29
config/modules/iv00103.sql
Normal file
29
config/modules/iv00103.sql
Normal file
@ -0,0 +1,29 @@
|
||||
SELECT
|
||||
RTRIM([ITEMNMBR]) AS [itemnmbr],
|
||||
RTRIM([VENDORID]) AS [vendorid],
|
||||
[ITMVNDTY] AS [itmvndty],
|
||||
RTRIM([VNDITNUM]) AS [vnditnum],
|
||||
[QTYRQSTN] AS [qtyrqstn],
|
||||
[QTYONORD] AS [qtyonord],
|
||||
[QTY_Drop_Shipped] AS [qty_drop_shipped],
|
||||
[LSTORDDT] AS [lstorddt],
|
||||
[LSORDQTY] AS [lsordqty],
|
||||
[LRCPTQTY] AS [lrcptqty],
|
||||
[LSRCPTDT] AS [lsrcptdt],
|
||||
[LRCPTCST] AS [lrcptcst],
|
||||
[AVRGLDTM] AS [avrgldtm],
|
||||
[NORCTITM] AS [norctitm],
|
||||
[MINORQTY] AS [minorqty],
|
||||
[MAXORDQTY] AS [maxordqty],
|
||||
[ECORDQTY] AS [ecordqty],
|
||||
RTRIM([VNDITDSC]) AS [vnditdsc],
|
||||
[Last_Originating_Cost] AS [last_originating_cost],
|
||||
RTRIM([Last_Currency_ID]) AS [last_currency_id],
|
||||
[FREEONBOARD] AS [freeonboard],
|
||||
RTRIM([PRCHSUOM]) AS [prchsuom],
|
||||
[CURRNIDX] AS [currnidx],
|
||||
[PLANNINGLEADTIME] AS [planningleadtime],
|
||||
[ORDERMULTIPLE] AS [ordermultiple],
|
||||
RTRIM([MNFCTRITMNMBR]) AS [mnfctritmnmbr],
|
||||
[DEX_ROW_ID] AS [dex_row_id]
|
||||
FROM [usavmsql01].[CHG].[dbo].[IV00103]
|
||||
@ -42,4 +42,4 @@ SELECT
|
||||
BYFUT2N AS byfut2n,
|
||||
BYFUT3N AS byfut3n
|
||||
FROM LGDAT.STKT
|
||||
WHERE BYFSYY = {bytran}
|
||||
WHERE BYTRAN >= {bytran}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user