strProcess = TabsData.processName(pool, tabsData.adProcessId);
if (strProcess.indexOf("/") == -1)
strProcess = "/" + FormatUtilities.replace(strProcess);
strDirectPrint = TabsData.directPrint(pool, tabsData.adProcessId);
}
WADGrid gridControl = null;
{
final Properties gridProps = new Properties();
gridProps.setProperty("id", "grid");
gridProps.setProperty("NumRows", "20");
gridProps.setProperty("width", "99%");
gridProps.setProperty("ShowLineNumbers", "true");
gridProps.setProperty("editable", "false");
gridProps.setProperty("sortable", "true");
gridProps.setProperty("deleteable", (tabsData.uipattern.equals("STD") ? "true" : "false"));
gridProps.setProperty("onScrollFunction", "updateHeader");
gridProps.setProperty("onLoadFunction", "onGridLoadDo");
gridProps.setProperty("AD_Window_ID", tabsData.key);
gridProps.setProperty("AD_Tab_ID", tabsData.tabid);
gridProps.setProperty("ColumnName", keyColumnName);
gridProps.setProperty("inpKeyName", "inp" + Sqlc.TransformaNombreColumna(keyColumnName));
gridControl = new WADGrid(gridProps);
}
if (tabsData.issorttab.equals("Y")) {
/************************************************
* XSQL of the SORT TAB
*************************************************/