IDEMPIERE-4297 Improve test data / fix some wrong data in GardenWorld seed (#1162)

Co-authored-by: Chuck Boecking <chuck@chuboe.com>
This commit is contained in:
Carlos Ruiz 2022-02-07 10:17:59 +01:00 committed by GitHub
parent 8a2622d2ef
commit 3177c05b51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,17 @@
update c_payment
set C_BPartner_ID=112, isallocated='N'
where c_payment_id = 101;
delete from c_allocationline
where C_AllocationHdr_ID=102;
delete from c_allocationhdr
where C_AllocationHdr_ID=102;
update c_bankaccount ba
set currentbalance = (SELECT sum(statementdifference) FROM c_bankstatement bs WHERE bs.c_bankaccount_id=ba.c_bankaccount_id AND bs.processed='Y')
where C_BankAccount_ID=100;
SELECT register_migration_script('202202061544_IDEMPIERE-4297.sql') FROM dual
;

View File

@ -0,0 +1,17 @@
update c_payment
set C_BPartner_ID=112, isallocated='N'
where c_payment_id = 101;
delete from c_allocationline
where C_AllocationHdr_ID=102;
delete from c_allocationhdr
where C_AllocationHdr_ID=102;
update c_bankaccount ba
set currentbalance = (SELECT sum(statementdifference) FROM c_bankstatement bs WHERE bs.c_bankaccount_id=ba.c_bankaccount_id AND bs.processed='Y')
where C_BankAccount_ID=100;
SELECT register_migration_script('202202061544_IDEMPIERE-4297.sql') FROM dual
;