Professional Documents
Culture Documents
Real Estate
(formerly Sage Timberline Office)
Version 20.1
User's Guide
This is a publication of Sage Software, Inc.
© 2020 The Sage Group plc or its licensors. All rights reserved. Sage, Sage logos, and Sage product
and service names mentioned herein are the trademarks of The Sage Group plc or its licensors.
All other trademarks are the property of their respective owners.
Version 18.4
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page iii
Contents
Chapter 5: Security 33
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page iv
Contents
Security overview 33
Record security 36
Setting up security 42
Modifying security 47
Troubleshooting security 56
I cannot see a security ID in a Record Setup window 56
I cannot change a security ID in a Record Setup window 56
I know a job was set up, but I cannot see it in the software 56
I forgot my password 57
My report or inquiry is missing information 57
Menu items and fields are unavailable 57
I cannot delete a user name 57
I cannot make an account unavailable 58
I cannot end account availability 58
I cannot remove a user name 58
I cannot turn on security 58
I cannot save changes 59
Security tips 59
Be careful with print files 59
Create separate roles for task and record security 59
Consider limiting access to Crystal Decisions Crystal Reports 60
Specify how secured tasks appear 60
Glossary of security terms 61
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page v
Contents
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page vi
Introduction
Release information
Along with this User's Guide, see the following documentation for additional information that will help you
install and use version 20.1:
n The Installation Checklist contains a brief description of the steps involved in upgrading your software.
n The Important document contains critical topics.
n The Release Notes provide details about new features, database changes, resolved issues, and known
issues.
l The names of windows, fields, and other features displayed by the software are bold.
l Text that you type into the windows is blue, as in the following example:
Type Miscellaneous.
l Names of keys are shown in capitals; for example, ENTER, TAB. A plus sign (+) between two key
names indicates that you should press both keys at the same time; for example, SHIFT + TAB.
l The names of buttons that you can click with your mouse are bold and enclosed in brackets; for
example, [OK] and [ Post].
Caution! Information that can help you avoid a costly or time-consuming error.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 1
Introduction
Menu paths
In this document, menu paths show you the steps required to start a task, such as:
PR: Tools > Download Taxes
To follow this path, open the Payroll module. From the Tools menu, select Download Taxes.
To access the online help in Sage 300 Construction and Real Estate:
l In a window, click the [Help] button, click (the help icon button), or press F1 to display the help
topic for that window.
l In an application or Desktop, select Help > Help Topics.
Tip: From Desktop, you can access the online help for an application by clicking Applications,
clicking the name of the application, and then clicking Help > Help Topics in the list of menu items for
that application.
To aid you in finding the information you need, the online help includes the following tabs:
l Contents tab with an outline of the help with links to the help topics.
l Index tab with keywords that link to help topics related to that keyword.
l Search tab or Search text box, where you can type text and click [Search] to locate that text in the
help topics.
Technical assistance
When you need more assistance, visit Sage Customer Resources, the Sage Knowledgebase, Sage City, the
Product Documents website, Live Chat, or Online Case submission.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 2
Introduction
Training
Sage University offers live and recorded online training sessions to help you get the most out of your software.
To access Sage University, either:
l From an application, select Help > Web Resources > Sage University.
l From Desktop, select Help > Sage University.
l From your browser, visit http://www.sageu.com/Sage300CRE.
Note:
For year-end 2019, Sage University is offering the following complimentary classes:
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 3
Chapter 1: System Requirements
For assistance in selecting the right business-class computers for your Sage 300 Construction and Real
Estate software, contact your authorized business partner. For information about system environments, see
“Chapter 4: System Guidance,” on page 23.
To install and use Sage 300 Construction and Real Estate version 20.1, your server and workstations must
have Internet access for Sage entitlement and Pervasive licensing requirements.
Refer to the System Requirements article in the Sage Knowledgebase for information about:
l Hardware requirements
l Supported operating systems
l Software requirements
Elevate permissions
You must elevate your permissions before upgrading Sage 300 Construction and Real Estate.
You can usually start a program with elevated privileges by right-clicking the application and selecting Run as
Administrator. In Sage 300 Construction and Real Estate, the application is usually installed in the following
path: /Program Files (x86)/Sage Timberline Office/Accounting.
During certain installation tasks, you will receive another prompt to elevate your privileges. If you do not
acknowledge each prompt within two minutes, the installation process will quit the task. If this occurs, you
will receive a separate prompt asking you to retry the task. Click [Retry] and then elevate your privileges at
the prompt.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 4
Chapter 1: System Requirements
Sage 300 Construction and Real Estate program files and data files
You must have full control access rights to all folders or shares that contain Sage 300 Construction and Real
Estate program files and data files.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 5
Chapter 1: System Requirements
Sage 300 All 32-bit: This folder is located on the server, terminal
Construction [Drive]: server, and workstations where you installed
and Real \Program Files Sage 300 Construction and Real Estate. It is
Estate \Timberline Office the default installation location for Sage 300
Construction and Real Estate. However,
64-bit: depending on your system configuration, your
Program Files company may have renamed this folder or
(86)\Timberline installed it to a different location.
Office
Sage 300 Windows 8.1, [Drive]: This folder is located on the workstation or
Construction Windows 10 \Users terminal server where you use Sage 300
and Real \[username] Construction and Real Estate. Sage 300
Estate Windows Server Construction and Real Estate installs
2012 R2, necessary files to this folder and requires that
Windows Server the user has full control of it. Typically, the
2016 user has full control of this folder by default.
Sage 300 All Company data Typically, the data folder is located on the
Construction folder server where you installed Accounting and
and Real Management Products.
Estate
Sage 300 Windows 8.1, [Drive]: This folder is located on the server or host
Construction Windows 10 \ProgramData machine where you use Accounting and
and Real \Sage Management Products. This folder must be
Estate Windows Server \Timberline Office shared. Sage 300 Construction and Real
2012 R2, Estate installs necessary files to this folder
Windows Server and requires that all users have full control
2016 permissions to this folder and all of its
subfolders.
Note: Some of these folders may be hidden. To view them, open Windows Explorer, click the View tab,
and then select the Hidden items check box.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 6
Chapter 1: System Requirements
l HKEY_CURRENT_USER
l HKEY_Local_Machine\Software\ODBC
l HKEY_Local_Machine\Software\Pervasive Software
l HKEY_Local_Machine\Software\Timberline
Caution! Incorrectly editing the Microsoft Windows registry may severely damage your system. Sage is
not responsible for damage to your system caused by editing the registry. Before making changes to the
registry, contact your system administrator for assistance and make a backup copy of all valued data.
System administrators should see Microsoft Registry Editor Help topics for detailed instructions.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 7
Chapter 1: System Requirements
Compatible versions
Caution! Sage Estimating (Pervasive) - There is no 18.1*, 18.2, 18.3, or 18.4 version of Sage
Estimating (Pervasive). DO NOT install Accounting version 18 if you use Sage Estimating
(Pervasive). However, you can use a compatible version of Sage Estimating (SQL) with Sage 300
Construction and Real Estate version 18.
The following table shows which product versions are compatible, which is partly based on the Crystal
Reports runtime SP they use. If you do not use compatible versions, you may not be able to run Crystal
reports.
Sage 300 Construction and Real 18.3, 18.4 18.2 18.1 17.1
Estate
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 8
Chapter 1: System Requirements
Note: If you are on a version that is earlier than 14.1, we recommend that you contact your Business
Partner for assistance.
If you are on version 16.1 or 17.1, you can upgrade directly to version 18.4.
If you are on version 14.1, or 15.1, we recommend that you first upgrade to version 16.1 and upgrade your data
(including Inventory, Purchasing, and Service Management data) before upgrading to version 18.4.
If your products are on version 14.1 or 15.1, we recommend that you first upgrade both products to 16.1 and
upgrade your data (including Inventory, Purchasing, and Service Management data) before upgrading both
products to version 18.1 or 18.2.
You can upgrade the data files for Accounting applications (except for Service Management, Purchasing, and
Inventory) from Sage Desktop. In the Applications pane, select Common Tasks > Tools > Upgrade files.
Caution! Service Management, Purchasing, and Inventory data files upgrade the first time you open
those applications. You must open the application and perform the upgrade at the server. Upgrading this
data on a workstation will incorrectly set DSNs and cause data access errors after the upgrade is
performed.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 9
Chapter 2: Install Sage 300 Construction
and Real Estate
Version 18 includes the Sage SQL Replicator and changes to licensing.
Important! If you use third-party products that integrate with Sage 300 Construction and Real Estate,
check with the vendor of the third-product to ensure their product if fully compatible with this release. We
do not support rolling Sage 300 Construction and Real Estate back to a previous version and do not
recommend it.
l Refer to the System Requirements article in the Sage Knowledgebase for information.
l Read the Release Notes for more details about this release of Sage 300 Construction and Real Estate.
l Review the Installation Checklist.
2 Have your Registration Name and Sage Client ID (Account ID) handy. The ID is a 10-digit number that
starts with 4. See Knowledgebase article 86829 for more information.
Also review the number of uses your company has purchased for each application. You no longer enter
activation codes when you install. Sage 300 Construction and Real Estate automatically accesses the
licenses for the various applications for which your company is entitled. You can check this by logging onto
the Sage Customer Portal; see Knowledgebase article 87017 for more information. If you need to purchase
additional uses, contact your authorized Sage business partner or your Sage customer account manager at
1-800-858-7095 (or email CREsales@sage.com). You can use the new License Administrator tool to
manage the uses of these licenses.
3 Run File Doctor on all files in your current version before upgrading to the next version. Even if you do not
receive a corrupt file message, there may be issues File Doctor finds that it will not be able to fix after
upgrading to version 18.
4 Create a complete backup of all Sage 300 Construction and Real Estate data and program files.
5 If needed, install the appropriate operating system service pack, make sure sufficient hard disk space is
available, and verify that your server and workstations meet all other hardware and software requirements.
If you are upgrading from 9.7 or earlier, the upgrade to 9.8 may cause file sizes to increase up to 200% of
the current size of your data. Be sure to allow for increased disk space requirements when you upgrade.
Do not install Sage 300 Construction and Real Estate products unless you have sufficient hard disk space
available.
6 Make sure that you have full control of the required folders, files, and registry keys on your file server,
terminal server, and workstations that will have Accounting and Management Products installed. For a list
of the required folders, files, and registry keys for your operating system, see “Privilege settings required for
installation and use” on page 4.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 10
Chapter 2: Install Sage 300 Construction and Real Estate
7 Quit all programs and services for the duration of the installation. This includes programs that may be
running in the background, such as anti-virus, email, and backup programs.
Important! Before installing Sage 300 Construction and Real Estate, close your anti-virus programs.
8 For certain operating systems, you must elevate your permissions before installing version 20.1. During
certain installation tasks, you will receive a prompt to elevate your privileges. If you do not acknowledge
each prompt within two minutes, the installation process will quit the task. If this occurs, you will receive a
separate prompt asking you to retry the task. To retry the task, click [Retry] and then elevate your
privileges at the prompt.
9 Verify the upgrade path (see page 9). If you are upgrading from an older version, you may need to install
several versions to become current.
Important! Do not install Sage 300 Construction and Real Estate unless the machine has sufficient hard
disk space available. Refer to the System Requirements article in the Sage Knowledgebase for
information.
Note: The installation process may restart your server or stand-alone computer several times.
1 At the server or stand-alone computer, log on with full administrative rights. Full administrative rights are
defined as write access to the Windows registry and all folders on the computer (including rights to the root
of all hard drives). If you are unsure whether you have full administrative rights, ask your network
administrator for assistance. Alternately, you can ask your network administrator to log on with the network
administrator ID before you start the installation.
2 Follow the instructions in the version 20.1 download article.
3 Open the folder with the appropriate version number and double-click Install.exe to begin the installation
process.
4 In the Welcome window, click Next.
5 Follow the on-screen instructions to make the following selections. Click Next after each selection.
p Accept the License Agreement.
p Enter your company's Registration name, Client number, and Software Country.
p Choose the Industry Type.
p Choose the Destination for your Sage 300 Construction and Real Estate files.
Note: Beginning with 17.1 Rev 4, you no longer enter activation codes. Sage 300 Construction and
Real Estate automatically accesses the licenses for the various applications for which your company is
entitled.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 11
Chapter 2: Install Sage 300 Construction and Real Estate
Important! Wait until you see the All configuration tasks for Sage 300 Construction and Real
Estate completed successfully message. It may take a few minutes before you see the message.
Do not attempt to start any Sage 300 Construction and Real Estate applications until after you receive
this message.
Note: Some of the data and report folders and files will be hidden by default. At the end of the installation,
you can view these hidden files and folders. To view them, open Windows Explorer, click the View tab,
and then select the Hidden items check box.
Read and write permissions are automatically granted to Everyone for this folder. If the Timberline Office
folder is already present and shared, the installation will skip this step. The system will not change any
permissions you have already set up.
You will connect your workstations to the shared Timberline Office folder in Step C.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 12
Chapter 2: Install Sage 300 Construction and Real Estate
Important! Do not install Sage 300 Construction and Real Estate unless you have sufficient hard disk
space available. Refer to the System Requirements article in the Sage Knowledgebase for information.
Note: The installation process may restart your workstations several times.
If your terminal server does not host Sage 300 Construction and Real Estate programs and data files, after
installing, verify that the Pervasive.SQL database service on the terminal server uses an account with access
to all Sage 300 Construction and Real Estate program and data files on the server.
Work with your network administrator to enter an account that has the access rights of the Local System
account and access to all Sage 300 Construction and Real Estate program and data files on the file server; for
example, a domain administrator account.
Note: If you use an account with insufficient access rights, you may receive a Pervasive status code 94
or 3119 error.
Installing to a workstation
Tip: If you have a large number of workstations, you can use a script to silently install the software on
client workstations. For more information, see Knowledgebase article KB 83952.
1 At the workstation, log on with full administrative rights. Full administrative rights are defined as write
access to the Windows registry and all folders on the computer (including rights to the root of all hard
drives). If you are unsure whether you have full administrative rights, ask your network administrator for
assistance. Alternately, you can ask your network administrator to log on with the network administrator ID
before you start the installation.
2 Right click the Start icon and select Run.
3 In the Run window, click [Browse], browse to the \\[Server name]\Timberline
Office\9.5\Accounting\WinInst\Install.exe folder on the server, and then double-click Install.exe.
4 In the Welcome window, click Next.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 13
Chapter 2: Install Sage 300 Construction and Real Estate
5 Follow the on-screen instructions to make the following selections. Click Next after each selection.
p Accept the License Agreement.
p Choose the Destination for your Sage 300 Construction and Real Estate files.
6 In the Installation window, click Install.
7 At the conclusion of the installation, when you see the prompt, restart your workstation.
8 Repeat steps 1–7 for each workstation.
Note: Some of the data and report folders and files will be hidden by default. At the end of the installation,
you can view these hidden files and folders. To view them, open Windows Explorer, click the View tab,
and then select the Hidden items check box.
If this is a first-time installation, skip to “F. Install Crystal Reports Designer (optional)” on page 16.
Caution! Service Management, Purchasing, and Inventory have specific upgrade requirements. First,
log onto the file server as an administrator. Then open and upgrade Service Management, Purchasing,
and Inventory data files at the server the first time you open these applications. Upgrading this data on a
workstation will incorrectly set DSNs and cause data access errors after the upgrade is completed.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 14
Chapter 2: Install Sage 300 Construction and Real Estate
Tip: We recommend that you convert your mapped drives to the equivalent UNC paths using the
following instructions. If you convert now, you will not have to perform this step during future upgrades,
and you can skip to “Restore file locations” on page 15.
a From Sage Desktop in the Applications pane, select Common Tasks > File > Company Settings >
File Locations.
b In the File Locations window, look for network paths in the Data Folder column.
c If you have network paths, write them down (you need this information when you restore the file locations
later) and then modify each network path to point to the appropriate file on the local hard drive of your
server.
d Click [OK] to close the File Locations window.
6 Repeat steps 4 and 5 for each company data folder you will upgrade.
Upgrade files
Files cannot be in use while they are being upgraded.
1 In Sage Desktop in the Applications pane, select Common Tasks > Tools > Upgrade files.
2 In the Upgrade Files - Print Selection window, select the data folders to upgrade:
p Current data folder: Upgrades only the files in the data folder in which you currently work.
p All data folders: Upgrades files in all data folders that appear in the Open Company window. This may
include data folders on other drives. The upgrade process can take a long time if you have many data
folders.
Note: We recommend that you upgrade all data folders after you install version 20.1.
3 Click [Start].
4 In the Print File Selection window for File name, type a name for the upgrade report file, and then click
[Save].
The upgrade process begins in the background.
5 When the process is complete, review the report.
If you use mapped drives instead of UNC paths and the modified file locations and path are not accessible
from the server, restore the previous file location entries:
1 From Sage Desktop in the Applications pane, select Common Tasks > File > Company Settings >
File Locations.
2 In the File Locations window, find the file locations you changed previously and change them back to the
original network path.
3 Click [OK] to close the File Locations window.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 15
Chapter 2: Install Sage 300 Construction and Real Estate
To access the tool, click the Start icon, select the Sage Administration program group, right-click Upgrade
Crystal Reports, and then select Run as administrator.
For more information, click (the help button) in the tool's window.
Caution! Crystal Reports For Sage 2013 SP2 software only runs on Windows 7 SP1, Windows
Server 2008 R2, or higher operating systems (not Windows Vista).
Note: The size of the replicated data is larger than the original Pervasive data because replicator adds
views and indexes the data. To determine if you can use SQL Server Express, add the size of the
PVData, POIV Data, SM Data folders and the master.qxm file together for each company. If the sum is
greater than 6 GB, you must use full SQL Server.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 16
Chapter 2: Install Sage 300 Construction and Real Estate
After you install SQL, open the System Administrator tool (found in the Sage Administration program group).
On the Replicator Configuration tab, select the replication configuration settings. If you want to start the
replication, click [Start].
If your company plans to use any of the mobile applications, click [Link to Mobile].
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 17
Chapter 2: Install Sage 300 Construction and Real Estate
d On the User DSN tab, select the first Name associated with a Pervasive ODBC Client Interface
Driver, and then click [Remove].
e Repeat this process to remove each Name associated with a Pervasive ODBC Client Interface
Driver.
f Click [OK].
3 At the server, delete the DBNAMES.CFG file:
a From \\[Server name]\WINDOWS, right-click DBNAMES.CFG, and select Delete.
b In the Confirm File Delete window, click [Yes].
4 Add each company to the company list:
a In TS-Main, select File > Open Company.
b Click [Specify Folders].
c Click [Browse] and browse to the shared location from step 1.
d Select a folder and click [OK].
e At the server, open the SM, PO, or IV applications for each Sage 300 Construction and Real Estate
company.
f Repeat these steps for each company folder that you want to add.
5 If you use security, give the appropriate users rights to the companies; in Sage Desktop, select Options >
Security Administration, click User Setup, and then click Companies.
I. Final steps
1 Restart all programs and services that you shut down for the installation.
2 Review the following guidelines for custom reports or custom third-party applications.
p If you have custom reports that use the Crystal Reports format, be sure to open these reports in Crystal
Reports Professional, select Database > Verify Database, and then save the report.
p If you use Inventory, Purchasing, or Service Management custom Crystal reports, see page 98 or
page 102 for special information and detailed instructions about upgrading these reports.
p As with any release, database changes in Sage 300 Construction and Real Estate applications may
affect your custom report designs or custom third-party applications. Contact your authorized business
partner to discuss any issues relating to custom reports or third-party applications.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 18
Chapter 3: Server Migration
You can select which companies you want to copy, giving you the flexibility to include all companies or only
selected companies.
Tip: Click [Help] in any of the server migration windows for more information.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 19
Chapter 3: Server Migration
n Most of the migration tasks are performed in a few minutes. However, moving attachments can take
more time. If you have many attachments, consider transferring them during non-business hours.
n Document Management items are not included in the migration. For additional information, access the
Knowledgebase at https://support.na.sage.com, log on, and search for the following articles:
n Document Management—Article ID: 22160
n Migration—Article ID: 22043
After you migrate your server, you must uninstall and then reinstall Sage 300 Construction and Real Estate on
all workstations so they interact with the data on the new server instead of the old.
Recommended procedure
Preparing your new server
If you have not already installed and run Sage 300 Construction and Real Estate, do so now.
1 Install Sage 300 Construction and Real Estate Accounting version 20.1 on your new server.
2 Click the Start icon, select the Sage Administration program group, and select Sage System Verifier.
3 In the Sage System Verifier window, click [Scan System].
4 When the system verification has completed, click [Close].
5 Set up administrative rights on the new server.
6 Set up existing or new printers on your new server. The TS PDF printer cannot be the only printer on your
system and cannot be selected as the default.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 20
Chapter 3: Server Migration
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 21
Chapter 3: Server Migration
Note: Migrating attachments can take some time. If you have many attachments, you may want to
consider migrating them during non-business hours.
1 If the Server Data Location window is not already open on the new server, open your program files folder
and \Timberline Office\Shared, and then double-click Sage.STO.ServerDataMigrator.exe.
2 In the Server Data Location window, verify or change the attachment migration log name and path (on the
new server) for Log file path. For example:
\\newservername\Timberline Office\9.5\Accounting\Migration\AttachmentMigration.pdf
3 Select the companies whose attachments you want to copy.
4 Click [Migrate attachments].
5 In the Attachment Paths window, review the table showing the old and new locations for each set of
attachments. You can change the new location.
a If you want to change the new attachment path for all rows to the default location on the new server, click
[Use default location].
b If you want to replace portions of the new paths in specific rows, select the check box in front of the rows
that you want to change, click [Replace selected], type the old text (for Find), type the new text (for
Replace), and then click [OK].
c If you want to change the new path for one row, either:
l Click in the New attachment path column and type the new path.
l Click [Change], specify the new path, and then click [OK].
6 When the rows display the desired new attachment paths, click [Migrate attachments].
7 When you see the Attachment migration complete message, view the attachment migration log (that you
set up in Step 2) to ensure that all attachments were transferred correctly.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 22
Chapter 4: System Guidance
Backups
We strongly recommend that you back up all Sage 300 Construction and Real Estate data files to external
media daily.
Note: For information about backing up Document Management, see the Document Management User's
Guide.
Tip: To see a list of folders that are outside the current data folder, from the Applications pane in
Sage Desktop, select Common Tasks > File > Company Settings > File Locations.
Caution! When you test a backup, keep the restored data separate from your production data.
Important! Restoring your business data requires advanced knowledge of the Actian Pervasive,
Microsoft SQL, and Sage 300 Construction and Real Estate file systems. We strongly recommend you
undertake this process with a knowledgeable professional, such as your business partner, certified
consultant, or Sage Customer Service representative.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 23
Chapter 4: System Guidance
Virus scanning
Do not actively scan Pervasive program files, Sage 300 Construction and Real Estate program files, or Sage
300 Construction and Real Estate data files for viruses during production hours.
Important! Scan these files at a time when they are not in use. For example, schedule a daily virus scan
at night.
Actively scanning Pervasive program files, Sage 300 Construction and Real Estate program files, or Sage
300 Construction and Real Estate data files for viruses may cause Sage 300 Construction and Real Estate to
run slowly or to close unexpectedly. Typical folders that contain files that you should not scan include:
n Sage 300 Construction and Real Estate program files:
[Drive]:\Program Files\Timberline Office
n Sage 300 Construction and Real Estate data files:
[Drive]:\TSData
n Pervasive program files:
C:\Program Data\Pervasive Software
Note: You can share the data files before installing the upgrade. You can move data folders after
completing the upgrade installation. If you move your data files and you use File Locations (File >
Company Settings > File Locations) to allow other data folders to access the folder's data files, be sure
you update the locations using File Locations for each affected data folder.
If you install in a client/server environment, note that the WinInst folder and corresponding Install.exe file was
moved in 9.5. The path to the WinInst folder is:
[Drive]:\Program Data\\Sage\Timberline Office\9.5\Accounting\WinInst\Install.exe
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 24
Chapter 4: System Guidance
Hidden folders
Some folders may be hidden. To view them, open Windows Explorer, click the View tab, and then select the
Hidden items check box.
Terminal services
For terminal services:
n Configure terminal services to maintain an operator’s session during connection breaks. This prevents a
program from closing unexpectedly and helps preserve data integrity. To set up this aspect of Windows
Terminal Services, use the Terminal Services Configuration program. For more information about using
terminal services, see “Terminal services” on page 30
n Do not use fast user switching. Sage 300 Construction and Real Estate does not support fast user
switching on Windows 7 or later.
If you use Windows Firewall, you do not need to take any action, as Windows Firewall is configured during
installation to work correctly with Sage 300 Construction and Real Estate. However, if you use a non-
Windows firewall, you may need to manually adjust some settings to ensure proper performance.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 25
Chapter 4: System Guidance
If you need to manually set up this exception, make the following changes on every machine where Sage 300
Construction and Real Estate is installed:
n Set up your firewall to allow an exception for the Sage Service Host. Refer to the Windows Firewall
instructions below and your firewall documentation for specific instructions.
n If you have other software that uses TCP ports 8101 and 8102, you may need to manually configure either
the other software or the Sage Service Host to use different port numbers.
The Sage Service Host port numbers can be configured in the Sage.STO.9.5.xml file. This file is located in
Documents and Settings\All Users\Application Data\Sage\LS1\ServiceHost\1.0\Configuration. If
you need to change the default port numbers for Sage Service Host, this file should be changed on every
machine on the network where Sage 300 Construction and Real Estate is being installed, including the
accounting server.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 26
Chapter 4: System Guidance
Troubleshooting
This section contains answers to the following questions:
l “If Sage 300 Construction and Real Estate stops responding during the workstation installation, how
can I resolve this?”
l “How do I move Accounting and Management products from one server to another?” on page 27
l “Why am I getting an error message when I try to save data or reports?” on page 28
l “I upgraded from Sage 300 Construction and Real Estate 9.4. Do I need to move my data folders or
reports to comply with User Account Control (UAC) requirements?” on page 28
l “Which Accounting and Management files were moved for Sage 300 Construction and Real Estate?”
on page 29
When you need more assistance, visit Sage Customer Resources, the Sage Knowledgebase, Sage City, the
Product Documents website, Live Chat, or Online Case submission.
If Sage 300 Construction and Real Estate stops responding during the
workstation installation, how can I resolve this?
Try the following:
n Turn off antivirus software and unnecessary programs before you install.
n Verify that you have full user rights to the parent folder of the application data folders containing files needed
so that Sage 300 Construction and Real Estate can run correctly.
For Accounting and Management applications, the default location is:
[Drive]:\Program Data\Sage.
Caution! Incorrectly moving Sage 300 Construction and Real Estate data folders may severely damage
your system. Sage Software is not responsible for damage to your data caused by incorrectly moving your
Sage 300 Construction and Real Estate data folders. Before making changes to your Sage 300
Construction and Real Estate data, contact your system administrator for assistance and make a backup
copy of all valued data.
Note: Versions of Sage 300 Construction and Real Estate prior to 9.5 will not install correctly on
machines with a Windows 2007, Microsoft Server 2008 R2, or later operating system.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 27
Chapter 4: System Guidance
I upgraded from Sage 300 Construction and Real Estate 9.4. Do I need to
move my data folders or reports to comply with User Account Control
(UAC) requirements?
For Accounting & Management applications, you do not need to move folders to comply with UAC
requirements unless you also install the Windows Server 2008 R2 operating system.
If you install on Windows Server 2008 R2 or Windows 7, you do not need to move folders if they are already
shared. If your data and report folders are not already shared, you will need to share the location or move them
to a shared location and then update their location at File > Open Company > [Specify Folders]. Refer to
“Which Accounting and Management files were moved for Sage 300 Construction and Real Estate?” (the next
question) for information on folder locations.
The Sage 300 Construction and Real Estate folder continues to exist under Program Files but contains only
the essential binary files required for the applications to operate.
In Purchasing (PO) and Inventory (IV), if you originally set up your company (data) folder inside the Program
Files folder, your data will not be accessible after you upgrade.
To prevent this issue, you should move your data from the Program Files folder to a different location prior to
upgrading, as described in “Windows User Account Control (UAC) ” on page 24.
Opening Purchasing or Inventory from a workstation before opening on a server will cause the DSN to be set
incorrectly. After Purchasing or Inventory has been opened at the server, the applications can be opened at
any workstation.
This issue is not specific to UAC but the solution to resolve it is the same.
After installation, verify your application operates correctly and you have access to your data, then remove the
original data files from the Program Files folder.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 28
Chapter 4: System Guidance
Which Accounting and Management files were moved for Sage 300
Construction and Real Estate?
Many Sage 300 Construction and Real Estate folders were moved from the Program Files folder to a shared
location beginning with the 9.5 release. A list of the affected Accounting & Management application folders is
provided in the following table.
Note: Some folders may be hidden. To view them, open Windows Explorer, click the View tab, and then
select the Hidden items check box.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 29
Chapter 4: System Guidance
Terminal services
Windows Terminal Services is a component of Microsoft Windows Server. Terminal Services consists of a
terminal server and one or more remote workstations. It enables users to access programs or data stored on a
remote computer by a phone, network, Internet connection, or other communication methods.
Remote network connections do not provide adequate bandwidth to run Sage 300 Construction and Real
Estate products without the use of Terminal Services. Terminal Services provides remote users with a stable
and well-performing experience.
Important! If you use Citrix MetaFrame, you must install it before you install Sage 300 Construction and
Real Estate.
You can install Sage 300 Construction and Real Estate applications on your terminal server (as described on
page 13), or you can use Terminal Services in conjunction with a server for Sage 300 Construction and Real
Estate.
Note: Sage does not support the administrative configuration of Terminal Services with Sage 300
Construction and Real Estate products because it is a partially configured version of Terminal Services.
Printers
General guidelines
Sage 300 Construction and Real Estate supports the use of business-class laser printers.
We no longer support the use of dot matrix printers for printing 1099 and W-2 forms.
Instead, use a laser printer. Some reports that use the Crystal Reports® format require a laser printer. For
example, you must use a laser printer to generate cost and contract invoices (AIA documents) in Billing,
Service Management, Purchasing, and Inventory.
You should use inkjet or bubble jet printers only as backup printers; we do not test inkjet or bubble jet printers.
Printer driver
We recommend that you use a PCL 5e printer driver.
Most new printers also support a PCL 6 printer driver. A PCL 6 driver supports higher resolutions than a PCL
5e driver (1200 dots per inch versus 600 dots per inch). However, because of its higher resolution (and, thus,
greater memory needs), PCL-6-based printing uses more toner, is slower, and is sometimes unstable.
Many printers come with both PCL 5e drivers and PCL 6 drivers. If your printer does not come with a PCL 5e
driver, your printer manufacturer probably offers one for free online.
Try using the PCL 5e driver first. Switch to a PCL 6 driver only if your printer does not function properly with a
PCL 5e driver.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 30
Chapter 4: System Guidance
Margins
The following margins work with most laser printers.
Accounting and Management 0.25 inches 0.5 inches 0.25 inches 0.5 inches
products
Installation
The MSI installation occurs automatically when you install Accounting and Management Products. Use the
Microsoft® Event Viewer to review the final status of the installation. You can find the Event Viewer in the
Control Panel > Administrative Tools folder. For information about installing, see “Chapter 2: Install Sage
300 Construction and Real Estate” on page 10
Auto-repair feature
This feature occurs automatically when you start an application and does not require any action or response.
MSI tracks important groupings of files that are necessary for an application to run. If an important component
is missing, MSI restores these files from the original installation source.
If MSI detects missing components, you may notice a brief delay of approximately two minutes while MSI
validates them. In a Sage 300 Construction and Real Estate server configuration, you will be prompted for the
installation DVD unless the installation source was copied and installed from the hard drive. On a workstation
running Sage 300 Construction and Real Estate, the utility retrieves the missing files from the shared Sage
300 Construction and Real Estate server if a valid network connection exists.
Use the Microsoft Event Viewer to review the changes made to the installation. You can find the Event
Viewer in the Control Panel > Administrative Tools folder.
Modify option
Use this option to add new programs or change program uses. This option is available when you reinstall a
currently installed version of Accounting and Management Products on the server.
This utility proceeds through the traditional installation routine with the exception that you cannot change your
registration name or client number.
To start the utility, begin the installation process by double-clicking Install.exe. In the Accounting Server -
InstallShield Wizard window, select Modify.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 31
Chapter 4: System Guidance
Remove utility
Use the Remove utility to permanently remove Sage 300 Construction and Real Estate products from a
server or workstation. For additional information, see “Removing Accounting and Management products
entirely” (the next section)
This utility removes application files and application registry folders which are created during the application
installation process. It does not necessarily return the server or workstation to its original state. Files and
registry values modified or created during the use of Accounting and Management products will still exist (for
example, \HKEY_CURRENT_USER\Software\Timberline).
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 32
Chapter 5: Security
Chapter 5: Security
Security overview
If you have many people working in your office, you may not want each one to have access to all the features
of the software. For instance, you may not want all staff members to be able to print checks or to print reports
that include sensitive data.
You can use the security function in Sage 300 Construction and Real Estate to restrict access to various
areas of the software.
Sage 300 Construction and Real Estate security is set up through the Security Administration tool in Sage
Desktop (by selecting Options > Security Administration).
User types
The Security Administration tool for Sage 300 Construction and Real Estate includes three types of users:
security administrators, application administrators, and Sage 300 Construction and Real Estate users.
n Security administrators set up and maintain accounts for users. For a complete list of tasks that a
security administrator can perform, see “Setting up security ” on page 42
n Application administrators can restrict access to software features and data that each user has
permission to access. They define roles and assign users to the roles. For a complete list of tasks that an
application administrator can perform, see “Setting up security ” on page 42
n Users have task permissions defined by the application administrator. These permissions can range from
none to almost as extensive as an application administrator. Users can have the same level of file and
record access as an application administrator. Users can have access to one or more companies.
n A role represents a group of users who have the same security requirements. A role has its own user name
and its own task, record, file, and company permissions.
The use of roles often saves setup time, because the application administrator can assign permissions to
new users simply by assigning them to an existing role. The use of roles can also clarify your company's
security plan because the application administrator can create roles that correspond to the company's
organizational structure. For example, the application administrator can create roles for Accounts Payable
clerks, Payroll clerks, property managers, and project managers.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 33
Chapter 5: Security
Types of security
n Task security restricts access to menu items and certain tasks. For example, you can control who can set
up vendors in Accounts Payable.
With task security, an application administrator can restrict access to menu items and certain tasks found
within windows. For example, task security can control access to the Setup > Vendors menu item in
Accounts Payable (AP.) Also, task security can control whether you can approve a change order in the
Item Status field of the Enter Change Order Items - Scope of Change window in Job Cost.
In the following example of task security, an application administrator assigns task permissions based on
the tasks that the employees need to perform.
Note: If employees are going to run reports with SQL data, they need to have read permissions to the
relevant SQL tables. See the tables in SQL Data Access > Read Access in the Tasks tree.
n File security blocks all access to a file and restricts ODBC access. For example, you can restrict access
to sensitive payroll files.
File security allows application administrators to block all access to a file. This includes access through
open database connectivity and through all related tasks, reports, and inquiries. This differs from task
security, which allows application administrators to block tasks selectively and does not allow them to
control ODBC access.
In the following example of file security, a company has two Payroll (PR) master files. One is for the
executive staff and the other is for the field staff. In order to keep the executive payroll information private,
the company creates a separate role for users that handle the executive PR master file.
In this example, the senior payroll clerk is a member of both the EXECPR and FIELDPR roles. A user can
belong to more than one role.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 34
Chapter 5: Security
n Record security controls access to certain records so that reports and inquiries display only the records to
which the user has security access. For example, you can restrict reporting and inquiries on jobs or bank
accounts.
n Company security restricts access to which companies a user can see. Application administrators can
grant a user access to specific companies. Security administrators and application administrators have
access to all companies.
n Application security prevents unauthorized users from accessing Sage 300 Construction and Real
Estate. When application administrators turn on application security, all users must enter a user name and
password to access the software. They can restrict access to software features and data that each user
has permission to access. Security Administration offers four types of application security: task, file,
record, and company.
Application security also lets application administrators hide applications from users and roles. When an
application administrator uses the Security Administration tool to deny a user or role access to all tasks in
an application and sets secured menu items to not display, users cannot see the application in Sage
Desktop.
Log settings
By default, logging is turned on. Security administrators can turn off Application, Security, or Setup logging.
The Audit Setup, Field Report, and System logs are required. You cannot turn them off.
The Posting Recap and Task Summary logs are for future use. No logs are created at this time.
No Application Logs the start and end of Accounting applications and tasks.
Yes Audit Setup Logs changes when the audit setup activity is selected in an
Accounting application.
Yes Field Report Logs changes to finalized field reports in Project Management.
Yes Posting Recap Logs recaps created while posting entries in Accounting. (Future)
Yes Task Summary Logs summaries created during an Accounting task. (Future)
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 35
Chapter 5: Security
Record security
With record security, you can control access to four records:
n Cash Management bank account
n General Ledger prefix
n Job Cost and Project Management job
n Property Management property
In addition, you can select or clear the Give all users access to records with blank security IDs check
box. Select the box if you want records with blank security IDs to be accessible to all users. Clear the box if
you want only application administrators to access these records. For more information, see “Set up record
security” on page 46.
When record security is active, reports and inquiries display only the records to which the user has access.
For more information, see “Effect of record security on reports” on page 37 and see “Effect of record security
on inquiries” on page 39.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 36
Chapter 5: Security
Record security also affects Job Cost, Contracts, and Project Management tasks. In these applications, you
can type or select only jobs to which you have access. For more information, see “Effect of record security on
tasks” on page 41.
With the following record security setup, these employees have access to only their team's properties.
JC Clerk 1
JC Clerk 2
For example, in Job Cost, a Cost Entries by Job report (simplified for this example) would look like the
following to an application administrator:
To a user with permissions to only job 01-002, the same report would look like the following:
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 37
Chapter 5: Security
Note: Some reports list information from several different records on the same line. If you lack access
rights to the report’s driving record (the primary record upon which the report is based), the report skips the
entire line. If you lack access rights to one of the non-driving records, the report skips only the information
from that record.
Sage 300 Construction and Real Estate defines the security settings on stock reports based on whether (a)
the report contains sensitive information or (b) the report's content should be tailored to the user. For example,
Sage 300 Construction and Real Estate allows the bank record on the Cash Management Check Register
report to be secured so that, if record security is on, you can generate reports that list only the entries for the
banks to which the current user has access.
In some cases, for practical reasons, Sage 300 Construction and Real Estate does not allow record security
to affect a report. For example, in Cash Management, you can type any bank in data entry tasks (bank
account record security currently only affects reports and inquiries). Therefore, Sage 300 Construction and
Real Estate does not secure the bank account record on the Cash Management Journal report.
Note: If you create reports in Report Designer, then you can secure those reports with Security
Administration. You must be an application administrator and own Report Designer to modify security
settings on new report designs.
If you do not own Report Designer: the report's cover page indicates whether record security is on. You
have the following options regarding cover pages:
n If you want to print a cover page every time you print any report, select Tools > Options. On the Reports
tab, select Attach to report.
n If you want to print a cover page only some of the time, you must choose to print a cover page at the time of
printing. From an applications Tools menu, select the report and from the Print Selection window, click
[Page Setup]. Then select Attach to report.
If you own Report Designer: in addition to the report cover page (see above), record security information
can appear in three additional areas.
n A report's design information (Tools > Design Info) lists the report's record security settings.
n A report's page heading (defined in File > Page Setup > Page Headings) indicates whether record
security is on.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 38
Chapter 5: Security
n If you open a report created in Report Designer 7.x or earlier and the report contains secured records, you
will receive an on-screen message that lists the secure records on that report. Once you save the report,
you will no longer receive this message.
Stock reports
New stock reports replace your existing stock reports. The new reports have settings that control whether
record security can affect the reports. However, these settings take effect only if you activate record security.
Custom reports
If you open a custom report created in Report Designer 7.x or earlier, the software displays a message that
lists the secure records on that report. Once you save the report, you no longer receive this message.
The software also modifies the report's security settings. It changes these settings to allow record security, if
active, to affect all securable records on the report.
You must use Report Designer to change a report's settings. If you do not own Report Designer, the only way
to control record security on a report is for an application administrator to turn on or turn off record security.
For example, in Cash Management, a Bank List inquiry would look like the following to an application
administrator:
To a user with permissions to only First Bank, the same inquiry would look like the following:
Note: Some inquiries list information from several different records on the same line. If you lack access
rights to the inquiry's driving record (the primary record upon which the inquiry is based), the inquiry skips
the entire line. If you lack access rights to one of the non-driving records, the inquiry skips only the
information from that record.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 39
Chapter 5: Security
If you upgrade from Sage 300 Construction and Real Estate Accounting and Management products 7.x or
earlier to Sage 300 Construction and Real Estate 8.0 or later, these settings do not take effect. Instead, record
security automatically affects your inquiries if it is on. For more information, see “Effect of an upgrade on
inquiries” (the next section).
Sage 300 Construction and Real Estate selects inquiry record security settings based on whether the inquiry
contains sensitive information or whether its information should be tailored to the user. For example, Sage 300
Construction and Real Estate allows the bank record on the Cash Management Bank Register inquiry to be
secured so that, if record security is on, your inquiry displays entries for only the banks to which you have
access.
If you own Inquiry Designer, you can modify inquiry security settings. For more information, see “Change
design security on an inquiry” on page 55.
If you do not own Inquiry Designer, application administrators can control record security on inquiries
only by turning on or turning off record security. For more information, see “Turn off record security,” on page
51.
Note: In this window, an application administrator can select or clear records to secure. However, the
selections affect only the current user's session. Therefore, selections are inconsequential because an
application administrator already has permission to view all records.
If you own Inquiry Designer, you can specify settings on each inquiry that control whether record security
affects the inquiry.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 40
Chapter 5: Security
In addition, you can select or clear the Give all users access to records with blank security IDs check
box. Select the box if you want records with blank security IDs to be accessible to all users. Clear the box if
you want only application administrators to access these records. For more information, see “Set up record
security” on page 46.
Contracts
p Edit > Link
p Edit > Add/Edit JC CO link
p Edit > JC CO Item Link Details
Job Cost
p Setup > Jobs
p Tasks > Enter Estimates
p Tasks > Change Orders
p Tasks > Commitments
p Tasks > Commitment Change Orders
p Tasks > Enter Misc Worksheets
Project Management
All tasks that involve the job record (for example, job setup and document creation).
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 41
Chapter 5: Security
Setting up security
This section contains the tasks that security administrators and application administrators need to perform to
set up security. Some tasks can be performed by either administrator role. Other tasks must be performed by
a specific administrator role. The best practice is for the security administrator to perform steps 1 through 8
and for the application administrator to perform steps 9 through 13. Steps 6, 12, and 13 are optional.
Turn on security
To prevent unauthorized users from accessing your software, we recommend that you turn on application
security. When you turn on application security, all users must enter a user name and password to access the
software. Application administrators can restrict access to software features and data that each user has
permission to access.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 42
Chapter 5: Security
To add or change a security administrator later, go to Security Administration > User Setup. You must be a
security administrator to add another security administrator.
To add or change an application administrator later, go to Security Administration > User Setup.
Log on
1 From the Log On window, type your User name.
2 Type your Password.
3 Click [Log On].
Security administrators can only turn off Application, Security, or Setup logging. The Audit Setup, Field
Report, and System logs are required; you cannot turn them off. The Posting Recap and Task Summary
logs are for future use; no logs are created.
1 From the Sage Desktop, select Options > Security Administration.
2 On the Security Administration tab, click Log Settings.
3 In the On column, clear the types of logs that you want to turn off.
4 Click [OK].
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 43
Chapter 5: Security
Add roles
1 From the Sage Desktop, select Options > Security Administration.
2 On the Security Administration tab, click Role Setup.
3 On the Roles pane, click [Add].
4 On the Role Details pane, type the Name of the role (for example, AP Clerk.)
5 (Optional) Type the Description for this role.
6 (Optional) Select the tasks for this role. For more information, see “Add tasks to roles,” on page 45.
7 (Optional) Select the users for this role. For more information, see “Add users to roles” on page 44.
8 Click [Save Changes].
Add users
1 From the Sage Desktop, select Options > Security Administration.
2 On the Security Administration tab, click User Setup.
3 On the Users pane, click [Add].
4 On the User Details pane, type the User name.
5 (Optional) Type the Full name and Windows user associated with the user name.
6 (Optional) On the Settings tab, select the User Account Settings and Password Settings.
7 Click the Roles tab, and then select or add roles for the user.
8 (Optional) Click the Companies tab, and then select the companies for the user. For more information, see
“Grant users access to companies” on page 45.
Note: You must be an application administrator to grant a user access to companies. If you cannot
perform this step, the application administrator must do it before the user can log on to Sage 300
Construction and Real Estate.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 44
Chapter 5: Security
You cannot change the tasks for the application administrator and security administrator roles.
1 From the Sage Desktop, select Options > Security Administration.
2 On the Security Administration tab, click Role Setup.
3 On the Roles pane, select the role that you want to edit.
4 On the Roles Details pane, click the Tasks tab.
5 In the tasks tree, navigate to the tasks or sub-tasks that you want to add and select the tasks.
6 Click [Save Changes].
7 For the change to take effect, the users associated with this role must restart Sage 300 Construction and
Real Estate.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 45
Chapter 5: Security
Note: Record tabs in the Record Security window are accessible only if you have turned on record
security for that record on the Activation tab.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 46
Chapter 5: Security
Modifying security
This section contains the following topics:
n “Change password settings” (the next section)
n “Delete a user” on page 49
n “Delete a role” on page 49
n “Copy a user” on page 50
n “Copy a role” on page 50
n “Turn off security” on page 50
n “Remove file restrictions” on page 51
n “Turn off record security” on page 51
n “Turn on tasks” on page 51
n “Turn off tasks” on page 52
n “Add a role to a task” on page 52
n “Remove a role from a task” on page 52
n “Restrict access to files” on page 53
n “Restrict access to additional files” on page 53
n “Modify record security permissions” on page 54
n “Change design security on reports” on page 54
n “Change design security on an inquiry” on page 55
n “Review record security settings” on page 55
When you turn on security, you must set up password strengths and requirements for all users. To change
these settings later, go to Security Administration > Security Settings.
To change the password settings for a user name, go to Security Administration > User Setup > Settings.
For the password settings to take effect, all users must restart Sage 300 Construction and Real Estate.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 47
Chapter 5: Security
Numbers (0 through 9)
When you turn on security, the password settings default to these strong password conditions.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 48
Chapter 5: Security
Note: When you add or change the password, the User must change password at next log on
option is automatically selected.
Delete a user
Delete a role
1 From the Sage Desktop, select Options > Security Administration.
2 On the Security Administration tab, click Role Setup.
3 On the Roles pane, select the role that you want to delete.
4 Click [Delete].
5 When you receive the confirmation message, click [Yes].
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 49
Chapter 5: Security
Copy a user
Use the copy feature when you want a new user to have the same permissions as an existing user.
Note: You must be a security administrator and an application administrator to perform this task.
Copy a role
Use the copy feature when you want a new role to have the same tasks and users as an existing role.
Notes:
l You must be a security administrator to turn off application security.
l To prevent unauthorized users from accessing your software, we recommend that you leave
application security turned on.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 50
Chapter 5: Security
Notes:
l When you turn off record security, the Security ID field disappears from related record setup
windows. However, Sage 300 Construction and Real Estate security saves your security ID
assignments. If you reactivate record security, these settings take effect again.
l In addition to record security settings in Security Administration, each Sage 300 Construction and
Real Estate report and inquiry has record security settings.
Turn on tasks
1 From the Sage Desktop, select Options > Security Administration.
2 On the Security Administration tab, click Tasks.
3 On the Tasks pane, navigate to the tasks or sub-tasks that you want to turn on.
4 On the Task Security Details pane, clear Turn off task.
5 Click [Save Changes].
6 For the task settings to take effect, all users must restart Sage 300 Construction and Real Estate.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 51
Chapter 5: Security
Note: You cannot turn off tasks for the security administrator and application administrator roles.
Security administrators can only remove roles from the following tasks:
p Log Viewer (Tasks > Common Tasks > Tools > Log Viewer)
p Audit Setup Activity (Tasks > Common Tasks > Tools > Options > Audit Setup Activity)
p View System Activity (Tasks > Common Tasks > Security > View System Activity)
p Change Audit Setup Fields (Tasks > Common Tasks > Security > Change Audit Setup Fields)
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 52
Chapter 5: Security
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 53
Chapter 5: Security
11 After securing a file, make sure that users can still perform their required tasks.
12 For the file restriction to take effect, all users not assigned to the role must restart Sage 300 Construction
and Real Estate.
Note: Record tabs in the Record Security window are available only if you have turned on record
security for that record.
Note: You must be an application administrator or have security access to the Change Security ID
task.
1 Open the record setup window of a securable record (Cash Management bank account, General Ledger
prefix, Job Cost and Project Management job, and Property Management property.)
2 Click the Security ID field and change the ID.
Note: The Design Record Security box lists all available records regardless of whether the report uses
all the records. If record security is off, the check box for that record will be unavailable.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 54
Chapter 5: Security
Note: You must be an application administrator to modify the inquiry design security.
Note: The Record Security window lists all available securable records regardless of whether the
inquiry uses all the records. If record security is not selected, the check box for that record will be
unavailable.
Note: Every report and inquiry has settings that control whether record security can affect the report or
inquiry.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 55
Chapter 5: Security
Troubleshooting security
This section contains information about the following issues:
l “I cannot see a security ID in a Record Setup window”
l “I cannot change a security ID in a Record Setup window”
l “I know a job was set up, but I cannot see it in the software”
l “I forgot my password” on page 57
l “My report or inquiry is missing information” on page 57
l “Menu items and fields are unavailable” on page 57
l “I cannot delete a user name” on page 57
l “I cannot make an account unavailable” on page 58
l “I cannot end account availability” on page 58
l “I cannot remove a user name” on page 58
l “I cannot turn on security” on page 58
l “I cannot save changes” on page 59
I know a job was set up, but I cannot see it in the software
In most Sage 300 Construction and Real Estate applications, record security affects only reports and
inquiries. In certain Contracts, Job Cost, and Project Management tasks, however, record security also
affects whether you can type jobs or select jobs from lists. For more information, see “Effect of record security
on tasks” on page 41.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 56
Chapter 5: Security
I forgot my password
If you are an application administrator or user, request a new password from one of your company's security
administrators.
If you are the only security administrator and you forgot your password, you must call Customer Support to
restore access to your software. See “Technical assistance” on page 2.
Note: For back-up purposes, we recommend having at least two security administrators.
Reports
p “Effect of an upgrade on reports” on page 39
p “Indicators that record security affects a report” on page 38
p “Report record security settings” on page 38
p “Review record security settings” on page 55
Inquiries
p “Effect of record security on inquiries” on page 39
p “Indicators that record security affects an inquiry” on page 40
p “Inquiry record security settings” on page 40
First, the task associated with the menu item or field requires a previous task that has not been performed. For
example, the Edit > Paste menu is unavailable if you have not previously cut or copied anything.
Second, you lack task security permissions (for example, access to PM > Setup > Properties.)
If security is on and only one user name is assigned to the Security Administrator role, you cannot delete the
user name assigned to that role.
To delete the user name, you must assign another user name to the Security Administrator role. For more
information, see “Add a security administrator” on page 43.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 57
Chapter 5: Security
To make the account unavailable, you must assign another available user to that administrator role.
For back-up purposes, we recommend adding at least two security administrators and two application
administrators. If necessary, you can assign two user accounts to both roles.
To end account availability, you must assign another available user name to that administrator role.
For back-up purposes, we recommend adding at least two security administrators and two application
administrators. If necessary, you can assign two user accounts to both roles.
If security is on and only one user name is assigned to the Security Administrator role, you cannot remove the
user name assigned to that role.
To remove the user name, you must assign another user name to the Security Administrator role. For more
information, see “Add a security administrator” on page 43.
If a user name is not assigned to the Security Administrator role, you cannot turn on application security.
To turn on security, you must assign a user name to the Security Administrator role. For more information, see
“Add a security administrator” on page 43.
For the security settings to take effect, all users must restart Sage 300 Construction and Real Estate.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 58
Chapter 5: Security
Note: You must be a security administrator to remove users from the Security Administrator role.
If security is on, you cannot remove all users from the Security Administrator role.
To remove all the existing users from the Security Administrator role, first you must assign another user name
to that role. For more information, see “Add a security administrator” on page 43.
Security tips
This section contains the following tips:
n “Be careful with print files”
n “Create separate roles for task and record security” on page 59
n “Consider limiting access to Crystal Decisions Crystal Reports” on page 60
n “Specify how secured tasks appear” on page 60
By default, Sage 300 Construction and Real Estate prints files to your data folder. If you run the software over
a network, all users print to this location. Although you can change the default file location in File > Data
Folder Settings > File Locations > Printouts, all network users will still print to whatever location you
designate.
To print to a different folder, you must redirect the print job at the time of printing. From a Print Selection
window, click [Printer Setup]. Then, click [Select File] and browse to the desired location.
Project Manager 1 and AP Clerk 1 always work together on jobs. Project Manager 2 and AP Clerk 2 always
work together on a different set of jobs. In terms of record security, these two teams of users should be
members of different roles because they need access to different jobs.
Project Managers 1 and 2 perform tasks such as approving change orders (COs.) AP Clerks 1 and 2 perform
tasks such as entering invoices. In terms of task security, the project managers should be in one role and the
AP clerks should be in a different role.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 59
Chapter 5: Security
The overall security assignment for these users should look like the following:
Notes:
l You must be an application administrator to perform this task.
l The menu is subject to task security. You may not be able to see this menu item if the application
administrator has selected Don't display in the Secured Menu Items box.
l Application administrators need to specify this setting in only one application for the effect to be
seen in all applications.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 60
Chapter 5: Security
Like other users, an application administrator has a user name and password. If security is on, application
administrators must type this user name and password after they start an application.
Application Log
Logs the start and end of Accounting applications and tasks.
Application Security
Application administrators can prevent unauthorized users from accessing Sage 300 Construction and Real
Estate by turning on application security. When application administrators turn on application security, all
users must enter a user name and password to access the software. They can restrict access to software
features and data that each user has permission to access. Security Administration offers four types of
application security: task, file, record, and company.
Application security also lets application administrators hide applications from users and roles. When an
application administrator uses the Security Administration tool to deny a user or role access to all tasks in an
application and sets secured menu items to not display, users cannot see the application in the Sage
Desktop.
Company Security
Company security allows an application administrator to grant a user access to specific companies.
File Security
File security allows application administrators to block all access to a file. This includes access through open
database connectivity and through all related tasks, reports, and inquiries. This differs from task security,
which allows application administrators to block tasks selectively and does not allow them to control ODBC
access.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 61
Chapter 5: Security
Record Security
With record security, you can control access to the Cash Management bank account, General Ledger prefix,
Job Cost and Project Management job, and Property Management property records.
When record security is active, reports and inquiries display only the records to which the user has access.
Record security also affects Job Cost, Contracts, and Project Management tasks. In these applications, you
can type or select only jobs to which you have access.
Roles
A role represents a group of users who have the same security requirements. A role has its own user account
and its own task, record, file, and company permissions.
Security Administration
With Security Administration, application administrators can restrict access to tasks, files, records, and
companies. For example, they can use task security to restrict who can set up vendors in Accounts Payable.
With file security, they can restrict access to sensitive payroll files. With record security, they can produce
reports that display only the jobs to which the user has security access. Finally, with company security, they
can restrict access to which company information a user sees.
Security Administrator
Security administrators set up and maintain accounts for users. For a complete list of tasks that a security
administrator can perform, see “Setting up security ,” on page 42.
Security Log
Logs events in the Security Administration tool.
Setup Log
Logs changes to setup information in Accounting.
Strong Passwords
Strong passwords must meet the following conditions for complexity:
n Passwords must be at least eight characters long.
n Passwords must contain at least three of the following four character groups:
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 62
Chapter 5: Security
Numbers (0 through 9)
System Log
Logs Accounting system events.
Task Security
With task security, an application administrator can restrict access to menu items and certain tasks found
within windows.
User
A user has restricted access to the Sage 300 Construction and Real Estate. A user can have security
permissions that range from very restrictive to almost as complete as an application administrator.
All users have a user name and password. If Security Administration is on, you must type a user name and
password immediately after you start an application.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 63
Chapter 6: Sage 300 Construction and Real Estate ODBC
ODBC overview
ODBC is a standard interface that serves as a translator between different database file structures and
different software. The ODBC driver lets applications collect data from databases in other applications.
Applications that are can access data via ODBC are commonly referred to as front-end applications and can
include databases (for example, Microsoft® Access), word processors (for example, Microsoft Word), and
spreadsheets (for example, Microsoft Excel). Applications such as Sage 300 Construction and Real Estate
that make their data available through ODBC are referred to as back-end applications. Both the front-end and
back-end applications must support the ODBC protocol for them to communicate with one another.
The Sage 300 Construction and Real Estate ODBC driver lets you read most Accounting and Management
Product records as well as create and delete some selected records. You cannot delete individual fields, but
you can replace many fields with new data. See the "About record topics" topic in ODBC Help for a list of
records and fields that you can edit. To access the Help file, click the Start icon, select the Sage
Administration program group, and select ODBC Help.
Note:
You cannot use the Sage 300 Construction and Real Estate ODBC driver to access Purchasing,
Inventory, or Service Management data. To access Purchasing, Inventory, or Service Management data
through ODBC, use the Pervasive ODBC Engine Interface and Pervasive ODBC Client Interface drivers.
For more information, see the Pervasive Help:
1 Click the Start icon, select the Actian PSQL 12 program group, and select PSQL Control Center &
Documentation.
2 In the Documentation Library area, click User’s Guide > Using PSQL > Setting Up ODBC
Database Access.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 64
Chapter 6: Sage 300 Construction and Real Estate ODBC
Important! Currently, we test only Microsoft Office (Access, Word, and Excel) for compatibility with the
Sage 300 Construction and Real Estate ODBC driver. We do not test for compatibility with any other
products or programming languages, including Microsoft Visual Basic for Applications, which can be run
from a macro within Microsoft Office. Although you may find success using another product, Customer
Support can address only issues and problems that relate to the use of Microsoft Office (Access, Word,
and Excel) to access data via the ODBC driver.
Data loss
ODBC processing leaves no audit trail of changes made, and its misuse can create untraceable data
discrepancies. If Customer Support is unable to reproduce a data-dependent problem using Sage 300
Construction and Real Estate software and data, it is assumed that the problem is specific to a data
discrepancy introduced with ODBC.
Consider the issues that follow before you write changes to a data file through ODBC:
n Data Dependencies: the values in some fields change based on the value contained in another field.
n Referential Integrity: some records which reside in one data file relate to records in another file.
An example of referential integrity in Accounting is the relationship between a job record and one of its
subsidiary category records. Amounts that you enter through a miscellaneous worksheet into a category’s
miscellaneous category amount field directly affect the total miscellaneous category amount field in the job
record. If you modify one of those fields through ODBC and do not modify the other, the Job Cost Master
file becomes out of balance.
n Formatting: Sage 300 Construction and Real Estate applications expect the value stored in some fields to
be formatted in a certain way.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 65
Chapter 6: Sage 300 Construction and Real Estate ODBC
Proper use of ODBC requires a thorough understanding of these dependencies to make sure referential
integrity is preserved.
When you set up a data source, you specify a particular ODBC driver to be attached to the data source. These
drivers are programs that access the information in the database and translate it into a format that the front-
end application (Microsoft Excel, for example) can read.
You must set up a DSN for each Sage 300 Construction and Real Estate database. For example, your
company might maintain one database for its construction business and another for its remodeling business.
Because these databases are stored in separate folders, you must set up a DSN for each database folder.
For detailed instructions on how to set up a DSN, see “The data source for Crystal Reports,” on page 68 .
Other software manufacturers’ ODBC-compliant products can access data through the Sage 300
Construction and Real Estate ODBC driver. Refer to those manufacturers’ ODBC documentation for
instructions on using ODBC.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 66
Chapter 7: Crystal Reports
If you do not have experience using Crystal Reports, contact your Sage certified consultant for help with
creating custom reports that fit your business needs. You can also attend training sessions in Crystal
Reports; visit http://www.sageu.com/Sage300CRE for more information.
You can switch the Crystal Reports on the menus and Desktop to use the SQL database. For information, see
page 67.
Important! If employees are going to run reports with SQL data, they need to have read permissions to
the relevant SQL tables (in SQL Data Access > Read Access in the Tasks tree). See “Chapter 5:
Security” on page 33 for information about controlling permissions.
You can create custom reports to use this SQL database. See “Creating the SQL Server data source” on
page 70.
Currently, all Crystal report designs available on the Reports menu in Sage 300 Construction and Real Estate
use your data stored in the Actian Pervasive database with a data source name (DSN) of "Timberline Data
Source" (as described on page 68) having the following options:
l Standard descriptions for Table and Field Naming
l Use maximum table segment size selected
l Shorten field and table names cleared.
The Mobile Reports application enables selected employees to generate and view Crystal Reports in the field
using a mobile device or computer. See the Mobile Reports Introduction video for more information.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 67
Chapter 7: Crystal Reports
Note: Beginning with Sage 300 Construction and Real Estate version 16.1, you must have a properly
configured DSN to run "Custom Description" reports—even though these reports may have run without a
properly configured DSN in 15.1 and earlier versions of Sage 300 Construction and Real Estate.
Because the Timberline Data Source is automatically created the first time you open Sage 300 Construction
and Real Estate, open a Sage 300 Construction and Real Estate application on your computer if you have not
opened one already.
Note: Crystal Report designs that come with Sage 300 Construction and Real Estate use Standard
descriptions.
b Select the Use maximum table segment size check box. For more information, see “About the
maximum table segment size” on page 70.
c If necessary, clear the Shorten field and table names check box.
Note: This option is available for earlier versions of ODBC, which truncated long field and table
names.
6 Click [OK] to save your settings and close the Timberline Data ODBC Setup window.
7 Click [OK] to close the Data Source Administrator window.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 68
Chapter 7: Crystal Reports
Standard (Recommended) Use this mode when you design a report for use in multiple
descriptions databases. The default descriptions appear on the report design in Crystal Reports
Designer. However, the operators’ custom descriptions appear when the report is
generated in Sage 300 Construction and Real Estate. If you select this option, you can
use this report with all databases.
Custom Use this mode when you design reports for a specific database. The custom
descriptions descriptions for that database appear on the report design in Crystal Reports Designer.
The custom descriptions also appear when the report is generated in Sage 300
Construction and Real Estate. If you select this option, you can only use it with
databases that have the same custom descriptions as the database used when
creating the report. If the custom descriptions in that database change, the report may
break.
Dictionary Use this mode only when modifying Billing invoice reports and reports that were
names designed in Crystal Reports with dictionary names for Sage 300 Construction and Real
Estate earlier than version 8.0.0. Dictionary names are internal table and field names
that are less descriptive than the standard descriptions but provide the same
functionality. If you select this option, you can use this report with all databases.
The following table uses the Accounts Receivable customer field as an example to show how different Field
Naming options affect how the field appears.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 69
Chapter 7: Crystal Reports
For example, the Job Cost JC job record contains more than 255 columns. If you clear the Use maximum
table segment size check box, the table splits into two tables (JCM_Master_Job_1 and JCM_Master_Job_
2). If you select the Use maximum table segment size check box, the table does not split (JCM_Master_
Job).
Important! Some programs, including Microsoft® Access, do not support the use of maximum table
segment size. Clear the check box when you use DSNs associated with those programs. You should set
up a separate DSN for these programs.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 70
Chapter 7: Crystal Reports
Note:
If you created custom Crystal Reports designs prior to Sage 300 Construction and Real Estate version
14.1, you will need to upgrade the designs before using them in Sage 300 Construction and Real Estate.
To upgrade designs created with version 9 or later, see “Upgrading custom reports using the Upgrade
Crystal Reports tool,” on page 108.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 71
Chapter 7: Crystal Reports
When printing a report in Crystal Reports, the data may print as cryptic symbols even though the report
displays correctly in preview mode. This is because Crystal Reports requires Unicode functions to print. If
your printer driver does not support Unicode, you must update your printer driver. To determine whether your
printer driver supports Unicode, see the printer driver manufacturer's support web site.
Note: In Crystal Reports, you must select Crystal Syntax for the Default Formula Language (File >
Options > Formula Editor tab > Default Formula Language).
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 72
Chapter 7: Crystal Reports
Integration formulas
This section provides information about the following formulas that you can use in report designs.
l tsAlternateSMFolder on page 74
l tsApp on page 74
l tsAskFile on page 74
l tsDataFolder on page 75
l tsDesignMode on page 76
l tsDesktopId on page 76
l tsLetterhead on page 77
l tsMargins on page 77
l tsReportType on page 77
l tsSQLDatabase on page 77
l tsSQLServer on page 78
l tsSubAskFile on page 78
Designs created in Crystal Reports use formulas to convey required report information to Sage 300
Construction and Real Estate. These formulas query the Sage 300 Construction and Real Estate application
for, or provide it with, required information that is not already in a database table field. For example, you may
need to set the margins of the report when it prints. You use a formula to provide the margin information to the
application.
Caution! Name the formulas exactly as they are named in this document. Formulas may be case
sensitive and may not work unless the formula name matches the corresponding formula written in Sage
300 Construction and Real Estate code. Also, do not add comments or additional expressions to the
formulas.
Important! Do not type @ in front of formula fields. In Crystal Reports, “@” automatically appears in
front of formula fields; for example, when you create a formula and type tsDesignMode, the formula
appears as @tsDesignMode.
Note: Integration formulas need only to be included in the report design to function. You do not need to
include these formulas on the report itself.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 73
Chapter 7: Crystal Reports
Formula: tsAlternateSMFolder
Description This formula allows you to select whether you want a Service Management report to include
current or historical information.
Example @tsAlternateSMFolder=
Formula: tsApp
Description Use this formula to specify the application abbreviation for the report. This formula is
required on all Service Management primary reports and subreports. The formula is not
required on any report that uses the ODBC driver to access Sage 300 Construction and
Real Estate data.
Formula: tsAskFile
Description Use the tsAskFile formula to limit the file types the operator can choose when the report
runs. This formula applies to the main report. It also applies to all subreports unless you use
the tsSubAskFile formula on the subreports. This formula does not have file merging
capabilities. If you use the formula example on a report design, the report will prompt the
operator to choose between the New.glt file and the Current.glt file when the report runs.
Without the formula on the report, the operator could choose whatever file codes are
available.
<file type> = the abbreviation of the data file type; for example: BLI, GLT, APT, etc.
<file code name> = the file code name of the data file; for example: new, current, history,
active, standard, etc.
Note: You can also use one file code name in the tsAskFile function to force the report to use a specific
file; for example, use @tsAskFile = “JCT(new)”.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 74
Chapter 7: Crystal Reports
Formula: tsDataFolder
Description Use this formula to specify the company data folder to use for previewing the report in
Crystal Reports Designer.
This formula is ignored when the report is generated in Sage 300 Construction and Real
Estate.
If using Pervasive data, it will be a data folder path from the Open Company window.
If using SQL data, it will be the SQL instance and current database in this format:
“SQL::SQLServerName\InstanceName:DatabaseName”
@tsDataFolder = “SQL::LSSVR20-MP\SAGE300CRE:SQLDataFolder”
Caution! If you place this formula on a primary report and you want to use it on a subreport, you must
pass the formula to the subreport as a shared variable. Subreports do not automatically read the formula
from the primary report.
You can use the tsDataFolder formula with any of the following user-defined functions:
n tsarContractCustomerDetail n tsarContractOnlyDetail
n tsarCustomerDetailWithRetainage n tsarJobCustomerDetail
n tsarJobOnlyDetail n tsControlData
n tsCustomDescription n tsFieldSection
n tsFieldSectionDesc n tsglFiscalEntityInfo
n tsHeaderData n tsItemDesc
n tsLetterheadStyle
Set the tsDataFolder formula to the same data path appearing in the Database box of the ODBC Setup
window for the DSN if the report uses any of these user-defined functions:
n tsControlData
n tsHeaderData
n tsCustomDescription
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 75
Chapter 7: Crystal Reports
Formula: tsDesignMode
Description This formula specifies the mode of the report design—and must match the Table and Field
Naming setting of the DSN.
When you run the report from Sage 300 Construction and Real Estate, the tsCrystal
interface looks to the report design for the tsDesignMode formula. If the formula exists on
the design, the system takes the value of the formula and sets the Table and Field
Naming selection to match it. If the formula is not on the report, the Table and Field
Naming selection is automatically set to Custom descriptions. If the report is written
using a Pervasive data source and the Use SQL check box is selected when it is
generated, this formula determines the correct schema to use from the SQL database.
Syntax “<mode>”; mode can be “Dictionary” (dictionary names), "SDesc” (standard description), or
"Custom" (custom description).
Note: Custom Billing invoice formats and subreports must include the tsDesignMode formula with a
value of “Dictionary”. See “About table and field naming” on page 69 for more information.
Important! tsDesignMode must be included with every report design written with a Pervasive data
source. If you want to prevent database switching, do not include the tsDesignMode formula.
Formula: tsDesktopId
Description If you use security and you link a Desktop home page to an estimate, Sage 300
Construction and Real Estate will ask for your user name and password when you open the
estimate. Use the tsDesktopId formula together with the TSEstimatingDKM function to
suppress the request for user name and password when you open an estimate from a home
page. "Function: tsEstimatingDKM" on page 87 for more information on applying this
function.
Add the tsDesktopId function to the main report. Add the TSEstimatingDKM function to
hyperlinks that link to estimates.
Example @tsDesktopId = “”
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 76
Chapter 7: Crystal Reports
Formula: tsLetterhead
This formula dynamically places the letterhead image when the report runs. This formula is
not required. This formula dynamically places the letterhead image only when the formula is
set to “Y” and you have selected the Use this letterhead image below for my forms option in
the Options window (Tools > Options > Letterhead tab > Use the letterhead image below for
my forms). Sage 300 Construction and Real Estate will not dynamically place the letterhead
image if any of the following conditions are true:
You select one of the other letterhead options in the Options window
Formula: tsMargins
Description Use the tsMargins formula to display the [Page Setup] button on the Print Selection
window when you run the report from the Report menu in Sage 300 Construction and Real
Estate. The tsMargins formula allows you to the set margins for the report.
Example @tsMargins =
Formula: tsReportType
Description Use this formula to force the report to use SQL as the data source. This is useful for
process-based reports (that run after a task) or where the Use SQL check box is not
available . This formula should be on all reports written using a SQL data source.
Syntax SQL
Formula: tsSQLDatabase
Description Use this formula to show the SQL Database name when you run the report in Sage 300
Construction and Real Estate with the Use SQL check box selected. This is only an
informational reporting field.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 77
Chapter 7: Crystal Reports
Formula: tsSQLServer
Description Use this formula to show the SQL instance name when you run the report in Sage 300
Construction and Real Estate with the Use SQL check box selected. This is only an
informational reporting field.
Formula: tsSubAskFile
Description Use the tsSubAskFile formula on subreports only. Use this formula to limit the file types the
operator can choose for the subreport when it runs.
To limit the file types the operator can choose for the main report, use the tsAskFile formula.
See “Formula: tsAskFile” on page 74 for more information.
The tsSubAskFile formula applies to only the subreport on which you use it, not to other
subreports. This formula does not have file merging capabilities. If you use the formula
example on a report design, the report will prompt the operator to choose between the
New.jct file and the Current.jct file when the report runs. Without the formula on the report,
the operator could choose from the new, current, or history file.
<file type> = the abbreviation of the data file type; for example: BLI, GLT, APT, etc.
<file code name> = the file code name of the data file; for example: new, current, history,
active, standard, etc.
Prompt Text = Text to inform the person that runs the report. You can use the prompt text
to indicate which subreport requires this selection.
Note: You can also use one file code name in the tsSubAskFile function to force the report to use a
specific file: for example, use @tsSubAskFile = “JCT(new)”.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 78
Chapter 7: Crystal Reports
User-defined functions
You can use the Sage 300 Construction and Real Estate user-defined functions in conjunction with Crystal
Reports formulas on all reports. These user-defined functions instruct the application how to transform the
data retrieved by a formula. To select a user-defined function, in the Formula Editor, click Functions >
Additional Functions.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 79
Chapter 7: Crystal Reports
Function: pjLastJobUsed
Description If you use this function on a field in the report design and if you selected the Use last job
option in PJ Settings (Project Management: File > Company/Data Folder Settings >
PJ Settings), the field retrieves the job number from of the last job used.
Syntax pjLastJobUsed
Example pjLastJobUsed()
Function: rmCurrentPropertyID
Description Use to retrieve the current Residential Management (RM) property. The current property is
the property currently open or the last property opened in the RM application.
Example rmCurrentPropertyID()
Function: rmSetupInfo
Description Use to retrieve setting information based on the Residential Management property you
specify. The design retrieves the setting for the property if it is specific to the property;
otherwise, it retrieves the system setting.
Example rmSetupInfo(rmCurrentPropertyID()”DefaultDepositCode”)
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 80
Chapter 7: Crystal Reports
Function: tsarContractCustomerDetail
Description Use this function to determine whether Accounts Receivable (AR) details should print for
the specified contract and customer
Data Folder: The report design must use the tsDataFolder formula, which stores the
folder path information.
AR Activity File: The full file path to the AR Activity (activity.ara) file.
AR Transaction File: The full file path to the current AR Transaction (current.art) file.
Contract: The Contract ID.
Customer: The CustomerID.
Aging as of Date: The transaction cutoff date based on the Aging Basis date.
Include Retainage: True or False value. A True value takes retainage transactions into
account. A False value bypasses retainage transactions.
Unpaid Only: True or False. A True value considers transactions at the invoice (status)
level. A False value considers transactions at the Activity level.
Age Finance Charge: True or False value. A True value includes finance charges. A
False value bypasses finance charges.
tsarContractCustomerDetail({tsDataFolder},{@tsFileName(ARA)},{@tsFileName
(ART)},{ART_CURRENT_TRANSACTION.Contract},{ART_CURRENT_
TRANSACTION.Customer},{?Aging Date},{?Aging Basis},{?Include Retainage?},
{?Unpaid only?},{?Include Finance Charges?})
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 81
Chapter 7: Crystal Reports
Function: tsarContractOnlyDetail
Description Use this function to determine whether Accounts Receivable (AR) details should print for
the specified contract.
Data Folder: The report design must use the tsDataFolder formula, which stores the folder
path information.
AR Activity File: The full file path to the AR Activity (activity.ara) file.
AR Transaction File: The full file path to the current AR Transaction (current.art) file.
Contract: The Contract ID.
Aging as of Date: The transaction cutoff date based on the Aging Basis date.
Aging Basis: The date that the Aging as of Date uses to determine the cutoff date.
Include Retainage: True or False value. A True value takes retainage transactions into
account. A False value bypasses retainage transactions.
Unpaid Only: True or False. A True value considers transactions at the invoice (status)
level. A False value considers transactions at the Activity level.
Age Finance Charge: True or False value. A True value includes finance charges. A False
value bypasses finance charges.
tsarContractOnlyDetail({@tsDataFolder},{@tsFileName(ARA)},{@tsFileName(ART)},
{ART_CURRENT_TRANSACTION.Contract},{?Aging Date},{?Aging Basis},
{?Include Retainage?},{?Unpaid only?},{?Include Finance Charges?})
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 82
Chapter 7: Crystal Reports
Function: tsarCustomerDetailWithRetainage
Description Use this function to determine whether Accounts Receivable details should print for
the specified customer.
Data Folder: The report design must use the tsDataFolder formula, which stores the
folder path information.
AR Activity File: The full file path to the AR Activity (activity.ara) file.
AR Transaction File: The full file path to the current AR Transaction (current.art) file.
Customer: The Customer ID.
Aging as of Date: The transaction cutoff date based on the Aging Basis date.
Aging Basis: The date that the Aging as of Date uses to determine the cutoff date.
Include Retainage: True or False value. A True value takes retainage transactions
into account. A False value bypasses retainage transactions.
Unpaid Only: True or False. A True value considers transactions at the invoice
(status) level. A False value considers transactions at the Activity level.
Age Finance Charge: True or False value. A True value includes finance charges. A
False value bypasses finance charges.
tsarCustomerDetailWithRetainage({@tsDataFolder},{@tsFileName(ARA)},
{@tsFileName(ART)},{ART_CURRENT_TRANSACTION.Customer},{?Aging
Date},{?Aging Basis},{?Include Retainage?},{?Unpaid only?},{?Include
Finance Charges?})
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 83
Chapter 7: Crystal Reports
Function: tsarJobCustomerDetail
Description Use this function to determine whether Accounts Receivable details should print for the
specified job and customer.
Data Folder: The report design must use the tsDataFolder formula, which stores the folder
path information.
AR Activity File: The full file path to the AR Activity (activity.ara) file.
AR Transaction File: The full file path to the current AR Transaction (current.art) file.
Job: The Job ID.
Customer: The Customer ID.
Aging as of Date: The transaction cutoff date based on the Aging Basis date.
Aging Basis: The date that the Aging as of Date uses to determine the cutoff date.
Include Retainage: True or False value. A True value takes retainage transactions into
account. A False value bypasses retainage transactions.
Unpaid Only: True or False. A True value considers transactions at the invoice (status)
level. A False value considers transactions at the Activity level.
Age Finance Charge: True or False value. A True value includes finance charges. A False
value bypasses finance charges.
tsarJobCustomerDetail({@tsDataFolder},{@tsFileName(ARA)},{@tsFileName(ART)},
{ART_CURRENT_TRANSACTION.Job},{ART_CURRENT_
TRANSACTION.Customer},{?Aging Date},{?Aging Basis},{?Include Retainage?},
{?Unpaid only?},{?Include Finance Charges?})
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 84
Chapter 7: Crystal Reports
Function: tsarJobOnlyDetail
Description Use this function to determine whether Accounts Receivable details should print for the
specified job.
Data Folder: The report design must use the tsDataFolder formula, which stores the folder
path information.
AR Activity File: The full file path to the AR Activity (activity.ara) file.
AR Transaction File: The full file path to the current AR Transaction (current.art) file.
Job: The Job ID.
Aging as of Date: The transaction cutoff date based on the Aging Basis date.
Aging Basis: The date that the Aging as of Date uses to determine the cutoff date.
Include Retainage: True or False value. A True value takes retainage transactions into
account. A False value bypasses retainage transactions.
Unpaid Only: True or False. A True value considers transactions at the invoice (status)
level. A False value considers transactions at the Activity level.
Age Finance Charge: True or False value. A True value includes finance charges. A False
value bypasses finance charges.
tsarJobOnlyDetail({@tsDataFolder},{@tsFileName(ARA)},{@tsFileName(ART)},
{ART_CURRENT_TRANSACTION.Job},{?Aging Date},{?Aging Basis},{?Include
Retainage?},{?Unpaid only?},{?Include Finance Charges?})
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 85
Chapter 7: Crystal Reports
Function: tsControlData
Description Use this function to retrieve information such as company name, address, and phone
number from the Ts.ctl file.
Data Folder Name: The report design must use the tsDataFolder formula, which stores the
folder path information.
Field Name: You can type (case sensitive):
l “Name”
l “City”
l “State”
l “Zip”
l “Phone”
l “Fax”
l “Email”
l “Web Address”
l “Accounting Method”
Example tsControlData(@tsDataFolder, “Name”, “A”) prints the company name in all capital
letters.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 86
Chapter 7: Crystal Reports
Function: tsCustomDescription
Description This function retrieves custom descriptions from the ts.fld file.
Data Folder Name: The report design must use the tsDataFolder formula, which stores the
folder path information.
Code: The custom description field code.
Flags: You can type:
l “P” to pluralize.
Note: All custom description codes are stored in the Ts.fld file. Custom descriptions are listed when you
print an available fields report (TR:Tools > Available Fields) and you select the Include information
for ODBC reporting? check box in the PrintAvailable Fields – Print Selection window.
The tsCustomDescription function was new on Accounting and Management Products 8.0.0 and is used on
new Crystal Reports designs. Earlier versions stored a function with a slightly different syntax called
tsCustomDesc. The Billing invoice reports still use the older function. Both functions are stored in the u2lts.dll
file on Accounting and Management Products 8.0.0 and later.
Function: tsEstimatingDKM
Description If you use security and you link a report design used as a Sage 300 Construction and Real
Estate Desktop home page to an estimate, Sage 300 Construction and Real Estate will ask
for your user name and password when you open the estimate. Use the tsEstimatingDKM
function to suppress the request for user name and password when you open an estimate
from a home page in Desktop.
Detail.PATH and Detail.FILENAME are fields that store the estimate’s path and file name in
the Estimating Explorer database.
Note: You must add the tsDesktopId formula to the main report when you use the tsEstimatingDKM
function in a hyperlink to an estimate.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 87
Chapter 7: Crystal Reports
Function: tsFieldSection
Description Use this function to determine the value in a customer-specified field section. A field
section is any portion of the GL Account, JC Job, or AR Customer that you define. For
example, you can define up to 3 prefixes, the base, and the suffix of a GL Account.
Therefore, these are field sections. Using the tsFieldSection function, you can retrieve the
prefix, base, or suffix field information from the GL Account.
Syntax tsFieldSection(Data Folder Name, File Type, Field Name, Section, Value)
Data Folder Name: Type a path to the data folder or use the tsDataFolder formula, which
stores the folder path information.
File Type: The type of file. For example, type “GLM” for the General Ledger account file or
“JCM” for the Job Cost master file.
Field Name: The name of the field. For example, type “AACCT” for the General Ledger
account field.
Section: Section 1, Section 2, or Section 3; Base; Suffix
Value: The ODBC field name on which to act.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 88
Chapter 7: Crystal Reports
Function: tsFieldSectionDesc
Description Use this function to determine the description in a customer-specified field section. A field
section is any portion of the GL Account, JC Job, or AR Customer that you define. For
example, you can define up to 3 prefixes, the base, and the suffix of a GL Account.
Therefore, these are field sections. Using the tsFieldSection function, you can retrieve the
prefix, base, or suffix field description information from the GL Account.
Syntax tsFieldSectionDec(Data Folder Name, File Type, Field Name, Section, Flags)
Data Folder Name: Type a path to the data folder or use the tsDataFolder formula, which
stores the folder path information.
File Type: The type of file. For example, type “GLM” for the General Ledger account file or
“JCM” for the Job Cost master file.
Field Name: The name of the field. For example, type “AACCT” for the General Ledger
account field.
Section: Section 1, Section 2, or Section 3; Base; Suffix
Flags: You can type:
l “P” to pluralize.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 89
Chapter 7: Crystal Reports
Function: tsglFiscalEntityInfo
Description Use this function to report on the Australian Business Number (ABN) for General Ledger or
Accounts Payable accounts. For General Ledger accounts, you can report on the ABN for a
General Ledger prefix or the entire account number.
Data Folder Name: Type the path to the data folder or use the tsDataFolder formula, which
stores folder path information.
Field Name: You must use “abn” as the field name.
Prefix or Account: Type a valid prefix number or account number from the general ledger
chart of accounts or type a valid accounts payable account number.
Account Section: Type the section of the account to use. You can type:
l “account”
l “prefix a”
l “prefix b”
l “prefix c”
l “full prefix”
Example tsglFiscalEntityInfo(@tsDataFolder,”abn”,”10-1201”,”account”)
Function: tsHeaderData
Description Use to determine the header information, such as header records in the BLM file.
Syntax tsHeaderData(Data Folder Name, File Name, Header Number, Field Name, Flags)
Data Folder Name: The report design must use the tsDataFolder formula, which stores the
folder path information.
Name: Use the actual file name; for example, Master.apm or Master.blm.
Header Number: Identifies the header record from which the field is retrieved.
Field Name: Use the internal field name; for example, SATXT or PABN.
Flags: You can type:
l “P” to pluralize.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 90
Chapter 7: Crystal Reports
Notes: Internal field names are listed when you print an available fields report (TR: Tools > Available
Fields) and you select the Include information for ODBC reporting? check box in the Print Available
Fields – Print Selection window.
To retrieve a date field, you must use the Crystal Reports ToDate function to convert the string value to a
date. To retrieve a number, you must use the Crystal Reports ToNumber function to convert the string
value to a number.
Function: tsItemDesc
Description This function returns the description of a list field. Use this function to perform string
comparisons on list fields that contain custom descriptions.
Syntax tsItemDesc(Data Folder Name, File Type, Field Name, Item Name, Format)
Data Folder Name: Type a path to the data folder or use the tsDataFolder formula, which
stores the folder path information.
File Type: The type of file. For example, type “ART” for the accounts receivable transaction
file.
Field Name: The name of the custom list field. For example, type “TATYPE” for the
accounts receivable Amount Type custom list.
Item Name: The short description of the custom list item. For example, type “PMT” for the
cash receipt accounts receivable amount type.
Format:
l “P” to pluralize.
Note: When you use tsItemDesc for literal string comparisons, set the Format parameter to nothing (““) to
return the description unchanged.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 91
Chapter 7: Crystal Reports
Function: tsLetterheadStyle
Description This function retrieves your Sage 300 Construction and Real Estate letterhead settings
(Tools > Options > Letterhead tab) and returns one of the following values:
“NONE”—No logo prints. The company name and address print in the header section.
To accommodate the use of different database-specific Sage 300 Construction and Real
Estate letterhead settings, all report designs created in Crystal Reports and included in the
software have separate header sections for all three letterhead options. The
tsLetterheadStyle function is used as a suppress condition on a header section. The
function determines which letterhead to use and suppresses the unused letterheads when
the report prints.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 92
Chapter 7: Crystal Reports
Function: tsOperator
Description Use to determine the identity or the description of the operator printing the report
Desc: The description for the operator. For example, the name of the operator.
Example tsOperator(“Id”) prints the Sage 300 Construction and Real Estate Security Id
tsOperator(“Desc”) prints the Sage 300 Construction and Real Estate Security operator
description.
Function: tsRange
Description Use this function to add range values to custom Crystal Report designs that you use in
Sage 300 Construction and Real Estate applications. You can select the range values from
a database list.
Tip: Use the report created in step 3 above to determine the values to use in the
formulas.
Note: The tsRange parameter must be the last parameter on the report design.
Important! Do not use tsRange if the report will be run against the SQL database
(instead of the Pervasive database).
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 93
Chapter 7: Crystal Reports
Function: tsRange
Syntax Formula 1: "File Abbreviation, Record Number, Internal Name, Standard Order Number,
Internal Name 2"
Parameter: tsRange(Formula 1 Name)
Formula 2: ((UBound({?tsRange(Formula 1 Name)}) = 1) and ({?tsRange(Formula 1
Name)}[1] = "")) or Database Field = {?tsRange(Formula 1 Name)}
Database Field: {Table.Field}
Expert: Formula 2 Name is True.
Formula Name: The name of the formula can be whatever you choose.
File Abbreviation: The three-letter abbreviation for the data file type.
Record Number: The number of the record in the file.
Internal Name: This is the key field. For example, VENDOR or JOB.
Standard Order Number: Optional. This is the alternative key. Use it for sorting the
records.
Internal Name 2: Optional. This is the description field. For example, VNAME.
Database Field: The field in the database to which the parameter is attached.
Formula 1: “APM,9,VENDOR,1,VNAME”
Parameter: tsRange(VendorRangeSelection)
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 94
Chapter 7: Crystal Reports
Note: Do not type “?” in front of parameter fields. In Crystal Reports, “?” automatically appears in front of
parameter fields; for example, when you create a parameter and type tsDocIndex, the parameter appears
as ?tsDocIndex.
Parameter: tsContactIndex
Description Only transmittal forms require this additional parameter to retrieve the contact ID created by
the process for the report.
Link the ?tsContactIndex parameter on the main report to the Contact ID on the subreport to
print the To contact information.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 95
Chapter 7: Crystal Reports
Parameter: tsDocIndex
Description Process reports require this parameter to retrieve the document ID created by the process
for the report.
Use a tsDocIndex parameter when you want a document to print for only a specific
document ID.
This parameter is stored in the u2lxx.dll files. These files are installed in different locations
depending on the version of Crystal Reports that you use. If you use Timberline Registry
Editor (TSRegEdit) to switch between different versions of Sage 300 Construction and Real
Estate applications, always use the latest version of the Registry Editor to ensure that
u2lxx.dll files are in the proper location.
Create a parameter named tsDocIndex. Use Select Expert (Report > Select Expert) to
set the document index field equal to ?tsDocIndex. For each report type, use the settings
that follow:
RFIs:{PJD_DOCUMENT_RFI.RFI_INDEX} = {?tsDocIndex}
Transmittals: {PJD_DOCUMENT_TRANSMITTAL.TRANSMITTAL_INDEX} =
{?tsDocIndex}
This message refers to the path in the report’s tsDataFolder formula. The tsDataFolder formula must have a
valid path to be previewed from Crystal.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 96
Chapter 7: Crystal Reports
Billing considerations
When upgrading, changing, or creating Billing invoice designs, you must:
l Set the location and verify the database against a DSN called TS Billing Field Names.
l Include the tsDesignMode formula in the designs.
Note: If the report was created in a version before Accounting and Management Products 8.0.0, you
may need to clear the Use maximum table segment size check box.
tsDesignMode formula
The Billing invoice format invoice design and all subreports must contain the tsDesignMode formula. The
value in this formula must be “Dictionary”.
Note: The invoice format designs provided with your Sage 300 Construction and Real Estate software
already include this formula.
If you use a custom Crystal design for your Billing invoice task and the design does not contain the
tsDesignMode formula, you will see the following error messages:
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 97
Chapter 7: Crystal Reports
Notes:
l When you open Purchasing, Sage 300 Construction and Real Estate creates the “Timberline
Office Data PO” and “Timberline PO Data” data sources. When you open Inventory, Sage 300
Construction and Real Estate creates the” Timberline Office Data IV” and “Timberline IV Data”
data sources. These data sources are not available until you open Purchasing or Inventory.
l Purchasing and Inventory reports have a .crs extension. When you open one of these reports in
Crystal Reports, make sure to select All files for Files of type. This ensures that files with the
.crs extension appear in the Open window.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 98
Chapter 7: Crystal Reports
Note: You may need to rename the report with a .crs extension after you save the report.
Formula content for formatted fields contains only the field name.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 99
Chapter 7: Crystal Reports
If you create a report that has several occurrences of the same fields from different records, you can create
multiple formulas with different names; for example, if you create a report that uses the job and job cost code
fields from both the PODetail and POHeader records, you could create the following formulas:
Note: Formatting does not print from within Crystal Reports—but formatting does print when you print the
report from the Reports menu in Purchasing or Inventory.
Ts.ctl formulas
To create formulas to include the general company information stored in the control (Ts.ctl) file:
1 Name the new formula according to the following table.
Company TSCOMPANY
Address TSADDRESS
Address 2 TSADDRESS2
City TSCITY
State TSSTATE
Zip TSZIP
Phone TSPHONE
Folder TSFOLDER
Caution! If your existing reports contain Purchasing or Inventory control file fields (such as
Companyname, Address1, Address2, etc.), you must replace them with the formulas listed in this
table.
2 In the Formula Editor window, leave the contents of the formula blank.
3 Save the formula.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 100
Chapter 7: Crystal Reports
Note: Return values for these formulas do not print from within Crystal Reports—but they do print when
you print the report from the Reports menu in Purchasing or Inventory.
Parameter fields
When you print a report with parameter fields, the parameters determine which prompts appear in the print
window. For example, if the parameter is a date field, the prompt uses the calendar control; if the parameter is
a logic (true or false) field, the prompt uses a check box. For Purchasing and Inventory, name your parameters
something specific if the design lets you see a list of available data for the parameter.
Parameter
STARTDATE ENDDATE
FIRSTITEM LASTITEM
FIRSTLOC LASTLOC
FIRSTCLASS LASTCLASS
FIRSTJOB LASTJOB
FIRSTVENDOR LASTVENDOR
FIRSTPO LASTPO
FIRSTRECEIPT LASTRECEIPT
Purchase order form and purchase order change order form parameters
Parameter Purpose
PONUMBER You want the report (for example, a purchase order form) to print for a single purchase
order. Use also with the CONUMBER parameter as described below.
CONUMBER You want the report (e.g., a purchase order change order form) to print for a single
purchase order change order.
Note: Lists for these parameters do not appear from within Crystal. They work, but you must type a
value, not select a value from a list. They do print when you print the report from the Reports menu in
Purchasing or Inventory.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 101
Chapter 7: Crystal Reports
DSN error
If you install or upgrade Purchasing or Inventory on a computer that has the Windows 7 operating system, you
may need to elevate your permissions level before starting the program or Purchasing/Inventory may not be
able to create the DSNs necessary to use Crystal Reports. If you encounter an error message when starting
Purchasing or Inventory for the first time after installation, close the program, elevate your permissions level,
and start Purchasing/Inventory again.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 102
Chapter 7: Crystal Reports
Option A
1 Verify the Timberline Data Source is set up correctly. Subreports that pull information from the accounting
database use the ODBC Timberline Data Source DSN.
a Open the Data Source Administrator window.
b On the User DSN tab, select Timberline Data Source and click [Configure].
c Click [Select Folder], select your construction data folder, and click [OK].
d Click [Options] to show the Data Source Options.
e In the Table and Field Naming list, select Standard descriptions.
f Select the Use maximum table segment size check box.
g Clear the Shorten field and table names check box.
h Click [OK] twice.
Note: If you will print this custom report from within Crystal Reports, this DSN must use a valid Sage
300 Construction and Real Estate accounting data set.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 103
Chapter 7: Crystal Reports
Option B
1 Verify the Timberline Data Source is set up correctly. Subreports that pull information from the accounting
database use the Timberline Data Source.
a Open the Data Source Administrator window.
b On the User DSN tab, select Timberline Data Source and click [Configure].
c Click [Select Folder], select your construction data folder, and click [OK].
d Click [Options] to show the Data Source Options.
e In the Table and Field Naming list, select Standard descriptions.
f Select the Use maximum table segment size check box.
g Clear the Shorten field and table names check box.
h Click [OK] twice.
2 Verify the Timberline SM Data DSN is set up correctly
a Open the Data Source Administrator window.
b If you are operating in a server/workstation environment, select the System DSN tab and verify there is
a Timberline SM Data DSN.
c If you are operating on a standalone system, perform steps 2d - 2h to set up the Timberline SM Data
DSN manually; otherwise, skip to step 3.
d If you are on a standalone system, create the Timberline SM Data DSN manually by opening the ODBC
Data Source Administrator window.
e On the System DSN tab, click [Add].
f Select the Pervasive ODBC Engine Interface driver.
g In the Pervasive ODBC Engine DSN Setup window:
l For Data Source Name, type Timberline SM Data
l For Database Name, select the entry starting with the letters SM in its label (such as
“SM1FE43AFDF79D459F”).
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 104
Chapter 7: Crystal Reports
Service Management creates two DSN GUIDs for each dataset. You may select any Service
Management DSN GUID when creating the Timberline SM Data DSN manually. During run time,
Service Management automatically points to the correct Service Management database.
h Click [OK].
Note: If you will print this custom report from within Crystal Reports, this DSN must use a valid Sage
300 Construction and Real Estate accounting data set.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 105
Chapter 7: Crystal Reports
5 Open the custom report design in the current version of Crystal Reports and update the data source:
a Select Database > Set Datasource Location.
b Under Replace with, double-click the Create New Connection folder.
c Double-click the ODBC (RDO) folder.
d In the ODBC (RDO) window, select Select Data Source.
e In the Data Source Name list, select Timberline SM Data and then click [Finish].
f For each item listed under Current Data Source, select the corresponding table in the Replace with
area and click [Update].
g Click [Close].
6 Verify the database.
a Select Database > Verify Database.
b Respond to the prompts as appropriate.
7 Save the custom report design.
You must also set the location on all subreports. If a subreport retrieves Service Management data, follow
the procedure in steps 3-7. If a subreport retrieves data from Timberline Data Source, use the steps that
follow. The Current Data Source window lists subreport data sources in a separate group.
8 Select the data source for the subreport.
a Select Database > Set Datasource Location.
b Under Current Data Source, double-click Subreports and select the first data source. Many of the
subreports retrieve information from the Timberline Data Source.
c Under Replace with, double-click Create New Connection.
d Double-click ODBC (RDO).
e Select Timberline Data Source.
f Click [Finish].
g If you have security enabled, type your Operator ID and Password.
h Click [Close].
i After you use Set Datasource Location, verify that the path on each table of the report is correct.
j Select Database > Verify Database.
k Select File > Save.
DSN error
If you install or upgrade Service Management on a computer that has the Windows 7 operating system, you
may need to elevate your permissions level before starting the program or Service Management may not be
able to create the DSNs necessary to use Crystal Reports. If you encounter an error message when starting
Service Management for the first time after installation, close Service Management, elevate your permissions
level, and start Service Management again.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 106
Chapter 7: Crystal Reports
Notes:
If you want custom invoice formats in Service Management 8.3.0 and later to be retrieved, add them to the
appropriate location. These custom formats include Call Type, Service Location, AR Customer, and
Service Management Settings.
You can store custom reports in a subdirectory for reports called Custom (file path X:\Program
Data\Sage\Timberline Office\9.5\Accounting\Report\Service Management\Custom in Windows
2008 R2, or X:\Documents and Settings\All Users\Application Data\Sage\Timberline
Office\9.5\Accounting\Report\Service Management\Custom in other supported operating systems).
You must manually create this folder, but any reports you store there will be retrieved by Service
Management before it retrieves the reports stored in the Service Management folder. This prevents
custom reports from being overwritten during the upgrade process. This is most common for process-
oriented reports like work orders and agreements. You must use the same name as the original report.
tsAlternateSMFolder
You can select whether you want a Service Management report to include current or historical information by
adding the tsAlternateSMFolder function to the report. You do not need to add a value to the formula. For
more information on the tsAlternateSMFolder function, see “Formula: tsAlternateSMFolder,” on page 74
tsApp
All Service Management reports designs and all subreports must contain the tsApp formula. The value in this
formula must be “SM.” However, this formula is not required on any report that uses the ODBC driver to
access Sage 300 Construction and Real Estate data. For more information on the tsApp formula, see
“Formula: tsApp,” on page 74.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 107
Chapter 7: Crystal Reports
Desktop considerations
You can display Crystal Reports in Sage Desktop. You will want to keep some concepts in mind when you
create Crystal Reports designs for use as home pages.
The following formulas do not function on Crystal Reports displayed in Sage Desktop:
l tsAskFile
l tsSubAskFile
l tsLetterhead
To access the tool, click the Start icon, select the Sage Administration program group, right-click Upgrade
Crystal Reports, and then select Run as administrator.
For more information, click (the help button) in the tool's window.
Sage 300 Construction and Real Estate Version 20.1 User's Guide Page 108