summaryrefslogtreecommitdiff
path: root/import_brand.ktr
diff options
context:
space:
mode:
Diffstat (limited to 'import_brand.ktr')
-rw-r--r--import_brand.ktr70
1 files changed, 50 insertions, 20 deletions
diff --git a/import_brand.ktr b/import_brand.ktr
index fa669ce..d006f22 100644
--- a/import_brand.ktr
+++ b/import_brand.ktr
@@ -436,14 +436,14 @@
<notepads>
</notepads>
<connection>
- <name>dw bi indoteknik (localhost)</name>
+ <name>dw bi indoteknik</name>
<server>localhost</server>
<type>POSTGRESQL</type>
<access>Native</access>
<database>dw_bi_indoteknik</database>
- <port>5432</port>
- <username>odoo</username>
- <password>Encrypted 2be98afc82bdfd8dd9a2ca45acc83f6c3</password>
+ <port>5703</port>
+ <username>metabase</username>
+ <password>Encrypted 2be98dfba28d7bf86853c9f58cfc4f889</password>
<servername/>
<data_tablespace/>
<index_tablespace/>
@@ -462,7 +462,7 @@
</attribute>
<attribute>
<code>PORT_NUMBER</code>
- <attribute>5432</attribute>
+ <attribute>5703</attribute>
</attribute>
<attribute>
<code>PRESERVE_RESERVED_WORD_CASE</code>
@@ -478,7 +478,7 @@
</attribute>
<attribute>
<code>SUPPORTS_TIMESTAMP_DATA_TYPE</code>
- <attribute>N</attribute>
+ <attribute>Y</attribute>
</attribute>
<attribute>
<code>USE_POOLING</code>
@@ -487,12 +487,12 @@
</attributes>
</connection>
<connection>
- <name>erp indoteknik production (localhost)</name>
- <server>10.148.0.3</server>
+ <name>erp indoteknik production</name>
+ <server>localhost</server>
<type>POSTGRESQL</type>
<access>Native</access>
<database>erp_indoteknik</database>
- <port>5432</port>
+ <port>5901</port>
<username>odoo</username>
<password>Encrypted 2be98afc82bdfd8dd9a2ca45acc83f6c3</password>
<servername/>
@@ -513,7 +513,7 @@
</attribute>
<attribute>
<code>PORT_NUMBER</code>
- <attribute>5432</attribute>
+ <attribute>5901</attribute>
</attribute>
<attribute>
<code>PRESERVE_RESERVED_WORD_CASE</code>
@@ -529,7 +529,7 @@
</attribute>
<attribute>
<code>SUPPORTS_TIMESTAMP_DATA_TYPE</code>
- <attribute>N</attribute>
+ <attribute>Y</attribute>
</attribute>
<attribute>
<code>USE_POOLING</code>
@@ -555,10 +555,12 @@
<method>none</method>
<schema_name/>
</partitioning>
- <connection>erp indoteknik production (localhost)</connection>
+ <connection>erp indoteknik production</connection>
<sql>select id, x_name, x_manufacture_level,
(select x_name from x_manufactures xm2 where xm2.id = xm.parent_id) as parent, pricing_group,
-(select name from product_public_category ppc where ppc.id in(select product_public_category_id from product_public_category_x_manufactures_rel where x_manufactures_id = xm.id limit 1)) as category
+(select name from product_public_category ppc where ppc.id in(select product_public_category_id
+ from product_public_category_x_manufactures_rel where x_manufactures_id = xm.id limit 1)) as category,
+override_vendor_id
from x_manufactures xm
where xm.write_date >= (now() - '15 days'::interval)</sql>
<limit>0</limit>
@@ -587,7 +589,7 @@ where xm.write_date >= (now() - '15 days'::interval)</sql>
<sort_descending>N</sort_descending>
<output_padding>N</output_padding>
<date_format_lenient>N</date_format_lenient>
- <date_format_locale>en_US</date_format_locale>
+ <date_format_locale>en_ID</date_format_locale>
<date_format_timezone>Asia/Bangkok</date_format_timezone>
<lenient_string_to_number>N</lenient_string_to_number>
</value-meta>
@@ -610,7 +612,7 @@ where xm.write_date >= (now() - '15 days'::interval)</sql>
<sort_descending>N</sort_descending>
<output_padding>N</output_padding>
<date_format_lenient>N</date_format_lenient>
- <date_format_locale>en_US</date_format_locale>
+ <date_format_locale>en_ID</date_format_locale>
<date_format_timezone>Asia/Bangkok</date_format_timezone>
<lenient_string_to_number>N</lenient_string_to_number>
</value-meta>
@@ -633,7 +635,7 @@ where xm.write_date >= (now() - '15 days'::interval)</sql>
<sort_descending>N</sort_descending>
<output_padding>N</output_padding>
<date_format_lenient>N</date_format_lenient>
- <date_format_locale>en_US</date_format_locale>
+ <date_format_locale>en_ID</date_format_locale>
<date_format_timezone>Asia/Bangkok</date_format_timezone>
<lenient_string_to_number>N</lenient_string_to_number>
</value-meta>
@@ -656,7 +658,7 @@ where xm.write_date >= (now() - '15 days'::interval)</sql>
<sort_descending>N</sort_descending>
<output_padding>N</output_padding>
<date_format_lenient>N</date_format_lenient>
- <date_format_locale>en_US</date_format_locale>
+ <date_format_locale>en_ID</date_format_locale>
<date_format_timezone>Asia/Bangkok</date_format_timezone>
<lenient_string_to_number>N</lenient_string_to_number>
</value-meta>
@@ -679,7 +681,7 @@ where xm.write_date >= (now() - '15 days'::interval)</sql>
<sort_descending>N</sort_descending>
<output_padding>N</output_padding>
<date_format_lenient>N</date_format_lenient>
- <date_format_locale>en_US</date_format_locale>
+ <date_format_locale>en_ID</date_format_locale>
<date_format_timezone>Asia/Bangkok</date_format_timezone>
<lenient_string_to_number>N</lenient_string_to_number>
</value-meta>
@@ -702,7 +704,30 @@ where xm.write_date >= (now() - '15 days'::interval)</sql>
<sort_descending>N</sort_descending>
<output_padding>N</output_padding>
<date_format_lenient>N</date_format_lenient>
- <date_format_locale>en_US</date_format_locale>
+ <date_format_locale>en_ID</date_format_locale>
+ <date_format_timezone>Asia/Bangkok</date_format_timezone>
+ <lenient_string_to_number>N</lenient_string_to_number>
+ </value-meta>
+ <value-meta>
+ <type>Integer</type>
+ <storagetype>normal</storagetype>
+ <name>override_vendor_id</name>
+ <length>9</length>
+ <precision>0</precision>
+ <origin>Table input</origin>
+ <comments>override_vendor_id</comments>
+ <conversion_Mask>####0;-####0</conversion_Mask>
+ <decimal_symbol>.</decimal_symbol>
+ <grouping_symbol>,</grouping_symbol>
+ <currency_symbol/>
+ <trim_type>none</trim_type>
+ <case_insensitive>N</case_insensitive>
+ <collator_disabled>Y</collator_disabled>
+ <collator_strength>0</collator_strength>
+ <sort_descending>N</sort_descending>
+ <output_padding>N</output_padding>
+ <date_format_lenient>N</date_format_lenient>
+ <date_format_locale>en_ID</date_format_locale>
<date_format_timezone>Asia/Bangkok</date_format_timezone>
<lenient_string_to_number>N</lenient_string_to_number>
</value-meta>
@@ -732,7 +757,7 @@ where xm.write_date >= (now() - '15 days'::interval)</sql>
<method>none</method>
<schema_name/>
</partitioning>
- <connection>dw bi indoteknik (localhost)</connection>
+ <connection>dw bi indoteknik</connection>
<commit>100</commit>
<update_bypassed>N</update_bypassed>
<lookup>
@@ -774,6 +799,11 @@ where xm.write_date >= (now() - '15 days'::interval)</sql>
<rename>category</rename>
<update>Y</update>
</value>
+ <value>
+ <name>override_vendor_id</name>
+ <rename>override_vendor_id</rename>
+ <update>Y</update>
+ </value>
</lookup>
<attributes/>
<cluster_schema/>