core-jgi/migration/i8.1z/postgresql
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
..
202011092042_IDEMPIERE-1117.sql
202011101712_IDEMPIERE-4083.sql
202011120940_IDEMPIERE-3862.sql IDEMPIERE-3862 ORACLE - Update datatype NCHAR to CHAR (#375) 2020-11-13 17:52:35 +08:00
202011121113_IDEMPIERE-4542.sql IDEMPIERE-4542 Cannot report from window _My Unprocessed Documents_ (#376) 2020-11-13 18:07:07 +08:00
202011121122_IDEMPIERE-4569.sql IDEMPIERE-4569 Migration Script (#401) 2020-11-22 19:54:35 +08:00
202011191659_IDEMPIERE-4554.sql IDEMPIERE-4554 PO is immutable - Workflow editor (#393) 2020-11-26 10:02:48 +08:00
202011202059_IDEMPIERE-4553.sql IDEMPIERE-4553 POS menu option throwing error (#394) 2020-11-22 09:51:06 +08:00
202011221417_IDEMPIERE-4572.sql IDEMPIERE-4572 NPE - Error posting Asset addition (#404) 2020-11-26 10:11:18 +08:00
202011241451_IDEMPIERE-4566.sql IDEMPIERE-4566 Translation Import/Export - output message is not visible (#408) 2020-11-26 16:20:17 +08:00
202011260936_IDEMPIERE-4567.sql IDEMPIERE-4567 Resetting payment allocation to a charge leaves wrong … (#414) 2020-11-26 17:08:05 +08:00