diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-09-25 17:10:40 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-09-25 17:10:40 +0700 |
| commit | 2b6d84bdf139f8f99ac554dc7b00db2d2df2c079 (patch) | |
| tree | 83929dec0e13e050c9329526ca4e0ef74994b480 /import_account_move_line.ktr | |
| parent | 3005e40f7d1675403f0ce32807022e297786c1a8 (diff) | |
add interval
Diffstat (limited to 'import_account_move_line.ktr')
| -rw-r--r-- | import_account_move_line.ktr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/import_account_move_line.ktr b/import_account_move_line.ktr index c5df6d2..6dd6931 100644 --- a/import_account_move_line.ktr +++ b/import_account_move_line.ktr @@ -505,7 +505,7 @@ <schema_name/> </partitioning> <connection>erp indoteknik local</connection> - <sql>select * from account_move_line</sql> + <sql>select * from account_move_line where write_date >= (now() - '5 days'::interval)</sql> <limit>0</limit> <lookup/> <execute_each_row>N</execute_each_row> |
