Copyright © 2012 tourapp.com. All rights reserved.
GPL3 Open Source Software License.
RefundCheckJournal - Print refund checks.
record The main record for this screen.
itsLocation The location of this component within the parent.
parentScreen The parent screen.
fieldConverter The field this screen field is linked to.
iDisplayFieldDesc Do I display the field desc?
properties Addition properties to pass to the screen.
this.init(record, itsLocation, parentScreen, fieldConverter, iDisplayFieldDesc, properties);
super.init(record, itsLocation, parentScreen, fieldConverter, iDisplayFieldDesc, properties);
Get the screen display title.
return "Print refund checks";
Override this to open the main file.
You should pass this record owner to the new main file (ie., new MyNewTable(thisRecordOwner)).
Override this to open the other files in the query.
Add the screen fields.
Override this to create (and return) the screen record for this recordowner.
- The screen record.
Add all the screen listeners.
Add the toolbars that belong with this screen.
Add button(s) to the toolbar.
new SCannedBox(toolScreen.getNextLocation(ScreenConstants.NEXT_LOGICAL, ScreenConstants.SET_ANCHOR), toolScreen, null, ScreenConstants.DEFAULT_DISPLAY, null, application.getResources(ResourceConstants.ACCTREC_RESOURCE, true).getString(CANNED_CHECKS), MenuConstants.PRINT, CANNED_CHECKS, null);
new SCannedBox(toolScreen.getNextLocation(ScreenConstants.NEXT_LOGICAL, ScreenConstants.SET_ANCHOR), toolScreen, null, ScreenConstants.DEFAULT_DISPLAY, null, application.getResources(ResourceConstants.ACCTREC_RESOURCE, true).getString(XML_CHECKS), MenuConstants.PRINT, XML_CHECKS, null);
Get the footing for this report.
Get the Heading for this report.
Process the command.
Step 1 - Process the command if possible and return true if processed.
Step 2 - If I can't process, pass to all children (with me as the source).
Step 3 - If children didn't process, pass to parent (with me as the source).
Note: Never pass to a parent or child that matches the source (to avoid an endless loop).
strCommand The command to process.
sourceSField The source screen field (to avoid echos).
iCommandOptions If this command creates a new screen, create in a new window?
- true if success.
boolean bSuccess = (this.onForm(record, iScreen, true, iCommandOptions, null) != null);
return super.doCommand(strCommand, sourceSField, iCommandOptions);