System ➔ General ➔ Settings ➔ Documents settings
A Layout screen will be displayed when you click at any of the fields in this screen. You can insert a calculation field to a layout by selecting Insert followed by Calculation field from the menu displayed when you right-click on the particular layout. Alternatively, you can click Edit on the menu bar of the layout maintenance screen, and then select Insert followed by Calculation field to add a calculation field to the layout.
The information in this document is applicable to product update 407. If you have versions lower than this, certain features explained here will not be applicable.
Select the block to which you want to insert the calculation field. For more information on blocks, see Maintaining layouts: Explanation on blocks.
This displays the calculation formula you have created when you click Change expression.
Type the introductory text for the calculation field.
Type the subsequent text for the calculation field.
Note: You cannot create the introductory and/or subsequent text if you have selected Bar code under the Result section as the result of calculation.
Type the number of spaces before the decimal point to be filled up at a field in the layout.
Type the number of spaces after the decimal point to be filled up at a field in the layout. For example, if you set the after decimal separator to 2, the amount 835.9764 will be displayed as 835.98 in the layout.
Type the label for the calculation field. By labeling a calculation field, you can select the calculation field and use it in another calculation field.
Select the result of the calculation formula. The options available are:
Select this check box if you want to hide the calculation field in the layout during printing.
Select this check box if you want the numbers in the layout to be displayed with the thousand separator. For example, for the amount of one thousand, it will be recorded as 1,000 in the layout.
Note: This function is available only if you have selected Number under the Result section as the result of the calculation.
Select this to display the result in multiple lines.
Note: This function is available only if you have selected Text under the Result section as the result of the calculation.
Select this to show the year in date.
Note: This function is available only if you have selected Date under the Result section as the result of the calculation.
Select the bar code system at this field. The options available are:
Note: This function is available only if you have selected Bar code under the Result section as the result of the calculation.
Select this check box if you want the layout to leave out any calculation field that has not been defined.
Select the unit of numbers that you want your data to be displayed in the layout at this field. This is useful if you work with extremely huge or small numbers. For example, if you set the unit to 1000000, the quantity for 47,000,000 will be displayed in the layout as 47.
Note: This function is disabled if you have selected Bar code under the Result section as the result of the calculation.
Select the alignment for the calculation field, introductory text, and subsequent text. The options available are:
Note: The Change expression screen will be displayed only when the Change expression button is clicked in the Calculation field screen.
Select the database fields to be used in the calculation. Click to add the selected database field(s) into the Expression column.
To add more than one database field to the Expression column, you need to place the cursor to the right of the database field which has been added to the Expression column before clicking to add another database field to the Expression column.
Select existing calculation field(s) to be used in the calculation. To do this, you need to give a label to the existing calculation fields. Click to add the selected calculation field into the Expression column.
To add more than one database field to the Expression column, you must first place the cursor to the right of the calculation field which has been added to the Expression column before clicking to add another selected calculation field to the Expression column.
Select the calculation function. Click to add the selected function to the Expression column. The options available are:
This displays the formula (database fields and calculation fields involved, and the calculation functions used) for the calculation field. You can also type or change the calculation formula here.
Click this to create the calculation formula.
Click this to insert the calculation field in the layout.
Click this if you do not want to insert the calculation field in the layout.
Click this to display all the possible mathematical symbols and numbers that can be used in the Expression column. Click at the symbols and/or numbers to add them to the Expression column.
Click this to save the formula settings and to exit.
Click this to cancel the formula settings and to exit.