Just to clarify. what type of link does Payments2Creditor have to DebtorGarnishOrder? Also what type of link is there between DebtorDebitOrder and DebtorGarnishOrder? Are these Peer relationships or is one owned by the other?
Is MultipleAllowed ticked?
1>
If assuming DebtorGarnishOrder has a link to Payments2Creditor called Payments for eg. and can have multiple references. you would need to modify your rule like this:
FIND DebtorGarnishOrder WHERE DebtorGarnishOrder=DebtorDebitOrder.GarnishOrder [To put the Garnish Order in Context]
DebtorDebitOrder.CurrentBalance=DebtorGarnishOrder.InstallmentTotal-SUM Payments2Creditor.Payment (WHERE Payments2Creditor IN DebtorGarnishOrder.Payments) [This will find all Payments2Creditor that are linked to this Garnish Order]
2>
Assuming the same conditions above:
DebtorGarnishOrders.PayedToDate=SUM Payments2Creditor.Payment (WHERE Payments2Creditor IN DebtorGarnishOrder.Payments)
If this doesn't work and you are still struggling perhaps send me a PM.