IDEMPIERE-3532 Remove hardcoded values for InfoInvoiceWindow (BPartnerID / IsSOTrx) and InfoPaymentWindow (IsSOTrx) (#309)

Fix log message -> GridField.defaultFromSQLExpression: (IsVendor) - Default SQL variable parse failed
This commit is contained in:
Carlos Ruiz 2020-10-21 14:53:37 +02:00 committed by GitHub
parent 350e9efe65
commit 82a5897bb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,11 @@
SET SQLBLANKLINES ON
SET DEFINE OFF
-- IDEMPIERE-3532 Remove hardcoded values for InfoInvoiceWindow (BPartnerID / IsSOTrx) and InfoPaymentWindow (IsSOTrx)
-- Oct 21, 2020, 10:47:33 AM CEST
UPDATE AD_InfoColumn SET DefaultValue='@SQL=SELECT CASE ''@IsSOTrx:X@'' WHEN ''X'' THEN '''' WHEN ''N'' THEN ''Y'' ELSE ''N'' END AS DefaultValue FROM DUAL',Updated=TO_DATE('2020-10-21 10:47:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_InfoColumn_ID=200037
;
SELECT register_migration_script('202010211053_IDEMPIERE-3532.sql') FROM dual
;

View File

@ -0,0 +1,8 @@
-- IDEMPIERE-3532 Remove hardcoded values for InfoInvoiceWindow (BPartnerID / IsSOTrx) and InfoPaymentWindow (IsSOTrx)
-- Oct 21, 2020, 10:47:33 AM CEST
UPDATE AD_InfoColumn SET DefaultValue='@SQL=SELECT CASE ''@IsSOTrx:X@'' WHEN ''X'' THEN '''' WHEN ''N'' THEN ''Y'' ELSE ''N'' END AS DefaultValue FROM DUAL',Updated=TO_TIMESTAMP('2020-10-21 10:47:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_InfoColumn_ID=200037
;
SELECT register_migration_script('202010211053_IDEMPIERE-3532.sql') FROM dual
;