/** * Create a data entry screen of this type. */ public BasePanel onForm(Record recordMain, int iDocMode, boolean bReadCurrentRecord, int iCommandOptions, Map<String,Object> properties) { String strMessage = this.getProperty(MessageConstants.QUEUE_NAME); if (strMessage != null) { if (properties == null) properties = new Hashtable<String,Object>(); properties.put(MessageConstants.QUEUE_NAME, strMessage); if (this.getProperty(RecordMessageConstants.TABLE_NAME) != null) properties.put(RecordMessageConstants.TABLE_NAME, this.getProperty(RecordMessageConstants.TABLE_NAME)); } return super.onForm(recordMain, iDocMode, bReadCurrentRecord, iCommandOptions, properties); } /**
/** * Create a data entry screen of this type. */ public BasePanel onForm(Record recordMain, int iDocMode, boolean bReadCurrentRecord, int iCommandOptions, Map<String,Object> properties) { String strMessage = this.getProperty(MessageConstants.QUEUE_NAME); if (strMessage != null) { if (properties == null) properties = new Hashtable<String,Object>(); properties.put(MessageConstants.QUEUE_NAME, strMessage); if (this.getProperty(RecordMessageConstants.TABLE_NAME) != null) properties.put(RecordMessageConstants.TABLE_NAME, this.getProperty(RecordMessageConstants.TABLE_NAME)); } return super.onForm(recordMain, iDocMode, bReadCurrentRecord, iCommandOptions, properties); } /**
iMode = iMode | ScreenConstants.SELECT_MODE; BasePanel screen = this.onForm(null, iMode, true, iCommandOptions, null); if (targetRecord != null) screen.setSelectQuery(targetRecord, false);