summaryrefslogtreecommitdiff
path: root/import_account_move_line_onetime.ktr
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2024-06-25 14:41:20 +0700
committerstephanchrst <stephanchrst@gmail.com>2024-06-25 14:41:20 +0700
commit9c80cca617555bfaa38cd7bc747afa6914b49267 (patch)
treeda3575f6f739a23a070049e1c107f302483082db /import_account_move_line_onetime.ktr
parenta93d47cdbb383b9c17c44f676ea7bca813a3eb5a (diff)
import account move one time only june 2024
Diffstat (limited to 'import_account_move_line_onetime.ktr')
-rw-r--r--import_account_move_line_onetime.ktr4
1 files changed, 3 insertions, 1 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>