From 976bee6dd071d355ed6b8629c50efabdaa9002ae Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Sat, 13 Mar 2010 22:54:31 +0000 Subject: [PATCH] BF [2970013] Process Para uniqueness required Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2970013 --- migration/354a-trunk/oracle/680_BF2970013.sql | 82 +++++++++++++++++++ .../354a-trunk/postgresql/680_BF2970013.sql | 82 +++++++++++++++++++ 2 files changed, 164 insertions(+) create mode 100644 migration/354a-trunk/oracle/680_BF2970013.sql create mode 100644 migration/354a-trunk/postgresql/680_BF2970013.sql diff --git a/migration/354a-trunk/oracle/680_BF2970013.sql b/migration/354a-trunk/oracle/680_BF2970013.sql new file mode 100644 index 0000000000..27b759fbc4 --- /dev/null +++ b/migration/354a-trunk/oracle/680_BF2970013.sql @@ -0,0 +1,82 @@ +-- Mar 13, 2010 5:43:23 PM COT +-- BF2970013_Process Para uniqueness required +UPDATE AD_Process_Para SET SeqNo=20,Updated=TO_DATE('2010-03-13 17:43:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=131 +; + +-- Mar 13, 2010 5:43:25 PM COT +UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_DATE('2010-03-13 17:43:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=244 +; + +-- Mar 13, 2010 5:43:27 PM COT +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2010-03-13 17:43:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53074 +; + +-- Mar 13, 2010 5:43:33 PM COT +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2010-03-13 17:43:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53073 +; + +-- Mar 13, 2010 5:43:58 PM COT +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2010-03-13 17:43:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=471 +; + +-- Mar 13, 2010 5:44:32 PM COT +UPDATE AD_Process_Para SET SeqNo=140,Updated=TO_DATE('2010-03-13 17:44:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=453 +; + +-- Mar 13, 2010 5:45:12 PM COT +UPDATE AD_Process_Para SET SeqNo=140,Updated=TO_DATE('2010-03-13 17:45:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=454 +; + +-- Mar 13, 2010 5:45:56 PM COT +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2010-03-13 17:45:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=397 +; + +-- Mar 13, 2010 5:46:18 PM COT +UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_DATE('2010-03-13 17:46:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=588 +; + +-- Mar 13, 2010 5:46:20 PM COT +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2010-03-13 17:46:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=585 +; + +-- Mar 13, 2010 5:46:22 PM COT +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2010-03-13 17:46:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53153 +; + +-- Mar 13, 2010 5:46:23 PM COT +UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_DATE('2010-03-13 17:46:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53154 +; + +-- Mar 13, 2010 5:46:25 PM COT +UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_DATE('2010-03-13 17:46:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=586 +; + +-- Mar 13, 2010 5:46:27 PM COT +UPDATE AD_Process_Para SET SeqNo=80,Updated=TO_DATE('2010-03-13 17:46:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=587 +; + +-- Mar 13, 2010 5:46:55 PM COT +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2010-03-13 17:46:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53066 +; + +-- Mar 13, 2010 5:46:56 PM COT +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2010-03-13 17:46:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53067 +; + +-- Mar 13, 2010 5:47:22 PM COT +UPDATE AD_Process_Para SET SeqNo=140,Updated=TO_DATE('2010-03-13 17:47:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53123 +; + +-- Mar 13, 2010 5:47:43 PM COT +UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_DATE('2010-03-13 17:47:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53275 +; + +-- Mar 13, 2010 5:47:46 PM COT +UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_DATE('2010-03-13 17:47:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53280 +; + +-- Mar 13, 2010 5:47:50 PM COT +UPDATE AD_Process_Para SET EntityType='EE01',Updated=TO_DATE('2010-03-13 17:47:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53275 +; + +create unique index ad_procpara_procseqno on ad_process_para (ad_process_id, seqno); diff --git a/migration/354a-trunk/postgresql/680_BF2970013.sql b/migration/354a-trunk/postgresql/680_BF2970013.sql new file mode 100644 index 0000000000..b19c9d78d0 --- /dev/null +++ b/migration/354a-trunk/postgresql/680_BF2970013.sql @@ -0,0 +1,82 @@ +-- Mar 13, 2010 5:43:23 PM COT +-- BF2970013_Process Para uniqueness required +UPDATE AD_Process_Para SET SeqNo=20,Updated=TO_TIMESTAMP('2010-03-13 17:43:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=131 +; + +-- Mar 13, 2010 5:43:25 PM COT +UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_TIMESTAMP('2010-03-13 17:43:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=244 +; + +-- Mar 13, 2010 5:43:27 PM COT +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_TIMESTAMP('2010-03-13 17:43:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53074 +; + +-- Mar 13, 2010 5:43:33 PM COT +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_TIMESTAMP('2010-03-13 17:43:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53073 +; + +-- Mar 13, 2010 5:43:58 PM COT +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_TIMESTAMP('2010-03-13 17:43:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=471 +; + +-- Mar 13, 2010 5:44:32 PM COT +UPDATE AD_Process_Para SET SeqNo=140,Updated=TO_TIMESTAMP('2010-03-13 17:44:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=453 +; + +-- Mar 13, 2010 5:45:12 PM COT +UPDATE AD_Process_Para SET SeqNo=140,Updated=TO_TIMESTAMP('2010-03-13 17:45:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=454 +; + +-- Mar 13, 2010 5:45:56 PM COT +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_TIMESTAMP('2010-03-13 17:45:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=397 +; + +-- Mar 13, 2010 5:46:18 PM COT +UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_TIMESTAMP('2010-03-13 17:46:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=588 +; + +-- Mar 13, 2010 5:46:20 PM COT +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_TIMESTAMP('2010-03-13 17:46:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=585 +; + +-- Mar 13, 2010 5:46:22 PM COT +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_TIMESTAMP('2010-03-13 17:46:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53153 +; + +-- Mar 13, 2010 5:46:23 PM COT +UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_TIMESTAMP('2010-03-13 17:46:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53154 +; + +-- Mar 13, 2010 5:46:25 PM COT +UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_TIMESTAMP('2010-03-13 17:46:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=586 +; + +-- Mar 13, 2010 5:46:27 PM COT +UPDATE AD_Process_Para SET SeqNo=80,Updated=TO_TIMESTAMP('2010-03-13 17:46:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=587 +; + +-- Mar 13, 2010 5:46:55 PM COT +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_TIMESTAMP('2010-03-13 17:46:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53066 +; + +-- Mar 13, 2010 5:46:56 PM COT +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_TIMESTAMP('2010-03-13 17:46:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53067 +; + +-- Mar 13, 2010 5:47:22 PM COT +UPDATE AD_Process_Para SET SeqNo=140,Updated=TO_TIMESTAMP('2010-03-13 17:47:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53123 +; + +-- Mar 13, 2010 5:47:43 PM COT +UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_TIMESTAMP('2010-03-13 17:47:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53275 +; + +-- Mar 13, 2010 5:47:46 PM COT +UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_TIMESTAMP('2010-03-13 17:47:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53280 +; + +-- Mar 13, 2010 5:47:50 PM COT +UPDATE AD_Process_Para SET EntityType='EE01',Updated=TO_TIMESTAMP('2010-03-13 17:47:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53275 +; + +create unique index ad_procpara_procseqno on ad_process_para (ad_process_id, seqno);