广告
广告
Chapter 3
Using Setup Data Manager
Setup Data Manager uses the system programming interfaces (APIs) to copy setup data from one database to another. For example, use Setup Data Manager to copy setup data that has been created and tested on a test or development database, to a production database.
To copy setup data, select the system servers that point to a source and a target database, and then choose the setup data items. Each item represents a different piece of setup data. The items are uniquely identified by name. If an item is copied to a target database that already contains an item of the same name, the existing item is updated. If an item of the same name does not exist on the target database, the item is added. Items that exist on the target database, but not in the source, are not affected by Setup Data
Manager (that is, they are not deleted from the target database).
Note: Before you copy setup data from one database to another, make sure that you fully understand the implications of copying that data. You should back up your target database before you copy setup data from one database to another. After the copy, there is no way to back out of or undo the changes.
Setup Data Manager user interface
The menu bar for the Setup Data Manager contains the following options:
Menu
File
Options
Open an existing transfer, run an existing transfer, or create a new transfer.
Menu
Edit
Options
Cut, copy, or paste information in the user interface.
Report Access the Last Run Log report. The Last Run Log gives a summary report of the last transfer that was run, including source information, target information, and copied data categories/items.
Admin Update Schema Definition—Retrieve the latest XML schema document from a new or upgraded system database. Be sure to keep the schema documents for the database versions you use up to date.
Change Workforce Central API Timeout—Edit the length of time that the application waits for a response during an API request.
Change Password—Display the Reset Admin Password Dialog
Box, which allows you to enter a different password for access.
License—Show information about the Setup Data Manager license or configure the license.
Window Basic window options: cascade, tile horizontally or vertically, and close all.
Help Displays the Setup Data Manager online Help and product version and licensing information.
How it works
Setup Data Manager uses the system’s XML APIs to copy setup data. This capability lets you copy a great range of setup data available in the suite and choose specific categories of setup data to copy. However, some data is not supported; see
Setup Data Manager supported data on page 19
for a complete list of supported data.
Setup Data Manager adds or updates setup data items based on the name of the item: l l
If the item name already exists on the target database, then the item is updated.
If the item name does not exist on the target database, then the item is added.
l
An item is never deleted from the target database, regardless of whether it exists or has been deleted from the source database.
Setup Data Manager must be able to access the system XML schema files for the source and the target database. The schema file determines what data can be copied and how it is copied.
The changes made to setup data on the target server during the setup data transfer are written to the server’s audit trail, just as if they were entered manually on the target system.
12
Copying setup data
The Setup Data Manager lets you copy setup data from one database to another. Setup data is data that you enter as part of the configuration of the suite. For example, setup data includes pay rules, labor levels, and manager summaries. You can copy all setup data or select specific setup data (referred to as policies). For a complete list of setup data supported by Setup Data Manager, see
Setup Data Manager supported data on page 19 .
Use Setup Data Manager to: l l l
Save the time of manually re-entering setup data on multiple databases.
Eliminate the potential for a user to make a mistake when re-entering setup data.
Allow you to update a number of setup data policies all at once.
Note: You cannot use Setup Data Manager to copy all setup data. For information about copying data that is not supported, refer to
Transferring setup data on page 13
.
Transferring setup data
To copy setup data, you must run a transfer definition file using Setup Data Manager. The transfer file defines the source and target databases for the copy, and the specific data to be copied.
Note: The XML Schema file must be downloaded before creating or opening a new transfer definition file (.tdf) or the database version will not be updated.
To configure a setup data transfer:
1. Open Setup Data Manager. You must enter a password.
To change the password, select Admin > Change Password from the Setup Data Manager menu and enter a new password.
2. To create a new transfer definition file, select File > New.
To open an existing transfer definition file, select File > Open.
3. Click General and enter a description for the transfer.
4. Click Source and specify: l
Enter connection parameters for the source server — Choose the system API Export to transfer the data from system server. Choose XML Document to transfer the data from an XML file. If you are using an XML Document, make sure it is an XML document that had previously been created with
13
14 l
Setup Data Manager.
System server URL (for system API Export only) — Enter the URL for the system server that points to the database from which to copy setup data.
l l
For information about constructing the URL, refer to
Entering the system server URL on page 18 .
Output path/Filename (for XML Document only) — The location and name of the XML file from which to transfer data.
Other settings appear when you transfer data from the system server using API Export.
l l l
Login name — Enter the login name for the system server.
Password — Enter the password for the system server.
System database version — Select the version of the source database. Click Find db version to query the server to determine the database version. The reported version is automatically entered as the database version.
l l
Database name — Contains the name of the database retrieved when you click Find db version.
Database server — Contains the name of the database server retrieved when you click Find db
version.
l
Submit using SSL — Select this to extract data from the system using Secure Sockets Layer.
5. Click Target and specify: l l l
Enter connection parameters for the target server — Choose Import to transfer the data directly to a system server. Choose XML Document to write the data to an XML file.
System server URL (for system Import only) — Enter the URL for the system server that points to the database to which you want to copy setup data.
For information about constructing the URL, refer to
Entering the system server URL on page 18 .
l
Output path/Filename (for XML Document only) — The location and name of the XML file to be created. Click the ellipsis button to browse to the directory and file. If you want to create a new directory for the file, you must use Windows Explorer. Existing files are overwritten if the same name is reused.
Other settings appear when you transfer data directly to the server using Import.
l l l l l l
Login name — Enter the login name for the system server.
Password — Enter the password for the system server.
System database version — Select the version of the target database. Click the Find db version button to query the server to determine the database version. The reported version is automatically entered as the database version.
Database name — Contains the name of the database retrieved when you click Find db version.
Database server — Contains the name of the database server retrieved when you click Find db
version.
Submit using SSL — Select this to copy data to the system using Secure Sockets Layer.
l
Submit transfer errors to the Transaction Assistant — Select this to send errors that occur during the copy to the Transaction Assistant on the target server.
Note: Errors are always included in the XML Error Log.
l
Batch Name — Enter the name of the batch.
6. Click Transfer and choose the setup data categories and items that you want to copy. Some setup data items depend on others in order to work properly. Be sure that you copy all dependent setup data items.
If your source is an XML file, all setup data categories in that file are copied; you cannot specify which items to copy. If your source is the system and your target is an XML file, only the selected setup data categories and items are included in the XML file.
For more information, refer to
Configuring Transfer information on page 15 .
7. Click Start Transfer.
Note: The settings in the General, Source, and Target tabs can be saved as part of the transfer file
(select File > Save).
If you transfer new or reconfigured rules to your production database, reassign the necessary people to the appropriate rules, after the transfer. For instructions about how to do this, refer to the system’s online Help.
Errors that occur as part of the transfer are reported in the XML Error Log and are sent to the Transaction
Assistant on the target server, if you have enabled it. To access the XML Error Log, go to the Log Files folder within the SDM installation directory. Errors are contained in the transferFileName_ server_Trans.xml
file.
For more information about the Transaction Assistant, refer to the system’s online help.
Note: If you lose contact with the database or server at any time during the transfer, you can run the transfer again. Anything that was copied during the first transfer will be updated; anything that was not copied will be added.
If your connection to the source or target server continually times out during the Copy, you may need to extend the application timeout value. Select Admin > Change Workforce Central API Timeout and change the value.
In particular, to allow sufficient time for InTouch Soft Key settings data to transfer, navigate to Admin >
Change Workforce Central API Timeout and set the value to 600 seconds or greater.
Configuring Transfer information
Use Transfer to select the setup data items that you want to copy. Setup data items are sorted according to data categories, such as Wage Profiles, Setup, similar to the organization of the data in Setup on the
15
16 system navigation bar. Some data categories are a sub-category of these larger categories. For example,
Work Rules are a sub-category of Pay Policies within the general category of Setup. A setup data item is a specific Work Rule or Pay Rule.
Note: Only the setup data items that you selected are copied. There is no effect on setup data items that you choose not to copy.
To select a setup data item to copy:
1. In the Setup Data Categories pane, click the name of the category that includes the item you want to copy. Select the check box to the left of the category name to copy the entire category. You can also choose to Select All data categories.
Each time you select a different setup data category, the list of items in the Setup Data Items - Source pane is updated to reflect the items stored in the source database.
Note: Select Cache setup data items list to cache the list of items within the selected category. This way, you don’t have to wait for the list to be updated each time you select the category. If you select this option and a setup data item is added while you are using Setup Data Manager, the new item is not automatically updated in the list. Deselect the check box and select the category name again to update the list.
2. In Setup Data Items - Source, select the check box for each setup data item that you want to copy. You can also choose to Select All items.
Only setup data items that you are allowed to transfer are shown. When possible the name of each setup data item is the same as the name that appears in the system user interface. When a name does not match an entry in the system user interface, it appears in square brackets.
Some items are read-only, and, therefore, cannot be edited or transferred.
Note: To view a list of setup data items contained on the target database, select the Show target data
items check box.
3. Make sure to copy all the setup data items that are referenced by the setup data items you chose to copy in step 2. Each referenced item must also be copied or must already exist on the target database.
Refer to
Identifying dependencies on page 17
to learn how Setup Data Manager can help you to identify dependencies for different setup data items.
4. Repeat step 1 through step 3 until all the setup data items that you want to copy are selected.
5. Make sure you have a recent backup of the target database. Select Start Transfer to copy the selected setup data.
Note: The settings in the Transfer tab cannot be saved. They must be updated each time the transfer file is opened.
Identifying dependencies
Most setup data items contain references to other setup data items that are in different setup data categories. For example, Work Rules reference Work Rule Building Blocks such as Pay Code
Distributions and Core Hours. These referenced items are called dependencies. Setup Data Manager cannot copy a setup data item unless all of its dependencies are also copied or are already contained on the target database.
While Setup Data Manager is not able to identify specific dependencies item by item, it can identify where dependencies exist across setup data categories. For example, when you select a setup data category,
Setup Data Manager can show you which categories contain items that can be referenced by items in the selected category.
Note: Setup Data Manager does not identify which setup data items must be copied within the given category; you must be able to make this determination based on your knowledge of the setup data.
Alternatively, you can copy all items in the dependent category.
To identify dependencies between setup data categories:
1. Select the Show dependency tree option at the top of the Transfer tab.
2. In the Setup Data Categories pane, click the name of the setup data category whose dependencies you want to view.
3. Click Show in the Dependencies pane, below the Setup Data Categories pane.
4. If necessary, expand the tree in the Dependencies pane to view all the setup data categories required by the selected setup data category.
5. Select a data category from the Dependencies pane to view the list of setup data items for the category in the Setup Data Items - Source pane. You can then select data items to copy, or copy the entire category.
Note: The dependent data items that you copy may have dependencies of their own. You need to copy all dependencies, including those for each dependent item.
Setup data categories that are circular in reference, are self-referencing, or are not supported by Setup
Data Manager do not appear in the Dependencies pane. Referenced items within these categories must be manually transferred or they must already exist on the target database before you perform a transfer.
Establish some other method for adding these items to the target database before performing a transfer. For example, you can add them to the target database manually, using Setup from the system navigation bar.
A self-referencing dependency means that a data category can refer to other data in the same data category; for example Holiday Credit Rules can refer to other Holiday Credit Rules. You must manually transfer any self-referencing data category that is referenced by another one. The following table lists selfreferencing data categories:
17
Setup Data Category
Date Patterns
(WSADatePattern)
Self-referencing data category
DatePattern
Holiday Credit Rules
(WSAHolidayCreditRule)
Holiday Credit Rule
Widget Instances (WidgetInstances) Widget Instance
Circular dependencies are setup data categories that refer to themselves via some other category. In this case, the category that refers to the original category does not appear in the list of dependencies. The following table lists the circular dependencies:
Setup Data Category
Call-ins
(WSACallInRule)
Shift Guarantees
(WSAShiftGuarantee)
Circular Reference
(refers back to original category)
Work Rule
(WSAWorkRule)
Work Rule
(WSAWorkRule)
The following table lists setup data categories that contain unsupported dependencies. You must manually create the dependent data using Setup on the target before using Setup Data Manager to transfer the entire data category.
Setup Data Category
Calendar Data Elements
Comments
Data Access Profile: Report
Unsupported Dependent Category
ShiftStartTimeBands
Installed Products
Common Setup: Report Setup
Data Access Profile: Schedule Group Scheduler Setup: Groups
Display Profile WorkloadPlannerProfile: Calendar
Profile
Forecast Map Organization Maps and Jobs
Rule Set Location Assignments
SchedRuleType
Widget Instances
Locations
Organization Maps and Jobs
Workflow Notifications (Non-Generic)
Entering the system server URL
The construction of the URL depends on where the Setup Data Manager is installed relative to the system server.
18
l l l
If the system server and the web server are installed on the same machine, and only one instance of the system server is installed, you can enter the Web server name instead of the complete URL.
If the Setup Data Manager is installed behind the same firewall as the system, the URL is:
http://ApplicationServerName:PortNumber/ApplicationInstanceName
If the Setup Data Manager is installed outside of the firewall used for the system, the URL is:
http://WebServerName/ApplicationInstanceName
Note: Multiple instances of the system may be installed on the server. The
ApplicationInstanceName
is the name of the specific system instance to which you want to connect. If only one instance is installed, the default instance name is “wfc1.”
Last Run Log report
The Last Run Log gives a summary report of the last transfer that was run. To access the Last Run Log, select Report > Last Run Log from the Setup Data Manager menu bar.
l l l
The Last Run Log report includes the following information:
The name and location of the Last Run Log file.
The name and location of the transfer definition file used for the transfer.
l l
The name of the PC from which the transfer was run.
The time at which the transfer started.
l
The setup data items that were copied as part of the transfer, listed in the order in which they were copied.
The list of setup data items is divided into three columns. The first column is the sequence number, showing the order in which the items were copied. The second column is the setup data category to which the item belongs. The third column contains the name of the item that was moved.
Note: When all the items within the specified category are transferred together, **All** is displayed in the third column. The individual items may be listed even when you select to transfer all items. Multiple items are copied individually or all together, depending on the API.
Setup Data Manager supported data
This section lists the data that Setup Data Manager can copy from one database to another.
19
20
Data Category
Access Profiles
Data Access Profiles
Availability Templates
Schedule Groups
Pattern Templates
Accruals
Shift Templates
Reports
Work Rules
Pay Codes
Function Access Profiles
Logon Profiles
Generic Data Access Profiles
Accrual Codes
Accrual Policies
Accrual Profiles
Date Patterns
Dates
Grants
Limits
Probation Period
Supported by
Setup Data
Manager
Yes for all
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Data Category
Activity Setup
Activities*
Activity Settings
Activity Configurations
Activity Profiles
Cell Definitions
Customers
Field Definitions
Supported by
Setup Data
Manager
Yes
Yes
Yes
Yes
Yes
Form Builder
Form Profiles
Labor Account Set Group
Pay Code Actions
Resource Definition
Resource Types
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Result Code Profiles
Result Codes
Yes
Yes
Units of Measure Yes
*References from an activity to an organizational job are not transferred.
Attendance Setup Attendance Actions
Attendance Events & Patterns
Attendance Policies
Attendance Profiles
Balance Types
Combined Events
Discipline Levels
Document Forwarding
Document Templates
Lost Time Events
Perfect Attendance Definitions
Tracking Periods
No
No
No
No
No
No
Yes
Yes
No
No
No
No
21
22
Data
Calendar Views
Setup
Category
Calendar Data Elements
Calendar Data Sets
Calendar Profiles
Generic Calendars
Employee
Manager
Shift Time Bands
Common Setup
Batch Processing
Batch Tasks
Batch Events
Comments
Delegate Profiles
Event Manager
HyperFind Queries
1
HyperFind Profiles
New Person
Query Manager
Report Setup
Custom Options
Report Setup
Reviewer Lists
Reviewer Purposes
Role Profiles
Table Import
Batch
Worker Types
Data Integration Connections
Mapped Folders
Supported by
Setup Data
Manager
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
Yes
No
No
Yes
Yes
No
No
No
No
Yes
Yes
Yes
No
Yes
Yes
Yes
1
Setup Data Manager supports the transfer of HyperFind queries that contain any of the available filters except for filters related to jobs, TeleTime IP, and Universal Device Manager.
Data
Device Manager
Setup
Category
Device Groups
Devices
Device Configuration Profiles
Device Configuration Building
Blocks
Device Communication Settings
General Device Settings
Device Hardware Settings
Soft Key Settings
Default Transaction Settings
Transactions Settings
Application Configuration Settings
Assistance Contact Lists
Bell Schedule Assignments
Bell Schedules
Device Language Settings
Device Totals
Device Work Rule Assignments
Device Work Rule Definitions
Dial-up Connections
Gate Schedule Assignments
Gate Schedules
Generic Badge Formats
Import Device Languages
Import Device Logo Files
Import Firmware
Import Parameter XML Files
Proximity Reader Formats
Smart View Transactions
Soft Key Schedules
No
Yes
Yes
Yes
Yes
No
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Supported by
Setup Data
Manager
Yes
Yes
Yes
Yes for all
23
24
Data
Display
Preferences
Category
Trusted Servers List
Display Profile Building Blocks
Custom URL Profiles
Custom URLs
Navigator Profiles
Genie Profiles
Genie
Accrual Detail
Averaging Detail
Detail
Leave Case Detail
QuickFind
Roll-up
Schedule Assistant
Schedule Editor
Schedule Group Detail
Schedule Group Roll-up
Schedule Planner
Genie Building Blocks
Accrual Detail Column Sets
Averaging Detail Column Sets
Detail Column Sets
Leave Case Detail Column Sets
Roll-up Column Sets
Schedule Assistant Column Sets
Schedule Editor Column Sets
Schedule Group Detail Column Sets
Schedule Group Roll-up Column
Sets
Schedule Planner Column Sets
Supported by
Setup Data
Manager
Yes
Yes for all
Yes for all
Yes for all
Data
Employee Self
Service
Employment
Terms
Supported by
Setup Data
Manager Category
Worked Account Detail Column
Sets
Site Defined Labels
Custom Field Labels
Telephone Field Labels
Display Profiles
Note: In a previous release,
HyperFind profiles were added to
Display profiles. As a result, transfers of display profiles will not succeed unless the associated
Hyperfind profiles have been implemented by hand on the target system.
Approval
Approval Settings
Yes for all
Yes
Yes
Approval Step Settings
Day Type Equivalence Values
Half Day Shift Boundaries
Yes
Yes
Half Day Pay Code Edit Boundaries Yes
Half Day Rules
Pay Code Value Profiles
Yes
Yes
Request Subtypes
Request Subtype Transitions
Employment Terms
Time off Rules
Yes
Yes
Yes
Yes
Forecaster Setup Category Property Sets
Create Category Property Sets
Assign Category Property Set
Forecaster Currency Assignment
Forecast Map
Yes
No
Yes
Yes
Hours of Operation
Assign Hours of Operation
Yes
25
26
Data
Forecaster
Leave Setup
Category
Create Override Hours
Create Regular Hours
Labor Drivers
Assign Static Drivers
Create Custom Drivers
Create Static Drivers
Labor Forecast Limits
Labor Standards
Seasonal Patterns
Special Events
Assign Special Events
Create Special Events
Tasks and Task Groups
Tasks
Task Groups
Volume Drivers
Assign Volume Drivers
Create Volume Drivers
Reporting Driver
Forecast Map Profiles
Combined Distribution
Configurable Fields
Documents
Yes
Yes
No
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Supported by
Setup Data
Manager
Yes
Yes
Data
Navigator
Operations
Planning Setup
Category
Default Leave Notifications
Document Statuses
Document Templates
Eligibility Requirements
Leave Case Approval Statuses
Leave Categories
Leave Profiles
Leave Reasons
Leave Rules
Leave Types
Reminder Template
Workspaces
Widget Instances
Navigators
Audits
Average Pay Rates
Column Sets
Engine Option Sets
Create
Assign
Fiscal Year Display Properties
Fiscal Calendars
Create
Assign
Volume Driver Dependencies Operations
Planning
Organization
Setup
Jobs and Organizational Map
Location Types
Jobs
Organizational Map
No
No
No
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
Supported by
Setup Data
Manager
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
27
28
Data
Pay Policies
Category
Labor Levels
Labor Level Sets
Labor Level Entries
Labor Level Entries
[Unspecified Labor Level Entry]
Organizational Sets
Adjustment Rules
Cascading Profiles
Cascading Policies
Supported by
Setup Data
Manager
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
Holidays
Holiday Credit Rules
Yes
Yes
Holiday Credit Rule Building Blocks
Work History Qualifiers
Contributing Shifts
Yes
Yes
Yes
Yes
Yes
Holiday Profiles
Pay Codes
Combined Pay Codes
Yes
Yes for all
Contributing Pay Codes
Definition
Display Order
Scheduled Hours Type
Pay Rules
Pay Rule Building Blocks
Sign-Off Restrictions
Yes
Yes for all
Punch Interpretation Rules
Processing Order
Fixed Rules
Percent Allocation Rules
Work Rules
Wage Profiles
Yes
Yes
Yes
Data Category
Work Rule Building Blocks
Auto-Resolved Exceptions
Bonuses / Deductions
Breaks
Call-Ins
Combination Rules
Core Hours
Exceptions
Interval Round Rules
Majorities
Overtimes
Pay Code Distributions
Punch Round Intervals
Rest Between Shifts
Schedule Deviations
Shift Guarantees
Process
Management
Zones
Process Administrator
Process Profiles
Process Templates
Web Service Configuration
Scheduler Setup
Availability Templates
Auto-Scheduler Option Sets
Day Type Rules
Supported by
Setup Data
Manager
Yes for all
No
No
No
Yes
Yes
Yes
Yes
29
30
Data Category
Day Type Rule Sets
Job Groups
Minor Rule Sets
Pattern Templates
Work Week
Metrics
Indicators
Hours Categories
Hours Category Sets
Metrics
Proficiency Levels
Schedule Assistant Criteria Sets
Criteria Building Blocks
Criteria Sets
Schedule Groups
Schedule Templates
Schedule Periods
Schedule Rule Sets
Employee Rule Sets
Organizational Rule Sets
Rule Set Job Location Assignment
School Calendars
Scheduler Profiles
Auto-Scheduler Option Set Profiles
School Calendar Profiles
Skills & Certifications
Skills
Certifications
Skills and Certifications Profiles
Supported by
Setup Data
Manager
Yes
No
Yes
Yes
Yes
Yes for all
Yes
Yes for all
No
Yes
Yes
Yes for all
Yes
Yes
No
Yes for all
Data Category
Shift Profiles
Shift Profiles Sets
Shift Segment Details
Shift Templates
Workload Setup
Schedule Zone Sets
Workload Shift Sets
Workload Planners
Workload Planner Profiles
Zone Categories
Location Settings
Coverage Counting
Schedule Generator
Location Profiles
Sorting and Matching
Rules
Rule Sets
Statutory
Reporting
Procedure Sets
Staffing Setup
Staffing Matrix
Weight Sets
Statutory Reporting
Supported by
Setup Data
Manager
Yes
Yes
Yes
Yes
Yes for all
Yes
Yes for all
Yes for all
Yes
Yes
Yes
31
32
Data
System
Configuration
Task
Management
Category
Log Report
Log File Gathering
Time Zones
System Information
System Settings
Workflow Notifications (Generic) Yes
Workflow Notifications (Non-
Generic)
No
Currency Policy
Locale Policy
Yes
Yes
Supported by
Setup Data
Manager
Not applicable
No
Yes
Not applicable
No
Security Alerts
Security Audit Data Export
Translation Support
Batch Action Sets
Batch Controller
Batch Job List
Approval Flow Assignment
Approval Flow Definition
Project Types
Site Profiles
Site Profile Sets
Tips and Tokes
Tip Compliance
Toke Pools
Working Time
Directive
Rules
Setup
Yes
Not applicable
No
Yes
Yes
Not applicable
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Note: You may also see categories for Forecast Setup and Operations Planning Setup. These categories appear in brackets and should not be used.
广告