diff options
| -rw-r--r-- | import_account_move_line_onetime.ktr | 4 | ||||
| -rw-r--r-- | import_account_move_onetime.ktr | 4 | ||||
| -rw-r--r-- | run_single_ktr.sh | 2 |
3 files changed, 7 insertions, 3 deletions
diff --git a/import_account_move_line_onetime.ktr b/import_account_move_line_onetime.ktr index 4268ac5..9962196 100644 --- a/import_account_move_line_onetime.ktr +++ b/import_account_move_line_onetime.ktr @@ -892,7 +892,9 @@ <connection>erp indoteknik production (localhost)</connection> <sql>select aml.* from account_move_line aml join account_move am on am.id = aml.move_id -where to_char(am.date, 'YYYY') = '2023' +where 1=1 +and aml.write_date between '2024-06-01' and '2024-06-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> <limit>0</limit> diff --git a/import_account_move_onetime.ktr b/import_account_move_onetime.ktr index 40e41cf..dc62062 100644 --- a/import_account_move_onetime.ktr +++ b/import_account_move_onetime.ktr @@ -1021,7 +1021,9 @@ </partitioning> <connection>erp indoteknik production (localhost)</connection> <sql>select am.* from account_move am -where to_char(am.date, 'YYYY') = '2023' +where 1=1 +and am.write_date between '2024-06-01' and '2024-06-30' +--and to_char(am.date, 'YYYY') = '2023' --and (am.move_type = 'out_invoice' or journal_id = 3) --and am.write_date >= (now() - '5 days'::interval)</sql> <limit>0</limit> diff --git a/run_single_ktr.sh b/run_single_ktr.sh index 9832952..f4ce359 100644 --- a/run_single_ktr.sh +++ b/run_single_ktr.sh @@ -1 +1 @@ -sh /home/stephan/data-integration/pan.sh -level="Debug" -file="/home/stephan/transformation-job-bi/import_purchase_order_v2.ktr" > "/home/stephan/transformation-job-bi/log/run_single_ktr.log" +sh /home/stephan/data-integration/pan.sh -level="Debug" -file="/home/stephan/transformation-job-bi/import_account_move_onetime.ktr" > "/home/stephan/transformation-job-bi/log/run_single_ktr.log" |
