is there anyway to determine the invoice or incoming Cheque / from a DuePayment? I have looked over the Repository Explorer and do not see any links. but I might be missing something. it is visible in the UI Document flow.
I need to evaluate the Duepayment then perform an action that needs info from the Invoice it is this is Linked to if there is one.