Custom UD field with LIKE Property

I have setup a UD field with a LIKE property so that it will launch a context menu.

Everything is working as expected but when launching the process, it is sending the wrong KEY. How do you specify what key to send to the process? Does the KEY field need to be part of the data view?

for example: I have a Like field = CustXPrt.XPartNum

my EpiBinding is set to PartRev.CustPartNum_c (Custom UD on the PartRev table).

The context menu is pointed to the Customer Part Cross Reference process. This is expecting the CustNum value but instead it is passing in the XPartNum value. Do I need the CustNum field in the partRev view?

You can do this in code: (Per Jose C Gomez)
Easiest way to do it, is to add the context menu to the bound field as shown below

public void InitializeCustomCode()
{
// ** Wizard Insert Location - Do not delete 'Begin/End Wizard Added
Variable Initialization lines **
// Begin Wizard Added Variable Initialization

// End Wizard Added Variable Initialization

// Begin Wizard Added Custom Method Calls

// End Wizard Added Custom Method Calls
oTrans.RegisterContextHandler("OrderHed.PONum", "Click this",
handleContextClick);
}
object handleContextClick(object sender, object currentValue)
{
MessageBox.Show("Current value is: " + currentValue.ToString() + " --
setting to foobarbuzz");
return "foobarbuzz";
}