Invoice balance reset after Approved for payment field is updated via PUT SupplierInvoice endpoint

API: Supplier Ledger Version 9.09

Earlier, when the paySelected field was updated via PUT SupplierInvoice endpoint for an invoice partially paid, the open balance was reset to the initial balance available to pay.
The issue has been fixed and the solution has been deployed under a feature toggle.