diff options
Diffstat (limited to 'import_purchase_order.ktr')
| -rw-r--r-- | import_purchase_order.ktr | 228 |
1 files changed, 114 insertions, 114 deletions
diff --git a/import_purchase_order.ktr b/import_purchase_order.ktr index f297a94..e548fbd 100644 --- a/import_purchase_order.ktr +++ b/import_purchase_order.ktr @@ -545,119 +545,6 @@ </hop> </order> <step> - <name>dw Insert / update po</name> - <type>InsertUpdate</type> - <description/> - <distribute>Y</distribute> - <custom_distribution/> - <copies>1</copies> - <partitioning> - <method>none</method> - <schema_name/> - </partitioning> - <connection>dw bi indoteknik (localhost)</connection> - <commit>100</commit> - <update_bypassed>N</update_bypassed> - <lookup> - <schema>public</schema> - <table>purchase_order_dw</table> - <key> - <name>line_id</name> - <field>line_id</field> - <condition>=</condition> - <name2/> - </key> - <value> - <name>po_date</name> - <rename>po_date</rename> - <update>Y</update> - </value> - <value> - <name>line_date</name> - <rename>line_date</rename> - <update>Y</update> - </value> - <value> - <name>documentno</name> - <rename>documentno</rename> - <update>Y</update> - </value> - <value> - <name>state</name> - <rename>state</rename> - <update>Y</update> - </value> - <value> - <name>partner_id</name> - <rename>partner_id</rename> - <update>Y</update> - </value> - <value> - <name>vendor</name> - <rename>vendor</rename> - <update>Y</update> - </value> - <value> - <name>product_id</name> - <rename>product_id</rename> - <update>Y</update> - </value> - <value> - <name>qty</name> - <rename>qty</rename> - <update>Y</update> - </value> - <value> - <name>price_unit</name> - <rename>price_unit</rename> - <update>Y</update> - </value> - <value> - <name>price_subtotal</name> - <rename>price_subtotal</rename> - <update>Y</update> - </value> - <value> - <name>line_id</name> - <rename>line_id</rename> - <update>N</update> - </value> - <value> - <name>year_month</name> - <rename>year_month</rename> - <update>Y</update> - </value> - <value> - <name>year_date</name> - <rename>year_date</rename> - <update>Y</update> - </value> - <value> - <name>month_date</name> - <rename>month_date</rename> - <update>Y</update> - </value> - <value> - <name>day_date</name> - <rename>day_date</rename> - <update>Y</update> - </value> - </lookup> - <attributes/> - <cluster_schema/> - <remotesteps> - <input> - </input> - <output> - </output> - </remotesteps> - <GUI> - <xloc>432</xloc> - <yloc>96</yloc> - <draw>Y</draw> - </GUI> - </step> - <step> <name>Table input</name> <type>TableInput</type> <description/> @@ -680,7 +567,7 @@ get_quarter(to_char(pol.write_date::timestamp with time zone, 'MM'::text)) from purchase_order po join res_partner rp on rp.id = po.partner_id join purchase_order_line pol on pol.order_id = po.id -where pol.write_date >= (now() - '5 days'::interval)</sql> +--where pol.write_date >= (now() - '5 days'::interval)</sql> <limit>0</limit> <lookup/> <execute_each_row>N</execute_each_row> @@ -1071,6 +958,119 @@ where pol.write_date >= (now() - '5 days'::interval)</sql> <draw>Y</draw> </GUI> </step> + <step> + <name>dw Insert / update po</name> + <type>InsertUpdate</type> + <description/> + <distribute>Y</distribute> + <custom_distribution/> + <copies>1</copies> + <partitioning> + <method>none</method> + <schema_name/> + </partitioning> + <connection>dw bi indoteknik (localhost)</connection> + <commit>100</commit> + <update_bypassed>N</update_bypassed> + <lookup> + <schema>public</schema> + <table>purchase_order_dw</table> + <key> + <name>line_id</name> + <field>line_id</field> + <condition>=</condition> + <name2/> + </key> + <value> + <name>po_date</name> + <rename>po_date</rename> + <update>Y</update> + </value> + <value> + <name>line_date</name> + <rename>line_date</rename> + <update>Y</update> + </value> + <value> + <name>documentno</name> + <rename>documentno</rename> + <update>Y</update> + </value> + <value> + <name>state</name> + <rename>state</rename> + <update>Y</update> + </value> + <value> + <name>partner_id</name> + <rename>partner_id</rename> + <update>Y</update> + </value> + <value> + <name>vendor</name> + <rename>vendor</rename> + <update>Y</update> + </value> + <value> + <name>product_id</name> + <rename>product_id</rename> + <update>Y</update> + </value> + <value> + <name>qty</name> + <rename>qty</rename> + <update>Y</update> + </value> + <value> + <name>price_unit</name> + <rename>price_unit</rename> + <update>Y</update> + </value> + <value> + <name>price_subtotal</name> + <rename>price_subtotal</rename> + <update>Y</update> + </value> + <value> + <name>line_id</name> + <rename>line_id</rename> + <update>N</update> + </value> + <value> + <name>year_month</name> + <rename>year_month</rename> + <update>Y</update> + </value> + <value> + <name>year_date</name> + <rename>year_date</rename> + <update>Y</update> + </value> + <value> + <name>month_date</name> + <rename>month_date</rename> + <update>Y</update> + </value> + <value> + <name>day_date</name> + <rename>day_date</rename> + <update>Y</update> + </value> + </lookup> + <attributes/> + <cluster_schema/> + <remotesteps> + <input> + </input> + <output> + </output> + </remotesteps> + <GUI> + <xloc>432</xloc> + <yloc>96</yloc> + <draw>Y</draw> + </GUI> + </step> <step_error_handling> </step_error_handling> <slave-step-copy-partition-distribution> |
