User choice pupup

Hi,

Can any one share some code if someone has. I need to create BPM which checks provided partnum
in part tracker if it exists in cross ref, this part I know how to solve, but the problem is that in some cases inner part and cross ref can contain the same part number, so in this case I need to create popup table where user would have an ability to chose which part has to opened(provided as parameter). For now I have this:

string crCustPart = null;
string crSuppPart = null;



var CustPart = (from rows in Db.CustXPrt.With(LockHint.NoLock) where rows.Company == Session.CompanyID && rows.XPartNum == partNum select rows.PartNum);
crCustPart = CustPart.FirstOrDefault();

var SuppPart = (from rows in Db.PartXRefVend.With(LockHint.NoLock) where rows.Company == Session.CompanyID && rows.VendPartNum == partNum select rows.PartNum);
crSuppPart = SuppPart.FirstOrDefault();



if(crCustPart != null)
{
partNum = crCustPart;
}
else if(crSuppPart != null)
{
partNum = crSuppPart;
}