IDEMPIERE-5954 Payment Info Window failing on Payments into Batch > Lines (#2136)

This commit is contained in:
Carlos Ruiz 2023-12-13 02:06:00 +01:00 committed by GitHub
parent 4a274291ce
commit 4358d228e6
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-5954 Payment Info Window failing on Payments into Batch > Lines
SELECT register_migration_script('202312111654_IDEMPIERE-5954.sql') FROM dual;
SET SQLBLANKLINES ON
SET DEFINE OFF
-- Dec 11, 2023, 4:54:28 PM CET
UPDATE AD_Val_Rule SET Code='C_Payment.IsReconciled=''N'' AND C_Payment.TrxType <> ''X'' AND (SELECT COALESCE(pi.C_DepositBatch_ID,0) FROM C_Payment pi WHERE pi.C_Payment_ID=C_Payment.C_Payment_ID)=0 AND C_Payment.C_DocType_ID=@C_DocType_ID@',Updated=TO_TIMESTAMP('2023-12-11 16:54:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=200039
;

View File

@ -0,0 +1,7 @@
-- IDEMPIERE-5954 Payment Info Window failing on Payments into Batch > Lines
SELECT register_migration_script('202312111654_IDEMPIERE-5954.sql') FROM dual;
-- Dec 11, 2023, 4:54:28 PM CET
UPDATE AD_Val_Rule SET Code='C_Payment.IsReconciled=''N'' AND C_Payment.TrxType <> ''X'' AND (SELECT COALESCE(pi.C_DepositBatch_ID,0) FROM C_Payment pi WHERE pi.C_Payment_ID=C_Payment.C_Payment_ID)=0 AND C_Payment.C_DocType_ID=@C_DocType_ID@',Updated=TO_TIMESTAMP('2023-12-11 16:54:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=200039
;