Ongoing orders are never actually fully paid or received until they a user indicates that they are. They remain open year over year and continue to be paid and received against. POL status must reflect that.
If order line related to invoice is being paid belongs to Ongoing order then do not update Payment status
- logic updated
- unit test and API tests updated