diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2024-05-08 11:11:05 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2024-05-08 11:11:05 +0700 |
| commit | 0ac6c227f0fba64af0908f2df9baadc270b15d80 (patch) | |
| tree | 56000f16bd5e8042ef7ec2bcbdf75258d49a8d3f /import_account_move_line.ktr | |
| parent | 19aaa36b90c75a1f3cc77b55f7f8ab97648f0a61 (diff) | |
import account move onetime - import all data
Diffstat (limited to 'import_account_move_line.ktr')
| -rw-r--r-- | import_account_move_line.ktr | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/import_account_move_line.ktr b/import_account_move_line.ktr index 0f58b0b..ba80dcf 100644 --- a/import_account_move_line.ktr +++ b/import_account_move_line.ktr @@ -891,7 +891,8 @@ <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 (am.move_type = 'out_invoice' or am.journal_id = 3) +where 1=1 +--and (am.move_type = 'out_invoice' or am.journal_id = 3) and aml.write_date >= (now() - '5 days'::interval)</sql> <limit>0</limit> <lookup/> |
