Function command buttons
- Click the Function button on the Toolbox toolbar.
 - Position the mouse pointer where you want the Function button to appear and either click the left mouse button or drag the pointer to a specific size. The Specify Function Button Details dialog is displayed.
 - Specify this information: 
           
- Function
 - Select a function from the list. This list can display either the function name alphabetically or the function Ids alphabetically.
 - Form Name
 - Enter an upper case alphanumeric form name up to a maximum of eight characters. If you leave this blank, during runtime SunSystems prompts you to select a form for the function. You are only prompted if more than one form exists for the specified function.
 - 
              Note: For certain SunSystems functions, a relevant form must be specified with which the function is associated.
 - Business Unit
 - Select a business unit from the list.
 - Ledger
 - Enter a single character ledger code that you want to associate with this function.
 - Optional Parameters
 - Enter any optional parameters that you want to be passed to the function button.
 - 
              To pass key record information to another static data function, you must enter the subset and item reference details for the particular data items you want to pass. Use the syntax 
[ss,rr], where ss is the data item subset and rr is the item reference. Multiple keys must be separated by a semi-colon, for example,[0,10];[0,150]. - Open Function in New Window
 - Check this box if you want the function to open in a new window.
 
 - The Specify Caption Text dialog is displayed. Enter a caption.
 - Click OK.
 
           Related topics