core-jgi/migration
Carlos Ruiz 460f7116a2
IDEMPIERE-4567 Resetting payment allocation to a charge leaves wrong … (#414)
* IDEMPIERE-4567 Resetting payment allocation to a charge leaves wrong BP Balance

MAllocationHdr.updateBP was broken, the form Payment Allocation worked just because it was calling bpartner.setTotalOpenBalance() at the end
so, I refactored the MAllocationHdr.updateBP and before/afterDelete to call bpartner.setTotalOpenBalance instead if the broken algorithm

Unit test added for allocating and deleting a customer invoice, a vendor invoice, and a charge

* IDEMPIERE-4567 Resetting payment allocation to a charge leaves wrong BP Balance

- Fix peer review changes requested by @hengsin
- Detected double call to bpartner.setTotalOpenBalance in WAllocation
- Detected some business partners in GardenWorld with wrong TotalOpenBalance or SO_CreditUsed, added migration script to fix it, it made more complicate to write unit tests as the data was wrong
2020-11-26 17:08:05 +08:00
..
i4.1 Migration folders for maintenance of new version 2017-10-31 23:26:16 +01:00
i4.1z Migration folders for maintenance of new version 2017-10-31 23:26:16 +01:00
i5.1 IDEMPIERE-2648 implement pack-in pack-out handle for infoWindow / move scripts to 6.1 2018-11-12 15:32:21 -02:00
i5.1z set version to 6.1 2018-11-04 14:47:53 -02:00
i6.1 Preparing release 6.2 - create folders for new version 2019-01-06 00:01:01 +01:00
i6.1z Preparing release 6.2 2019-01-05 23:34:22 +01:00
i6.2 release 7.1 process - prepare new migration folder for release 2019-11-21 23:31:40 +01:00
i6.2z IDEMPIERE-3413 Multi Select List and table reference - fix oracle seed - wrong application of script 201906171811_IDEMPIERE-3413.sql 2019-12-29 00:00:36 +01:00
i7.1 IDEMPIERE-4521 Release 8.1 - RC 2020-11-03 21:59:12 +01:00
i7.1z IDEMPIERE-4521 Release 8.1 - RC 2020-11-03 21:59:12 +01:00
i8.1 IDEMPIERE-4521 Release 8.1 - RC 2020-11-03 21:59:12 +01:00
i8.1z IDEMPIERE-4567 Resetting payment allocation to a charge leaves wrong … (#414) 2020-11-26 17:08:05 +08:00
local_sql IDEMPIERE-3655 Improve installer to include migration scripts and syncApplied 2018-03-14 18:13:08 -03:00
processes_post_migration IDEMPIERE-3862 ORACLE - Update datatype NVARCHAR2 to VARCHAR2 (#207) 2020-08-13 12:34:00 +08:00
zip_2pack IDEMPIERE-3655 Improve installer to include migration scripts and syncApplied 2018-03-14 18:13:08 -03:00
.classpath
.project