summaryrefslogtreecommitdiff
path: root/import_account_move_onetime.ktr
diff options
context:
space:
mode:
Diffstat (limited to 'import_account_move_onetime.ktr')
-rw-r--r--import_account_move_onetime.ktr4
1 files changed, 3 insertions, 1 deletions
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>