Callout Parameters

In "Callout" function we provide you all functions with six parameters such as 

ctx-- refer to Context. 

windowNo-- refer to window number. 

mTab-- refer to Current window tab on which field display. 

mField-- refer to current tab field. 

value-- refer to current value of the field. 

oldValue-- refer to previous field value.  

 

Above all are non-mandatory fields. 

Here we give list of methods that dev eloper can use during the development of callout. 

Development Area 

 

Method Name 

 

Method Description 

 

Callouts   

 

 

mTab (3rd Parameter of callout function) 

 

mTab.getAD_Tab_ID() 

Get AD_Tab_ID 

 

mTab.getAD_Window_ID() 

Get AD_Window_ID 

 

mTab.getAD_Table_ID() 

Get AD_Table_ID 

 

mTab.getTableName() 

 

Get Tab Name 

 

 

mTab.getName() 

 

Get Field according to columnName 

 

 

mTab.getField(ColumnName) 

 

Array of fields 

 

 

mTab.getFields() 

 

Get Value of a field 

 

 

mTab.getValue(ColumnName) 

 

Get Primary Key 

 

 

mTab.getRecord_ID() 

 

Get Primary Key Column 

 

 

mTab.getKeyColumnName() 

 

Get Where Clause applied on Tab 

 

 

mTab.getWhereClause() 

 

Set Value of a field 

 

mField (4th parameter of callout function) 

 

mTab.setValue(ColumnName, Value) 

 

Return ColumnName 

 

 

mField.getColumnName() 

 

Return true if field is displayed 

 

 

mField.getIsDisplayed() 

 

Return true if field is Mandatory 

 

 

mField.getIsMandatory() 

 

Return true if field is Virtual 

 

 

mField.getIsVirtualColumn() 

 

Return true if field is Readonly 

 

 

mField.getIsReadOnly() 

 

Set Field ReadOnly 

 

 

mField.getAD_Process_ID() 

 

Get Process Attached to column 

 

 

mField.getAD_Column_ID() 

 

Get AD_Column_ID 

 

 

mField.getIsKey() 

 

Return true if field is displayed 

 

 

mField.getIsParentColumn() 

 

Return true if field is displayed 

 

 

mField.setValue(Value) 

 

Set Value of Field 

 

 

 

 

Other Function 

 

VIS.Utility.Util.getValueOfDecimal(value) 

 

Return decimal value 

 

 

VIS.Utility.Util.getValueOfInt(value) 

 

return integer value 

 

 

VIS.Utility.Util.getValueOfString(value) 

 

return String Value 

 

 

VIS.Utility.Util.getValueOfDouble(value) 

 

return Double Value