From ab910e0dd29de217bbd84a4fca7a0b8ccc66ce6e Mon Sep 17 00:00:00 2001 From: hengsin Date: Mon, 24 Aug 2020 21:02:06 +0800 Subject: [PATCH] =?UTF-8?q?IDEMPIERE-4430=20Process=5FProduction=20workflo?= =?UTF-8?q?w=20missing=20transition=20node=20fro=E2=80=A6=20(#232)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * IDEMPIERE-4430 rocess_Production workflow missing transition node from start to docprepare add missing workflow transition node * IDEMPIERE-4430 rocess_Production workflow missing transition node from start to docprepare incorporate additonal fix from Carlos --- .../oracle/202008241100_IDEMPIERE-4430.sql | 19 +++++++++++++++++++ .../202008241100_IDEMPIERE-4430.sql | 16 ++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 migration/i7.1z/oracle/202008241100_IDEMPIERE-4430.sql create mode 100644 migration/i7.1z/postgresql/202008241100_IDEMPIERE-4430.sql diff --git a/migration/i7.1z/oracle/202008241100_IDEMPIERE-4430.sql b/migration/i7.1z/oracle/202008241100_IDEMPIERE-4430.sql new file mode 100644 index 0000000000..18db338edc --- /dev/null +++ b/migration/i7.1z/oracle/202008241100_IDEMPIERE-4430.sql @@ -0,0 +1,19 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- Aug 24, 2020, 11:30:58 AM MYT +-- IDEMPIERE-4430 Process_Production workflow missing transition node from start to docprepare +INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,Created,Updated,AD_Client_ID,AD_Org_ID,SeqNo,EntityType,Description,IsStdUserWorkflow,AD_WF_Next_ID,UpdatedBy,CreatedBy,IsActive,AD_WF_NodeNext_UU,AD_WF_Node_ID) VALUES (200026,TO_DATE('2020-08-24 11:30:57','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2020-08-24 11:30:57','YYYY-MM-DD HH24:MI:SS'),0,0,10,'D','(Standard Approval)','Y',200010,100,100,'Y','65720e30-02c5-4861-a25f-3d860ac4565f',200011) +; + +-- Aug 24, 2020, 11:20:02 AM CEST +UPDATE AD_WF_NodeNext SET Description='(Standard Transition)',Updated=TO_DATE('2020-08-24 11:20:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_WF_NodeNext_ID=200008 +; + +-- Aug 24, 2020, 11:20:43 AM CEST +UPDATE AD_WF_NodeNext SET IsActive='Y', SeqNo=100, Description='(Standard Transition)',Updated=TO_DATE('2020-08-24 11:20:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_WF_NodeNext_ID=200007 +; + +SELECT register_migration_script('202008241100_IDEMPIERE-4430.sql') FROM dual +; + diff --git a/migration/i7.1z/postgresql/202008241100_IDEMPIERE-4430.sql b/migration/i7.1z/postgresql/202008241100_IDEMPIERE-4430.sql new file mode 100644 index 0000000000..c41dc065aa --- /dev/null +++ b/migration/i7.1z/postgresql/202008241100_IDEMPIERE-4430.sql @@ -0,0 +1,16 @@ +-- Aug 24, 2020, 11:30:58 AM MYT +-- IDEMPIERE-4430 Process_Production workflow missing transition node from start to docprepare +INSERT INTO AD_WF_NodeNext (AD_WF_NodeNext_ID,Created,Updated,AD_Client_ID,AD_Org_ID,SeqNo,EntityType,Description,IsStdUserWorkflow,AD_WF_Next_ID,UpdatedBy,CreatedBy,IsActive,AD_WF_NodeNext_UU,AD_WF_Node_ID) VALUES (200026,TO_TIMESTAMP('2020-08-24 11:30:57','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2020-08-24 11:30:57','YYYY-MM-DD HH24:MI:SS'),0,0,10,'D','(Standard Approval)','Y',200010,100,100,'Y','65720e30-02c5-4861-a25f-3d860ac4565f',200011) +; + +-- Aug 24, 2020, 11:20:02 AM CEST +UPDATE AD_WF_NodeNext SET Description='(Standard Transition)',Updated=TO_TIMESTAMP('2020-08-24 11:20:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_WF_NodeNext_ID=200008 +; + +-- Aug 24, 2020, 11:20:43 AM CEST +UPDATE AD_WF_NodeNext SET IsActive='Y', SeqNo=100, Description='(Standard Transition)',Updated=TO_TIMESTAMP('2020-08-24 11:20:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_WF_NodeNext_ID=200007 +; + +SELECT register_migration_script('202008241100_IDEMPIERE-4430.sql') FROM dual +; +