summaryrefslogtreecommitdiff
path: root/import_pricelist.ktr
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-09-11 15:19:28 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-09-11 15:19:28 +0700
commit1ef99735feb84dbe33047fd54857cc4ae686f9cf (patch)
treecc78e76b497e1a7bd3963c4e67f1c386a43c0345 /import_pricelist.ktr
parent0647074f2340c2c1e2c052a7db029067e05efad6 (diff)
recovery data
Diffstat (limited to 'import_pricelist.ktr')
-rw-r--r--import_pricelist.ktr122
1 files changed, 61 insertions, 61 deletions
diff --git a/import_pricelist.ktr b/import_pricelist.ktr
index 68442e5..16fa89f 100644
--- a/import_pricelist.ktr
+++ b/import_pricelist.ktr
@@ -430,7 +430,7 @@
<created_date>2023/08/09 15:49:32.100</created_date>
<modified_user>-</modified_user>
<modified_date>2023/08/09 15:49:32.100</modified_date>
- <key_for_session_key/>
+ <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key>
<is_key_private>N</is_key_private>
</info>
<notepads>
@@ -545,6 +545,64 @@
</hop>
</order>
<step>
+ <name>Insert / update</name>
+ <type>InsertUpdate</type>
+ <description/>
+ <distribute>Y</distribute>
+ <custom_distribution/>
+ <copies>1</copies>
+ <partitioning>
+ <method>none</method>
+ <schema_name/>
+ </partitioning>
+ <connection>dw bi indoteknik</connection>
+ <commit>100</commit>
+ <update_bypassed>N</update_bypassed>
+ <lookup>
+ <schema>public</schema>
+ <table>pricelist</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>write_date</name>
+ <rename>write_date</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>price</name>
+ <rename>price</rename>
+ <update>Y</update>
+ </value>
+ </lookup>
+ <attributes/>
+ <cluster_schema/>
+ <remotesteps>
+ <input>
+ </input>
+ <output>
+ </output>
+ </remotesteps>
+ <GUI>
+ <xloc>368</xloc>
+ <yloc>176</yloc>
+ <draw>Y</draw>
+ </GUI>
+ </step>
+ <step>
<name>Table input</name>
<type>TableInput</type>
<description/>
@@ -557,8 +615,8 @@
</partitioning>
<connection>erp indoteknik production</connection>
<sql>select ppi.id, ppi.product_id, ppi.write_date, ppi.fixed_price as price
-from product_pricelist_item ppi where ppi.pricelist_id = 1 and
-ppi.write_date >= (now() - '5 days'::interval)</sql>
+from product_pricelist_item ppi where ppi.pricelist_id = 1
+--and ppi.write_date >= (now() - '5 days'::interval)</sql>
<limit>0</limit>
<lookup/>
<execute_each_row>N</execute_each_row>
@@ -673,64 +731,6 @@ ppi.write_date >= (now() - '5 days'::interval)</sql>
<draw>Y</draw>
</GUI>
</step>
- <step>
- <name>Insert / update</name>
- <type>InsertUpdate</type>
- <description/>
- <distribute>Y</distribute>
- <custom_distribution/>
- <copies>1</copies>
- <partitioning>
- <method>none</method>
- <schema_name/>
- </partitioning>
- <connection>dw bi indoteknik</connection>
- <commit>100</commit>
- <update_bypassed>N</update_bypassed>
- <lookup>
- <schema>public</schema>
- <table>pricelist</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>write_date</name>
- <rename>write_date</rename>
- <update>Y</update>
- </value>
- <value>
- <name>price</name>
- <rename>price</rename>
- <update>Y</update>
- </value>
- </lookup>
- <attributes/>
- <cluster_schema/>
- <remotesteps>
- <input>
- </input>
- <output>
- </output>
- </remotesteps>
- <GUI>
- <xloc>368</xloc>
- <yloc>176</yloc>
- <draw>Y</draw>
- </GUI>
- </step>
<step_error_handling>
</step_error_handling>
<slave-step-copy-partition-distribution>