summaryrefslogtreecommitdiff
path: root/import_price_group.ktr
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-09-18 13:32:00 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-09-18 13:32:00 +0700
commit76a5f56f324986a18ced12d01214670fdc18663e (patch)
tree77d73102aa001cdc78c2424db76509c9c58290e7 /import_price_group.ktr
parent9828160c003af8915fd837f2ae4d3271387ea8e3 (diff)
refactor again
Diffstat (limited to 'import_price_group.ktr')
-rw-r--r--import_price_group.ktr206
1 files changed, 87 insertions, 119 deletions
diff --git a/import_price_group.ktr b/import_price_group.ktr
index 05f5414..8a2460d 100644
--- a/import_price_group.ktr
+++ b/import_price_group.ktr
@@ -430,20 +430,20 @@
<created_date>2023/08/22 09:00:32.267</created_date>
<modified_user>-</modified_user>
<modified_date>2023/08/22 09:00:32.267</modified_date>
- <key_for_session_key/>
+ <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key>
<is_key_private>N</is_key_private>
</info>
<notepads>
</notepads>
<connection>
- <name>dw bi indoteknik</name>
- <server>192.168.23.5</server>
+ <name>dw bi indoteknik (localhost)</name>
+ <server>localhost</server>
<type>POSTGRESQL</type>
<access>Native</access>
<database>dw_bi_indoteknik</database>
<port>5432</port>
<username>odoo</username>
- <password>Encrypted 2be98afc86aa7f2e4cb79ce10d196a0d5</password>
+ <password>Encrypted 2be98afc82bdfd8dd9a2ca45acc83f6c3</password>
<servername/>
<data_tablespace/>
<index_tablespace/>
@@ -474,11 +474,11 @@
</attribute>
<attribute>
<code>SUPPORTS_BOOLEAN_DATA_TYPE</code>
- <attribute>Y</attribute>
+ <attribute>N</attribute>
</attribute>
<attribute>
<code>SUPPORTS_TIMESTAMP_DATA_TYPE</code>
- <attribute>Y</attribute>
+ <attribute>N</attribute>
</attribute>
<attribute>
<code>USE_POOLING</code>
@@ -487,8 +487,8 @@
</attributes>
</connection>
<connection>
- <name>erp indoteknik production</name>
- <server>34.101.171.249</server>
+ <name>erp indoteknik production (localhost)</name>
+ <server>localhost</server>
<type>POSTGRESQL</type>
<access>Native</access>
<database>erp_indoteknik</database>
@@ -500,41 +500,9 @@
<index_tablespace/>
<attributes>
<attribute>
- <code>FORCE_IDENTIFIERS_TO_LOWERCASE</code>
- <attribute>N</attribute>
- </attribute>
- <attribute>
- <code>FORCE_IDENTIFIERS_TO_UPPERCASE</code>
- <attribute>N</attribute>
- </attribute>
- <attribute>
- <code>IS_CLUSTERED</code>
- <attribute>N</attribute>
- </attribute>
- <attribute>
<code>PORT_NUMBER</code>
<attribute>5432</attribute>
</attribute>
- <attribute>
- <code>PRESERVE_RESERVED_WORD_CASE</code>
- <attribute>Y</attribute>
- </attribute>
- <attribute>
- <code>QUOTE_ALL_FIELDS</code>
- <attribute>N</attribute>
- </attribute>
- <attribute>
- <code>SUPPORTS_BOOLEAN_DATA_TYPE</code>
- <attribute>Y</attribute>
- </attribute>
- <attribute>
- <code>SUPPORTS_TIMESTAMP_DATA_TYPE</code>
- <attribute>Y</attribute>
- </attribute>
- <attribute>
- <code>USE_POOLING</code>
- <attribute>N</attribute>
- </attribute>
</attributes>
</connection>
<order>
@@ -545,6 +513,84 @@
</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 (localhost)</connection>
+ <commit>100</commit>
+ <update_bypassed>N</update_bypassed>
+ <lookup>
+ <schema>public</schema>
+ <table>price_group_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>name</name>
+ <rename>name</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>pricelist_id</name>
+ <rename>pricelist_id</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>group1</name>
+ <rename>group1</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>group2</name>
+ <rename>group2</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>group3</name>
+ <rename>group3</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>group4</name>
+ <rename>group4</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>group5</name>
+ <rename>group5</rename>
+ <update>Y</update>
+ </value>
+ </lookup>
+ <attributes/>
+ <cluster_schema/>
+ <remotesteps>
+ <input>
+ </input>
+ <output>
+ </output>
+ </remotesteps>
+ <GUI>
+ <xloc>480</xloc>
+ <yloc>112</yloc>
+ <draw>Y</draw>
+ </GUI>
+ </step>
+ <step>
<name>Table input</name>
<type>TableInput</type>
<description/>
@@ -555,7 +601,7 @@
<method>none</method>
<schema_name/>
</partitioning>
- <connection>erp indoteknik production</connection>
+ <connection>erp indoteknik production (localhost)</connection>
<sql>select id, name, pricelist_id, group1, group2, group3, group4, group5 from price_group pg</sql>
<limit>0</limit>
<lookup/>
@@ -763,84 +809,6 @@
<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>price_group_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>name</name>
- <rename>name</rename>
- <update>Y</update>
- </value>
- <value>
- <name>pricelist_id</name>
- <rename>pricelist_id</rename>
- <update>Y</update>
- </value>
- <value>
- <name>group1</name>
- <rename>group1</rename>
- <update>Y</update>
- </value>
- <value>
- <name>group2</name>
- <rename>group2</rename>
- <update>Y</update>
- </value>
- <value>
- <name>group3</name>
- <rename>group3</rename>
- <update>Y</update>
- </value>
- <value>
- <name>group4</name>
- <rename>group4</rename>
- <update>Y</update>
- </value>
- <value>
- <name>group5</name>
- <rename>group5</rename>
- <update>Y</update>
- </value>
- </lookup>
- <attributes/>
- <cluster_schema/>
- <remotesteps>
- <input>
- </input>
- <output>
- </output>
- </remotesteps>
- <GUI>
- <xloc>480</xloc>
- <yloc>112</yloc>
- <draw>Y</draw>
- </GUI>
- </step>
<step_error_handling>
</step_error_handling>
<slave-step-copy-partition-distribution>