From 0d36f61cb4fa09f83d71de539d3006564e24ed0a Mon Sep 17 00:00:00 2001 From: Tony Snook Date: Wed, 20 Oct 2021 22:07:19 +1100 Subject: [PATCH] IDEMPIERE-4297 Improve test data (#932) Correct Delivered Qty on Garden World PO 800000, 800001 & 800002 --- .../oracle/202110162102_IDEMPIERE-4297.sql | 84 +++++++++++++++++++ .../202110162102_IDEMPIERE-4297.sql | 81 ++++++++++++++++++ 2 files changed, 165 insertions(+) create mode 100644 migration/i8.2z/oracle/202110162102_IDEMPIERE-4297.sql create mode 100644 migration/i8.2z/postgresql/202110162102_IDEMPIERE-4297.sql diff --git a/migration/i8.2z/oracle/202110162102_IDEMPIERE-4297.sql b/migration/i8.2z/oracle/202110162102_IDEMPIERE-4297.sql new file mode 100644 index 0000000000..a5a1fae2a2 --- /dev/null +++ b/migration/i8.2z/oracle/202110162102_IDEMPIERE-4297.sql @@ -0,0 +1,84 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- IDEMPIERE-4297 Improve test data +-- Oct 16, 2021, 9:01:25 PM AEDT + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=15, Updated=TO_DATE('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=105 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=15, Updated=TO_DATE('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=106 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=10, Updated=TO_DATE('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=107 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=15, Updated=TO_DATE('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=108 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=12, Updated=TO_DATE('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=109 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=20, Updated=TO_DATE('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=110 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=40, Updated=TO_DATE('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=111 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=12, Updated=TO_DATE('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=112 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=20, Updated=TO_DATE('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=113 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=50, Updated=TO_DATE('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=114 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=15, Updated=TO_DATE('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=115 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=20, Updated=TO_DATE('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=116 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=8, Updated=TO_DATE('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=117 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=12, Updated=TO_DATE('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=118 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=30, Updated=TO_DATE('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=119 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=30, Updated=TO_DATE('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=120 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=30, Updated=TO_DATE('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=121 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=12, Updated=TO_DATE('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=122 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=15, Updated=TO_DATE('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=123 +; + +SELECT register_migration_script('202110162102_IDEMPIERE-4297.sql') FROM dual +; diff --git a/migration/i8.2z/postgresql/202110162102_IDEMPIERE-4297.sql b/migration/i8.2z/postgresql/202110162102_IDEMPIERE-4297.sql new file mode 100644 index 0000000000..190341f0e7 --- /dev/null +++ b/migration/i8.2z/postgresql/202110162102_IDEMPIERE-4297.sql @@ -0,0 +1,81 @@ +-- IDEMPIERE-4297 Improve test data +-- Oct 16, 2021, 9:01:25 PM AEDT + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=15, Updated=TO_TIMESTAMP('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=105 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=15, Updated=TO_TIMESTAMP('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=106 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=10, Updated=TO_TIMESTAMP('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=107 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=15, Updated=TO_TIMESTAMP('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=108 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=12, Updated=TO_TIMESTAMP('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=109 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=20, Updated=TO_TIMESTAMP('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=110 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=40, Updated=TO_TIMESTAMP('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=111 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=12, Updated=TO_TIMESTAMP('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=112 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=20, Updated=TO_TIMESTAMP('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=113 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=50, Updated=TO_TIMESTAMP('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=114 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=15, Updated=TO_TIMESTAMP('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=115 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=20, Updated=TO_TIMESTAMP('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=116 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=8, Updated=TO_TIMESTAMP('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=117 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=12, Updated=TO_TIMESTAMP('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=118 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=30, Updated=TO_TIMESTAMP('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=119 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=30, Updated=TO_TIMESTAMP('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=120 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=30, Updated=TO_TIMESTAMP('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=121 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=12, Updated=TO_TIMESTAMP('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=122 +; + +-- Oct 16, 2021, 9:02:23 PM AEDT +UPDATE C_OrderLine SET QtyDelivered=15, Updated=TO_TIMESTAMP('2021-10-16 21:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_OrderLine_ID=123 +; + +SELECT register_migration_script('202110162102_IDEMPIERE-4297.sql') FROM dual +;