From 21220f3bf9b1558273c95567bddca26af2d4bc43 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Fri, 20 Oct 2023 10:36:49 +0700 Subject: add where condition --- import_stock_move.ktr | 2 +- import_stock_picking.ktr | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/import_stock_move.ktr b/import_stock_move.ktr index 0d22dc8..b1808f3 100644 --- a/import_stock_move.ktr +++ b/import_stock_move.ktr @@ -556,7 +556,7 @@ erp indoteknik production (localhost) - select * from stock_move + select * from stock_move where write_date >= (now() - '5 days'::interval) 0 N diff --git a/import_stock_picking.ktr b/import_stock_picking.ktr index a841b2f..efdd6bc 100644 --- a/import_stock_picking.ktr +++ b/import_stock_picking.ktr @@ -556,7 +556,7 @@ erp indoteknik production (localhost) - select * from stock_picking + select * from stock_picking where write_date >= (now() - '5 days'::interval) 0 N -- cgit v1.2.3