diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2025-10-22 13:34:10 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2025-10-22 13:34:10 +0700 |
| commit | b76065d255794323fb2f02afe723f63c0d57c7ad (patch) | |
| tree | 079e8b67f694e505cbf80c854039181d41bcbb6d /delete_useless_data_account_move_line.ktr | |
| parent | af33dac188fe74e189246c0c9d1c0c9df93b3bc2 (diff) | |
delete useless data and update diff data
Diffstat (limited to 'delete_useless_data_account_move_line.ktr')
| -rw-r--r-- | delete_useless_data_account_move_line.ktr | 43 |
1 files changed, 24 insertions, 19 deletions
diff --git a/delete_useless_data_account_move_line.ktr b/delete_useless_data_account_move_line.ktr index f3cb0ba..daac480 100644 --- a/delete_useless_data_account_move_line.ktr +++ b/delete_useless_data_account_move_line.ktr @@ -436,14 +436,14 @@ <notepads> </notepads> <connection> - <name>dw bi indoteknik</name> + <name>dw bi indoteknik (localhost)</name> <server>localhost</server> <type>POSTGRESQL</type> <access>Native</access> <database>dw_bi_indoteknik</database> - <port>5703</port> - <username>metabase</username> - <password>Encrypted 2be98dfba28d7bf86853c9f58cfc4f889</password> + <port>5432</port> + <username>odoo</username> + <password>Encrypted 2be98afc82bdfd8dd9a2ca45acc83f6c3</password> <servername/> <data_tablespace/> <index_tablespace/> @@ -462,7 +462,7 @@ </attribute> <attribute> <code>PORT_NUMBER</code> - <attribute>5703</attribute> + <attribute>5432</attribute> </attribute> <attribute> <code>PRESERVE_RESERVED_WORD_CASE</code> @@ -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,14 +487,14 @@ </attributes> </connection> <connection> - <name>erp indoteknik production</name> - <server>localhost</server> + <name>erp indoteknik production (localhost)</name> + <server>10.148.0.3</server> <type>POSTGRESQL</type> <access>Native</access> <database>erp_indoteknik</database> - <port>5901</port> - <username>odoo</username> - <password>Encrypted 2be98afc82bdfd8dd9a2ca45acc83f6c3</password> + <port>5432</port> + <username>pdi</username> + <password>Encrypted 2be989bb20084ca95810197629d9ea18e</password> <servername/> <data_tablespace/> <index_tablespace/> @@ -513,7 +513,7 @@ </attribute> <attribute> <code>PORT_NUMBER</code> - <attribute>5901</attribute> + <attribute>5432</attribute> </attribute> <attribute> <code>PRESERVE_RESERVED_WORD_CASE</code> @@ -529,7 +529,7 @@ </attribute> <attribute> <code>SUPPORTS_TIMESTAMP_DATA_TYPE</code> - <attribute>Y</attribute> + <attribute>N</attribute> </attribute> <attribute> <code>USE_POOLING</code> @@ -585,7 +585,7 @@ <method>none</method> <schema_name/> </partitioning> - <connection>dw bi indoteknik</connection> + <connection>dw bi indoteknik (localhost)</connection> <commit>100</commit> <lookup> <schema>public</schema> @@ -799,8 +799,10 @@ <method>none</method> <schema_name/> </partitioning> - <connection>dw bi indoteknik</connection> - <sql>select id from account_move_line order by id</sql> + <connection>dw bi indoteknik (localhost)</connection> + <sql>select id from account_move_line +and to_char(write_date, 'YYYY') = get_now_year() +order by id</sql> <limit>0</limit> <lookup/> <execute_each_row>N</execute_each_row> @@ -833,8 +835,11 @@ <method>none</method> <schema_name/> </partitioning> - <connection>erp indoteknik production</connection> - <sql>select id from account_move_line order by id</sql> + <connection>erp indoteknik production (localhost)</connection> + <sql>select id from account_move_line +where 1=1 +and to_char(write_date, 'YYYY') = get_now_year() +order by id</sql> <limit>0</limit> <lookup/> <execute_each_row>N</execute_each_row> @@ -848,7 +853,7 @@ <name>id</name> <length>9</length> <precision>0</precision> - <origin>Table input</origin> + <origin>production</origin> <comments>id</comments> <conversion_Mask>####0;-####0</conversion_Mask> <decimal_symbol>.</decimal_symbol> |
