diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2024-07-12 10:30:43 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2024-07-12 10:30:43 +0700 |
| commit | 708b3d8c2ccf6714e41f3bc22715704277743689 (patch) | |
| tree | d445479d6764b98346d0d5d3a137ead6029b29e6 /import_sale_order_v2.ktr | |
| parent | 4fb177cbcf3188342f4923d5dce1150bab776333 (diff) | |
change import sale order
Diffstat (limited to 'import_sale_order_v2.ktr')
| -rw-r--r-- | import_sale_order_v2.ktr | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/import_sale_order_v2.ktr b/import_sale_order_v2.ktr index 1a58ca1..4eb9a7a 100644 --- a/import_sale_order_v2.ktr +++ b/import_sale_order_v2.ktr @@ -561,7 +561,8 @@ <schema_name/> </partitioning> <connection>erp indoteknik production (localhost)</connection> - <sql>select * from sale_order</sql> + <sql>select * from sale_order +where write_date >= (now() - '3 days'::interval)</sql> <limit>0</limit> <lookup/> <execute_each_row>N</execute_each_row> @@ -3266,7 +3267,8 @@ <schema_name/> </partitioning> <connection>erp indoteknik production (localhost)</connection> - <sql>select * from sale_order_line</sql> + <sql>select * from sale_order_line +where write_date >= (now() - '3 days'::interval)</sql> <limit>0</limit> <lookup/> <execute_each_row>N</execute_each_row> |
