summaryrefslogtreecommitdiff
path: root/import_sale_order.ktr
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-09-20 10:49:12 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-09-20 10:49:12 +0700
commit378be935ef27121019d2e648212e34b05e02fe3b (patch)
treeac82a2482e9ed746b2d7645f6302612892b83374 /import_sale_order.ktr
parentc6aa658ff158e8758065649e4cb7162bdd0315b3 (diff)
migrate to gcp (test)
Diffstat (limited to 'import_sale_order.ktr')
-rw-r--r--import_sale_order.ktr324
1 files changed, 162 insertions, 162 deletions
diff --git a/import_sale_order.ktr b/import_sale_order.ktr
index 360cf8a..f165134 100644
--- a/import_sale_order.ktr
+++ b/import_sale_order.ktr
@@ -430,20 +430,20 @@
<created_date>2023/08/09 14:54:40.577</created_date>
<modified_user>-</modified_user>
<modified_date>2023/08/09 14:54:40.577</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/>
@@ -478,7 +478,7 @@
</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>10.148.0.3</server>
<type>POSTGRESQL</type>
<access>Native</access>
<database>erp_indoteknik</database>
@@ -529,7 +529,7 @@
</attribute>
<attribute>
<code>SUPPORTS_TIMESTAMP_DATA_TYPE</code>
- <attribute>Y</attribute>
+ <attribute>N</attribute>
</attribute>
<attribute>
<code>USE_POOLING</code>
@@ -545,6 +545,159 @@
</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>sale_order</table>
+ <key>
+ <name>orderline_id</name>
+ <field>orderline_id</field>
+ <condition>=</condition>
+ <name2/>
+ </key>
+ <value>
+ <name>orderline_id</name>
+ <rename>orderline_id</rename>
+ <update>N</update>
+ </value>
+ <value>
+ <name>order_id</name>
+ <rename>order_id</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>documentno</name>
+ <rename>documentno</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>industry</name>
+ <rename>industry</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>customer</name>
+ <rename>customer</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>date_order</name>
+ <rename>date_order</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>write_date</name>
+ <rename>write_date</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>brand</name>
+ <rename>brand</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>product</name>
+ <rename>product</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>item_code</name>
+ <rename>item_code</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>discount</name>
+ <rename>discount</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>price_subtotal</name>
+ <rename>price_subtotal</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>price_total</name>
+ <rename>price_total</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>state</name>
+ <rename>state</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>salesperson</name>
+ <rename>salesperson</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>year_month_invoice_date</name>
+ <rename>year_month_invoice_date</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>year</name>
+ <rename>year</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>month</name>
+ <rename>month</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>quarter</name>
+ <rename>quarter</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>product_id</name>
+ <rename>product_id</rename>
+ <update>Y</update>
+ </value>
+ <value>
+ <name>brand_id</name>
+ <rename>brand_id</rename>
+ <update>Y</update>
+ </value>
+ </lookup>
+ <attributes/>
+ <cluster_schema/>
+ <remotesteps>
+ <input>
+ </input>
+ <output>
+ </output>
+ </remotesteps>
+ <GUI>
+ <xloc>400</xloc>
+ <yloc>112</yloc>
+ <draw>Y</draw>
+ </GUI>
+ </step>
+ <step>
<name>Table input</name>
<type>TableInput</type>
<description/>
@@ -555,7 +708,7 @@
<method>none</method>
<schema_name/>
</partitioning>
- <connection>erp indoteknik production</connection>
+ <connection>erp indoteknik production (localhost)</connection>
<sql>select * from v_sale_order</sql>
<limit>0</limit>
<lookup/>
@@ -1062,159 +1215,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>sale_order</table>
- <key>
- <name>orderline_id</name>
- <field>orderline_id</field>
- <condition>=</condition>
- <name2/>
- </key>
- <value>
- <name>orderline_id</name>
- <rename>orderline_id</rename>
- <update>N</update>
- </value>
- <value>
- <name>order_id</name>
- <rename>order_id</rename>
- <update>Y</update>
- </value>
- <value>
- <name>documentno</name>
- <rename>documentno</rename>
- <update>Y</update>
- </value>
- <value>
- <name>industry</name>
- <rename>industry</rename>
- <update>Y</update>
- </value>
- <value>
- <name>customer</name>
- <rename>customer</rename>
- <update>Y</update>
- </value>
- <value>
- <name>date_order</name>
- <rename>date_order</rename>
- <update>Y</update>
- </value>
- <value>
- <name>write_date</name>
- <rename>write_date</rename>
- <update>Y</update>
- </value>
- <value>
- <name>brand</name>
- <rename>brand</rename>
- <update>Y</update>
- </value>
- <value>
- <name>product</name>
- <rename>product</rename>
- <update>Y</update>
- </value>
- <value>
- <name>item_code</name>
- <rename>item_code</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>discount</name>
- <rename>discount</rename>
- <update>Y</update>
- </value>
- <value>
- <name>price_subtotal</name>
- <rename>price_subtotal</rename>
- <update>Y</update>
- </value>
- <value>
- <name>price_total</name>
- <rename>price_total</rename>
- <update>Y</update>
- </value>
- <value>
- <name>state</name>
- <rename>state</rename>
- <update>Y</update>
- </value>
- <value>
- <name>salesperson</name>
- <rename>salesperson</rename>
- <update>Y</update>
- </value>
- <value>
- <name>year_month_invoice_date</name>
- <rename>year_month_invoice_date</rename>
- <update>Y</update>
- </value>
- <value>
- <name>year</name>
- <rename>year</rename>
- <update>Y</update>
- </value>
- <value>
- <name>month</name>
- <rename>month</rename>
- <update>Y</update>
- </value>
- <value>
- <name>quarter</name>
- <rename>quarter</rename>
- <update>Y</update>
- </value>
- <value>
- <name>product_id</name>
- <rename>product_id</rename>
- <update>Y</update>
- </value>
- <value>
- <name>brand_id</name>
- <rename>brand_id</rename>
- <update>Y</update>
- </value>
- </lookup>
- <attributes/>
- <cluster_schema/>
- <remotesteps>
- <input>
- </input>
- <output>
- </output>
- </remotesteps>
- <GUI>
- <xloc>400</xloc>
- <yloc>112</yloc>
- <draw>Y</draw>
- </GUI>
- </step>
<step_error_handling>
</step_error_handling>
<slave-step-copy-partition-distribution>