summaryrefslogtreecommitdiff
path: root/import_purchase_pricelist.ktr
diff options
context:
space:
mode:
Diffstat (limited to 'import_purchase_pricelist.ktr')
-rw-r--r--import_purchase_pricelist.ktr168
1 files changed, 84 insertions, 84 deletions
diff --git a/import_purchase_pricelist.ktr b/import_purchase_pricelist.ktr
index 384d7ff..2ab9f29 100644
--- a/import_purchase_pricelist.ktr
+++ b/import_purchase_pricelist.ktr
@@ -545,89 +545,6 @@
</hop>
</order>
<step>
- <name>dw Insert / update purchase pl</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_pricelist_dw</table>
- <key>
- <name>id</name>
- <field>id</field>
- <condition>=</condition>
- <name2/>
- </key>
- <value>
- <name>id</name>
- <rename>id</rename>
- <update>N</update>
- </value>
- <value>
- <name>product_id</name>
- <rename>product_id</rename>
- <update>Y</update>
- </value>
- <value>
- <name>vendor_id</name>
- <rename>vendor_id</rename>
- <update>Y</update>
- </value>
- <value>
- <name>vendor</name>
- <rename>vendor</rename>
- <update>Y</update>
- </value>
- <value>
- <name>product_price</name>
- <rename>product_price</rename>
- <update>Y</update>
- </value>
- <value>
- <name>write_date</name>
- <rename>write_date</rename>
- <update>Y</update>
- </value>
- <value>
- <name>system_price</name>
- <rename>system_price</rename>
- <update>Y</update>
- </value>
- <value>
- <name>system_last_update</name>
- <rename>system_last_update</rename>
- <update>Y</update>
- </value>
- <value>
- <name>human_last_update</name>
- <rename>human_last_update</rename>
- <update>Y</update>
- </value>
- </lookup>
- <attributes/>
- <cluster_schema/>
- <remotesteps>
- <input>
- </input>
- <output>
- </output>
- </remotesteps>
- <GUI>
- <xloc>512</xloc>
- <yloc>336</yloc>
- <draw>Y</draw>
- </GUI>
- </step>
- <step>
<name>Table input</name>
<type>TableInput</type>
<description/>
@@ -643,7 +560,7 @@
pp.system_price, pp.system_last_update, pp.human_last_update
from purchase_pricelist pp
join res_partner rp on rp.id = pp.vendor_id
-where pp.write_date >= (now() - '10 days'::interval)</sql>
+--where pp.write_date >= (now() - '10 days'::interval)</sql>
<limit>0</limit>
<lookup/>
<execute_each_row>N</execute_each_row>
@@ -873,6 +790,89 @@ where pp.write_date >= (now() - '10 days'::interval)</sql>
<draw>Y</draw>
</GUI>
</step>
+ <step>
+ <name>dw Insert / update purchase pl</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_pricelist_dw</table>
+ <key>
+ <name>id</name>
+ <field>id</field>
+ <condition>=</condition>
+ <name2/>
+ </key>
+ <value>
+ <name>id</name>
+ <rename>id</rename>
+ <update>N</update>
+ </value>
+ <value>
+ <name>product_id</name>
+ <rename>product_id</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>vendor_id</name>
+ <rename>vendor_id</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>vendor</name>
+ <rename>vendor</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>product_price</name>
+ <rename>product_price</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>write_date</name>
+ <rename>write_date</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>system_price</name>
+ <rename>system_price</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>system_last_update</name>
+ <rename>system_last_update</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>human_last_update</name>
+ <rename>human_last_update</rename>
+ <update>Y</update>
+ </value>
+ </lookup>
+ <attributes/>
+ <cluster_schema/>
+ <remotesteps>
+ <input>
+ </input>
+ <output>
+ </output>
+ </remotesteps>
+ <GUI>
+ <xloc>512</xloc>
+ <yloc>336</yloc>
+ <draw>Y</draw>
+ </GUI>
+ </step>
<step_error_handling>
</step_error_handling>
<slave-step-copy-partition-distribution>