IDEMPIERE-4808 : Payment Allocation should be IsSOTrx neutral - fix Default SQL variable parse failed (#797)

This commit is contained in:
Nicolas Micoud 2021-07-28 10:12:15 +02:00 committed by GitHub
parent 83b383788e
commit de795e4e15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,9 @@
SET SQLBLANKLINES ON
SET DEFINE OFF
-- Jul 26, 2021, 1:25:56 PM CEST
UPDATE AD_InfoColumn SET DefaultValue='@SQL=SELECT CASE WHEN ''@IsSOTrx:X@''=''X'' OR ''@+IgnoreIsSOTrxInBPInfo:N@''=''Y'' THEN '''' WHEN ''@IsSOTrx:X@''=''Y'' THEN ''Y'' ELSE ''N'' END AS DefaultValue FROM DUAL',Updated=TO_DATE('2021-07-26 13:25:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_InfoColumn_ID=200036
;
SELECT register_migration_script('202107261330_IDEMPIERE-4808_2.sql') FROM dual
;

View File

@ -0,0 +1,6 @@
-- Jul 26, 2021, 1:25:56 PM CEST
UPDATE AD_InfoColumn SET DefaultValue='@SQL=SELECT CASE WHEN ''@IsSOTrx:X@''=''X'' OR ''@+IgnoreIsSOTrxInBPInfo:N@''=''Y'' THEN '''' WHEN ''@IsSOTrx:X@''=''Y'' THEN ''Y'' ELSE ''N'' END AS DefaultValue FROM DUAL',Updated=TO_TIMESTAMP('2021-07-26 13:25:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_InfoColumn_ID=200036
;
SELECT register_migration_script('202107261330_IDEMPIERE-4808_2.sql') FROM dual
;