These are the conventions accepted by Fishbowl for JasperReports. Using these conventions ensures that a custom report will be handled as expected and as desired.
Report basics
Report conventions
Fishbowl Parameters
-Titling - Some Parameters have the option of being Titled. This means adding on to the name of a Custom Parameter. The title can be left blank. The title will help to tell the difference if you use more then one of that type of Custom Parameter. The Title is what will display when Fishbowl ask the user to enter information. EXAMPLE:: parameter Name: partNumBOMPart will ask the user for a part number but will title it as "BOM Part" instead of the standard "Part Number"
2. Parameter Class Type - The Special and Custom Parameters depend on the Class Type you choose. The Parameter Default Expression also depends on the Class Type. java.lang.String is the default and mostly used.
3. For Prompting- All parameters (Except Special Parameters) are displayed to the user when the report is pulled. This field determines whether this parameter is Required or Optional. If all parameters for the Report are Optional then the report will not ask the user for anything and run the report using all defaults for Parameters. If there are some Required parameters (Is For Prompting checked true) then when the Report is run from the Report Module, Fishbowl will ask the user to enter those Parameters.
4. Default Value Expression-This is the Default value for your Parameter. This is the Value that iReports uses when testing your Reports. It is also the Value that Fishbowl puts in the Parameter (uses it for Optional Parameters, it will not add the default if the Parameter is Required. It makes the User enter the Required Information.). There are 2 types of Default Values:
-Parameter Class Type java.lang.String - This value is surrounded in Quotes. EXAMPLE:: "This is a Default Value for a String".
-For many Custom Parameters, the best way for Optional Parameters is to follow this Template: [FileName] LIKE $P{Parameter} This is because an Optional Parameter will return a % to the report. EXAMPLE: part.num LIKE $P{partNum} This will allow the user to enter a Part Number or not one, and no part number is entered it will pull all parts.
- Any other Parameter Class Type - This follows standard Java Syntax. EXAMPLE:: For a Type java.util.Date with default to Todays Date: new Date(). For a Type java.lang.Integer: new Integer(1).
5. Parameter Description - This Field is used by a few Custom Parameters. It houses additional Information that the Parameters needs. cb, dateRangeDefault, and sort use this Field.
| Parameter Name | Class Type | Default Value | About |
| ADDITIONALNODES | java.lang.String | {Comma and/or semi-colon separated paths where additional nodes should appear. An example of a path is "/Inventory/PartList.jasper". Note that the path begins at Fishbowl's Server/reports Directory and ends with the report name. The report name must be included. If the proper parent folders do not exist, you will need to create them or Fishbowl will not create the additional node. | Makes the report available in multiple folders. In addition to appearing based on where the report is stored in server/reports, a report can be made to appear in as many folders as is desired. |
| dateRangeNone | java.util.Date | Not Used | Turns off Auto Date Range |
| DONTALLOWTO | java.lang.String | {Comma and/or semi-colon separated names of user groups that should not be able to access the report} | Prevents the listed users groups from seeing and from accessing the report. This parameter is strictly restrictive. This means that if a user belongs to one of the user groups listed, then that user will be unable to see or run the report even if the user is the member of a group that is not disallowed. To fine tune permissions, it may be helpful to create new user groups, even a user group for a single user. |
| DONTSHOW | java.lang.String | Not Used | Automatically sets a report inactive and hides it from view. Reports using this Parameter are not available to anyone in the Report Module. This parameter is used for module specific built-in reports, i.e. the sales order report that is displayed when a sales order is issued. |
| ISSUBREPORTONLY | java.lang.String | Not Used | Tells Fishbowl to ignore a report and to not store any information about it. This causes a report not to be displayed in the report module. However, the sub report is available for inclusion and use within other active reports. |
| module | java.lang.Object | Not Used | Used to pull Information from Fishbowl. Common uses are: Company Logo and Tracking Information. |
| MODULEASSOCIATIONS | java.lang.String | {Comma and/or semi-colon separated Names of Modules} | Adds the Report to the Tools - Report in the Module Window. This allows quick Access to an array of Reports from any given Module. |
| path | java.lang.String | Not Used | Is populated with the Current Path of the Report. This is needed for any Sub-Reports that the Report uses. The Sub-Reports Require the full path to the Sub-Report, this helps to complete that task. |
| REPORTDESCRIPTION | java.lang.String | {The Report Description} | Used to describe the Report. It displays as a Tooltip when the mouse is over the Report in the Report Module. It also displays in the Report Window in the Parameter Dialog. |
| sortNone | java.lang.String | Not Used | Turns off Auto Sorting. |
| Parameter Name | Class Type | Default Value | Description | About |
| {Boolean Name} | java.lang.Boolean | {new Boolean(true) or new Boolean(false)} | Not Used | Displays a simple Check Box with the Parameter Name. |
| cb[Title] | java.lang.String | {Default Value Return} | {Comma separated choices like this: "Value Return 1, Value Show 1, Value Return 2, Value Show 2".} | Allows a list of Items to be Displayed. First Value in list is Returned to Report, the Second Value is Displayed in the Combo Box. This allows a Readable Value to be Displayed while a more useful value is passed to the report. |
| ck[Title] | java.lang.String | {Default Value Return} | {Comma separated choices like this: "Value Return 1, Value Return 2".} | Allows a Check Box to be displayed and Return of String of One of Two Values. |
| customerID[Title] | java.lang.String | {Default Customer ID} | Not Used | Provides a Search Option for Customers. |
| {Date Name} | java.util.Date | {Default Date Value} | Not Used | Displays Room to enter a Date. Also provides a Button to a Calendar Display. |
| dateRangeDefault | java.lang.String | {Default Field Name} | {Default Range Name} | Populates an Auto Date Range with a Specific Field and Specific Range to Default to. |
| dateRange1[Title] | java.util.Date | {Default Value for From Date} | Not Used | Populates 2 Parameters together to provide a Date Range. Gives a Combo Box of common Date choices - Today, This Week, Last Year, etc. Use the same [Title] for dateRange2. |
| dateRange2[Title] | java.util.Date | {Default Value for To Date} | Not Used | Does nothing by itself. dateRange1[Title] populates this Parameter. |
| {Double Name} | java.lang.Double | {Default Double Value} | Not Used | Display a standard Form Box to add a Double (Number with Decimals). Checks to makes sure Input is Valid. |
| {Integer Name} | java.lang.Integer | {Default Integer Value} | Not Used | Display a standard Form Box to add an Integer (Number without Decimals). Check to make sure Input is Valid. |
| locationGroupID[Title] | java.lang.String | {Default Location Group ID} | Not Used | Provides a Search Option for Location Groups. Caution! This parameter works differently due to security restrictions. Fishbowl will return a list of Valid Location Group IDs instead of a '%' if no Location Group is selected. Example for WHERE Clause: (locationgroup.id IN ($P!{locationGroupID})) |
| locationID[Title] | java.lang.String | {Default Location ID} | Not Used | Provides a Search Option for Locations |
| partNum[Title] | java.lang.String | {Default Part Number} | Not Used | Provides a Search Option for Part Numbers |
| pickID[Title] | java.lang.String | {Default Pick ID} | Not Used | Will Display the SO/PO Number with the Date and give the User a Search for a Pick. Passes the Pick ID to the Report. |
| poNum[Title] | java.lang.String | {Default PO Number} | Not Used | Provides a Search Option for PO Numbers. |
| productNum[Title] | java.lang.String | {Default Product Number} | Not Used | Provides a Search Option for Product Numbers. |
| productTree1[Title] | java.lang.String | {Default Product Tree Node ID} | Not Used | Provides a Product Tree that users can select a node to filter by. Returns a list of the ID of the selected node, plus the ID of its children categories. |
| productTree2[Title] | java.lang.String | Not Used | Not Used | Does nothing by itself. When coupled with the productTree1 parameter, it will allow users to view products that are not in the product tree. It returns either % or the selected node ID. Example for WHERE clause: AND ((COALESCE(producttreeid,0) IN ($P!{productTree1})) OR ((COALESCE(producttreeid,0) LIKE $P{productTree2}))) |
| qbClassID[Title] | java.lang.String | {Default QuickBook Class ID} | Not Used | Provides a Search Option for Quick Book Classes. |
| receiptID[Title] | java.lang.String | {Default Receipt ID} | Not Used | Provides a Search Option of r a Receipt. Displays the order number to the user, but passes the ID to the report. |
| rmaNum[Title] | java.lang.String | {Default RMA} | Not Used | Provides a Search Option for RMA's. |
| salesPerson[Title] | java.lang.String | {Default Sales Person Name} | Not Used | Provides a Drop Down of Sales Persons |
| shipID[Title] | java.lang.String | {Default Ship ID} | Not Used | Will Display the SO/PO Number with the Date and give the User a Search for a Ship. Passes the Ship ID to the Report. |
| soNum[Title] | java.lang.String | {Default SO Number} | Not Used | Provides a Search Option for SO Numbers. |
| sort[Title] | java.lang.String | {Default Sort Values. Comma seperated.} | {Comma separated choices for sorting like this: "SQL Name 1, Show Name 1, SQL Name 2, Show Name 2".} | Allows a List of Items to be Displayed in a Combo Box. Additional Sort boxes can be added from the Parameter Dialog Box. The First Value is added to a List to return, while the Second Value is displayed in the Combo Box. This allows a Readable Value to be Displayed while the SQL Value is passed to the Report. |
| {String Name} | java.lang.String | {Default String Value} | Not Used | Display a standard Form Box to add a String. |
| vendorID[Title] | java.lang.String | {Default Vendor ID} | Not Used | Provides a Search Option for Vendors. |
| woNum[Title] | java.lang.String | {Default WO Number} | Not Used | Provides a Search Option for WO Numbers. |
Return to Support