I have a process screen which applies prepayments to bills automatically based on matching invoice numbers. That much works great.
I want to inject a step where the system checks for prepayments that remain open after their associated bill has already been closed out. I have the code that does this, and it works.
What I can’t get to work is a user input prompt that says: “Unused prepayments have been found: Do you want to cancel or process bills anyways”
For the process to run efficiently, I don’t want the dialog to be raised per record, so I am avoiding events.
I’ve gotten the dialogs to work outside of events, but they seem to not cooperate with any form of long operation, including SetProcessDelegate(), which kind of undermines the whole thing.
Does anyone know of a way around this?