summaryrefslogtreecommitdiff
path: root/import_account_move_line_onetime.ktr
diff options
context:
space:
mode:
Diffstat (limited to 'import_account_move_line_onetime.ktr')
-rw-r--r--import_account_move_line_onetime.ktr55
1 files changed, 39 insertions, 16 deletions
diff --git a/import_account_move_line_onetime.ktr b/import_account_move_line_onetime.ktr
index d37e6cd..fb7afb5 100644
--- a/import_account_move_line_onetime.ktr
+++ b/import_account_move_line_onetime.ktr
@@ -437,14 +437,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>pdi</username>
- <password>Encrypted 2be989bb20084ca95810197629d9ea18e</password>
+ <port>5703</port>
+ <username>metabase</username>
+ <password>Encrypted 2be98dfba28d7bf86853c9f58cfc4f889</password>
<servername/>
<data_tablespace/>
<index_tablespace/>
@@ -463,7 +463,7 @@
</attribute>
<attribute>
<code>PORT_NUMBER</code>
- <attribute>5432</attribute>
+ <attribute>5703</attribute>
</attribute>
<attribute>
<code>PRESERVE_RESERVED_WORD_CASE</code>
@@ -479,7 +479,7 @@
</attribute>
<attribute>
<code>SUPPORTS_TIMESTAMP_DATA_TYPE</code>
- <attribute>N</attribute>
+ <attribute>Y</attribute>
</attribute>
<attribute>
<code>USE_POOLING</code>
@@ -488,14 +488,14 @@
</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>
- <username>pdi</username>
- <password>Encrypted 2be989bb20084ca95810197629d9ea18e</password>
+ <port>5901</port>
+ <username>odoo</username>
+ <password>Encrypted 2be98afc82bdfd8dd9a2ca45acc83f6c3</password>
<servername/>
<data_tablespace/>
<index_tablespace/>
@@ -514,7 +514,7 @@
</attribute>
<attribute>
<code>PORT_NUMBER</code>
- <attribute>5432</attribute>
+ <attribute>5901</attribute>
</attribute>
<attribute>
<code>PRESERVE_RESERVED_WORD_CASE</code>
@@ -530,7 +530,7 @@
</attribute>
<attribute>
<code>SUPPORTS_TIMESTAMP_DATA_TYPE</code>
- <attribute>N</attribute>
+ <attribute>Y</attribute>
</attribute>
<attribute>
<code>USE_POOLING</code>
@@ -556,7 +556,7 @@
<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>
@@ -889,11 +889,11 @@
<method>none</method>
<schema_name/>
</partitioning>
- <connection>erp indoteknik production (localhost)</connection>
+ <connection>erp indoteknik production</connection>
<sql>select aml.* from account_move_line aml
join account_move am on am.id = aml.move_id
where 1=1
-and aml.write_date between '2024-06-01' and '2024-06-30'
+and aml.write_date between '2025-01-01' and '2025-03-30'
--and to_char(am.date, 'YYYY') = '2023'
--and (am.move_type = 'out_invoice' or am.journal_id = 3)
--and aml.write_date >= (now() - '5 days'::interval)</sql>
@@ -2261,6 +2261,29 @@ and aml.write_date between '2024-06-01' and '2024-06-30'
<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>line_no</name>
+ <length>9</length>
+ <precision>0</precision>
+ <origin>Table input</origin>
+ <comments>line_no</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_US</date_format_locale>
+ <date_format_timezone>Asia/Bangkok</date_format_timezone>
+ <lenient_string_to_number>N</lenient_string_to_number>
+ </value-meta>
</row-meta>
<attributes/>
<cluster_schema/>