summaryrefslogtreecommitdiff
path: root/insert_update_pricelist.ktr
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-10-01 16:30:39 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-10-01 16:30:39 +0700
commit46742d881f0b2fabfbaaf5e823cea113625dbfa3 (patch)
tree7903d83dd925f0d8ddf35907cc66aac757ac3e7a /insert_update_pricelist.ktr
parentdf8c2cfc3f6fb704bf885180658677d43ec1d1dd (diff)
remake again pricelist
Diffstat (limited to 'insert_update_pricelist.ktr')
-rw-r--r--insert_update_pricelist.ktr134
1 files changed, 67 insertions, 67 deletions
diff --git a/insert_update_pricelist.ktr b/insert_update_pricelist.ktr
index 330a5d0..482819a 100644
--- a/insert_update_pricelist.ktr
+++ b/insert_update_pricelist.ktr
@@ -572,12 +572,12 @@
<hop>
<from>p Insert / update base pl</from>
<to>base solr flag pt</to>
- <enabled>Y</enabled>
+ <enabled>N</enabled>
</hop>
<hop>
<from>base solr flag pt</from>
<to>base solr flag pp</to>
- <enabled>Y</enabled>
+ <enabled>N</enabled>
</hop>
</order>
<step>
@@ -787,8 +787,8 @@
</GUI>
</step>
<step>
- <name>base solr flag pt</name>
- <type>InsertUpdate</type>
+ <name>Merge join</name>
+ <type>MergeJoin</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
@@ -797,24 +797,15 @@
<method>none</method>
<schema_name/>
</partitioning>
- <connection>erp indoteknik production (localhost)</connection>
- <commit>100</commit>
- <update_bypassed>N</update_bypassed>
- <lookup>
- <schema>public</schema>
- <table>product_template</table>
- <key>
- <name>template_id</name>
- <field>id</field>
- <condition>=</condition>
- <name2/>
- </key>
- <value>
- <name>solr_flag</name>
- <rename>solr_flag</rename>
- <update>Y</update>
- </value>
- </lookup>
+ <join_type>LEFT OUTER</join_type>
+ <step1>price compute</step1>
+ <step2>price erp</step2>
+ <keys_1>
+ <key>product_id</key>
+ </keys_1>
+ <keys_2>
+ <key>product_id</key>
+ </keys_2>
<attributes/>
<cluster_schema/>
<remotesteps>
@@ -824,12 +815,44 @@
</output>
</remotesteps>
<GUI>
- <xloc>912</xloc>
+ <xloc>320</xloc>
<yloc>272</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
+ <name>Write to log</name>
+ <type>WriteToLog</type>
+ <description/>
+ <distribute>Y</distribute>
+ <custom_distribution/>
+ <copies>1</copies>
+ <partitioning>
+ <method>none</method>
+ <schema_name/>
+ </partitioning>
+ <loglevel>log_level_nothing</loglevel>
+ <displayHeader>Y</displayHeader>
+ <limitRows>N</limitRows>
+ <limitRowsNumber>0</limitRowsNumber>
+ <logmessage/>
+ <fields>
+ </fields>
+ <attributes/>
+ <cluster_schema/>
+ <remotesteps>
+ <input>
+ </input>
+ <output>
+ </output>
+ </remotesteps>
+ <GUI>
+ <xloc>464</xloc>
+ <yloc>400</yloc>
+ <draw>Y</draw>
+ </GUI>
+ </step>
+ <step>
<name>base solr flag pp</name>
<type>InsertUpdate</type>
<description/>
@@ -873,8 +896,8 @@
</GUI>
</step>
<step>
- <name>Merge join</name>
- <type>MergeJoin</type>
+ <name>base solr flag pt</name>
+ <type>InsertUpdate</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
@@ -883,15 +906,24 @@
<method>none</method>
<schema_name/>
</partitioning>
- <join_type>LEFT OUTER</join_type>
- <step1>price compute</step1>
- <step2>price erp</step2>
- <keys_1>
- <key>product_id</key>
- </keys_1>
- <keys_2>
- <key>product_id</key>
- </keys_2>
+ <connection>erp indoteknik production (localhost)</connection>
+ <commit>100</commit>
+ <update_bypassed>N</update_bypassed>
+ <lookup>
+ <schema>public</schema>
+ <table>product_template</table>
+ <key>
+ <name>template_id</name>
+ <field>id</field>
+ <condition>=</condition>
+ <name2/>
+ </key>
+ <value>
+ <name>solr_flag</name>
+ <rename>solr_flag</rename>
+ <update>Y</update>
+ </value>
+ </lookup>
<attributes/>
<cluster_schema/>
<remotesteps>
@@ -901,44 +933,12 @@
</output>
</remotesteps>
<GUI>
- <xloc>320</xloc>
+ <xloc>912</xloc>
<yloc>272</yloc>
<draw>Y</draw>
</GUI>
</step>
<step>
- <name>Write to log</name>
- <type>WriteToLog</type>
- <description/>
- <distribute>Y</distribute>
- <custom_distribution/>
- <copies>1</copies>
- <partitioning>
- <method>none</method>
- <schema_name/>
- </partitioning>
- <loglevel>log_level_nothing</loglevel>
- <displayHeader>Y</displayHeader>
- <limitRows>N</limitRows>
- <limitRowsNumber>0</limitRowsNumber>
- <logmessage/>
- <fields>
- </fields>
- <attributes/>
- <cluster_schema/>
- <remotesteps>
- <input>
- </input>
- <output>
- </output>
- </remotesteps>
- <GUI>
- <xloc>464</xloc>
- <yloc>400</yloc>
- <draw>Y</draw>
- </GUI>
- </step>
- <step>
<name>p Insert / update base pl</name>
<type>InsertUpdate</type>
<description/>