void ReverseDeposit(Payment SelectedDepositGroup)
{
querystring = "";
for each Payment in SelectedDepositGroup
{
querystring = querystring + "recIDlist=" + Payment.ID + "&";
}
openUrl("#Form:ReverseDepositValue?" + querystring, "popup window", "width=600");
}
The stateless form has a Multi-select field that gathers the IDs of the selected records of the Payment form in a view.