Hi,
Open the Payment Selection window and create a new record.
Push the "CreateFrom" button.
It should retrieve records (invoices which should be paid).
Delete some records, but at least one record must remain in the sub tab and launch the process again : this time, invoices are not retrieved.
If you delete all PaySelectionLine, then the process will retrieve invoices
=> Reproducible on
test.idempiere.org (see 'test nicolas')
Issue seems located at line 144 of PaySelectionCreateFrom :
.append(" AND i.C_Invoice_ID NOT IN (SELECT i.C_Invoice_ID FROM C_PaySelectionLine psl WHERE psl.C_PaySelection_ID=?)")
But as it is an old process, I guess it must have worked in the past ?
Any idea to resolve it ?
Thanks,
Nicolas