Fix Dynamic Validation "AD_Column in AD_Table (not present in WS_WebServiceFieldIn)" (#1578)

https://idempiere.atlassian.net/browse/IDEMPIERE-5487
This commit is contained in:
Nicolas Micoud 2022-11-24 04:02:46 +01:00 committed by GitHub
parent 07e7f03028
commit fbc4ae35b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,10 @@
-- IDEMPIERE-5487
SELECT register_migration_script('202211230918_IDEMPIERE-5487.sql') FROM dual;
SET SQLBLANKLINES ON
SET DEFINE OFF
-- Nov 23, 2022, 9:18:11 AM CET
UPDATE AD_Val_Rule SET Code='AD_Column.AD_Table_ID=@AD_Table_ID@ AND AD_Column.AD_Column_ID NOT IN (SELECT AD_Column_ID FROM WS_WebServiceFieldInput WHERE WS_WebServiceType_ID = @WS_WebServiceType_ID@ AND AD_Column_ID IS NOT NULL)',Updated=TO_TIMESTAMP('2022-11-23 09:18:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=200138
;

View File

@ -0,0 +1,7 @@
-- IDEMPIERE-5487
SELECT register_migration_script('202211230918_IDEMPIERE-5487.sql') FROM dual;
-- Nov 23, 2022, 9:18:11 AM CET
UPDATE AD_Val_Rule SET Code='AD_Column.AD_Table_ID=@AD_Table_ID@ AND AD_Column.AD_Column_ID NOT IN (SELECT AD_Column_ID FROM WS_WebServiceFieldInput WHERE WS_WebServiceType_ID = @WS_WebServiceType_ID@ AND AD_Column_ID IS NOT NULL)',Updated=TO_TIMESTAMP('2022-11-23 09:18:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=200138
;