Forum Discussion

abrar22's avatar
abrar22
Frequent Contributor
7 years ago

Pass parameter vale in Aliases?

Hi,   I am trying to pass the value through parameter in Aliases but its throwing runtime error. Please help   function FXConnectRFSClientAllin(Val) { var intValue= Aliases.jp2launcher.JideSyst...
  • shankar_r's avatar
    shankar_r
    7 years ago

    Type Mismatch error show me that, you have convert your string to int.

    try like below,

     

    function FXConnectRFSClientAllin(rowValue, ColValue) {
    	try {
    		rowValue = aqConvert.VarToInt(rowValue);
    		ColValue = aqConvert.VarToInt(ColValue);
    	} catch (ex) {
    		Log.Error("Invalid inputs");
    		return;
    	}
    	var intValue = Aliases.jp2launcher.JideSystemShell.Orders.exec_orders.RootPane.null_layeredPane.null_contentPane.SessionDetailsTabbedPanel.Panel.JideTabbedPane.BusyComponent.JXLayer.MultiOrderCardPanel.RFS_Competitive.JS_RFSOrderDetails.wValue(rowValue, ColValue);
    	return intValue
    }