Oracle® Fusion Applications
Procurement Implementation Guide 11g Release 7 (11.1.7) Part Number E37378-02 |
Home |
Contents |
Book List |
Contact Us |
Previous |
Next |
This chapter contains the following:
Configuration Packages: Explained
Exporting and Importing Setup Data: Explained
Moving Common Reference Objects
Almost all Oracle Fusion application implementations require moving functional setup data from one instance into another at various points in the lifecycle of the applications. For example, one of the typical cases in any enterprise application implementation is to first implement in a development or test application instance and then deploy to a production application instance after thorough testing. You can move functional setup configurations of applications from one application instance into another by exporting and importing Configuration packages from the Manage Configuration Packages page.
A Configuration Package contains the setup import and export definition. The setup import and export definition is the list of setup tasks and their associated business objects that identifies the setup data for export as well as the data itself. When you create a configuration package only the setup export and import definition exists. Once you export the configuration package appropriate setup data is added to the configuration package using the definition. Once a configuration package is exported, the setup export and import definition is locked and cannot be changed.
You generate the setup export and import definition by selecting an implementation project and creating a configuration package. The tasks and their associated business objects in the selected implementation project define the setup export and import definition for the configuration package. In addition, the sequence of the tasks in the implementation project determine the export and import sequence.
A configuration package is required to export setup data. You can export a configuration package once you create it, or at any time in the future. During export, appropriate setup data will be identified based on the setup export definition and added to the configuration package. The setup data in the configuration package is a snapshot of the data in the source application instance at the time of export. After the export completes, you can download the configuration package as a zipped archive of multiple XML files, move it to the target application instance, and upload and import it.
You can export a configuration package multiple times by creating multiple versions. While the export definition remains the same in each version, the setup data can be different if you modified the data in the time period between the different runs of the export process. Since each version of the configuration package has a snapshot of the data in the source instance, you can compare and analyze various versions of the configuration package to see how the setup data changed.
In the target application instance, the setup import process will insert all new data from the source configuration package that does not already exist and update any existing data with changes from the source. Setup data that exists in the target instance but not in source will remain unchanged.
You can review the results of the export and import processes using reports. The results appear ordered by business objects and include information on any errors encountered during the export or import process. If a setup export or import process paused due to errors encountered or for a manual task to be performed outside of the application, then you can resume the paused process.
These reports show what setup data was exported or imported and by which specific process. You can change the reports to validate the setup data as well as to compare or analyze it. A report is generated for each business object. These reports show the same information as the export and import results seen directly in the application.
Process status details are available as text files showing the status of an export or import process including the errors encountered during the process.
The common reference objects in Oracle Fusion Middleware Extensions for Applications are used by several setup tasks in the Setup and Maintenance work area. The common reference objects become a part of the configuration package that is created for an implementation project. While moving the application content, for example, from the test phase to the production phase of an implementation, you must pay special attention to the nuances of these common reference objects.
The common reference objects are represented as business objects. A single object can be referenced in multiple setup tasks with different parameters. In the configuration package that is created for the implementation project, parameters passed to a setup task are also passed to the business objects being moved. As a result, the scope of the setup tasks is maintained intact during the movement.
Common reference objects may have internal references or dependencies among other common reference objects. Therefore, it is necessary that all the dependencies are noted before the movement of objects so that there are no broken references among the objects.
Common reference objects in Oracle Fusion Functional Setup Manager are represented by business objects. These business objects are the agents that contain the application content and carry them across whenever the application setup is moved from one environment to another, for example, test environment to production environment.
The following table lists the business objects, the corresponding movement details, and the effect of the setup task parameter on the scope of the movement.
Note
Only the translation in the current user language is moved.
The Oracle Social Network business objects and the Navigator menu customizations are moved using the customization sets on the Customization Migration page instead of using the export and import function in the Setup and Maintenance work area.
Business Object Name |
Moved Functional Item |
Effect on the Scope of Movement |
---|---|---|
Application Message |
Messages and associated tokens |
No parameters: all messages are moved.
|
Application Taxonomy |
Application taxonomy modules and components |
No parameters: all taxonomy modules and components are moved. |
Application Attachment Entity |
Attachment entities |
No parameters: all attachment entities are moved.
|
Application Attachment Category |
Attachment categories and category-to-entity mappings |
No parameters: all attachment categories and category-to-entity mappings are moved.
|
Application Document Sequence Category |
Document sequence categories |
No parameters: all categories are moved.
|
Application Document Sequence |
Document sequences and their assignments |
No parameters: all sequences are moved.
|
Application Descriptive Flexfield |
Descriptive flexfield registration data and setup data |
No parameters: all descriptive flexfields are moved.
Note Importing a flexfield's metadata can change its deployment status and therefore, the affected flexfields must be redeployed. The import process automatically submits affected flexfields for redeployment. Note Only flexfields with a deployment status of Deployed or Deployed to Sandbox are eligible to be moved. |
Application Extensible Flexfield |
Extensible flexfield registration data and setup data, including categories |
No parameters: all extensible flexfields are moved
Note Importing a flexfield's metadata can change its deployment status and therefore, the affected flexfields must be redeployed. The import process automatically submits affected flexfields for redeployment. Note Only flexfields with a deployment status of Deployed or Deployed to Sandbox are eligible to be moved. |
Application Key Flexfield |
Key flexfield registration data and setup data |
No parameters: all key flexfields are moved.
Note Importing a flexfield's metadata can change its deployment status and therefore, the affected flexfields must be redeployed. The import process automatically submits affected flexfields for redeployment. Note Only flexfields with a deployment status of Deployed or Deployed to Sandbox are eligible to be moved. |
Application Flexfield Value Set |
Value set setup data |
No parameters: all value sets are moved.
Note Importing a value set's metadata can change the deployment status of flexfields that use the value set, and therefore the affected flexfields must be redeployed. The import process automatically submits affected flexfields for redeployment. |
Application Reference Currency |
Currency data |
No parameters: all currencies are moved. |
Application Reference ISO Language |
ISO language data |
No parameters: all ISO languages are moved. |
Application Reference Industry |
Industry data including industries in territories data |
No parameters: all industries are moved. |
Application Reference Language |
Language data |
No parameters: all languages are moved. |
Application Reference Natural Language |
Natural language data |
No parameters: all natural languages are moved. |
Application Reference Territory |
Territory data |
No parameters: all territories are moved. |
Application Reference Time zone |
Time zone data |
No parameters: all time zones are moved. |
Application Standard Lookup |
Standard lookup types and their lookup codes |
No parameters: all standard lookups are moved.
|
Application Common Lookup |
Common lookup types and their lookup codes |
No parameters: all common lookups are moved.
|
Application Set-Enabled Lookup |
Set-enabled lookup types and their lookup codes |
No parameters: all set-enabled lookups are moved.
|
Application Profile Category |
Profile categories |
No parameters: all profile categories are moved.
|
Application Profile Option |
Profile options and their values |
No parameters: all profile options and their values are moved.
|
Application Profile Value |
Profile options and their values |
No parameters: all profiles and their values are moved.
|
Application Reference Data Set |
Reference data sets |
No parameters: all sets are moved. |
Application Reference Data Set Assignment |
Reference data set assignments |
|
Application Tree Structure |
Tree structures and any labels assigned to the tree structure |
No parameters: all tree structures (and their labels) are moved.
|
Application Tree |
Tree codes and versions |
No parameters: all trees are moved.
|
Application Tree Label |
Tree structures and any labels assigned to the tree structure |
No parameters: all tree structures (and their labels) are moved.
|
Application Data Security Policy |
Database resources, actions, conditions, and data security policies |
No parameters: all database resources/actions/conditions/policies are moved.
Note
|
Application Activity Stream Configuration |
Activity stream options |
No parameters: all activity stream options are moved. |
Certain common reference objects may use other common reference objects creating dependencies among the objects. During the movement of common reference objects, these dependencies or references need to be taken care of.
The dependencies among the common reference objects may be caused by any of the following conditions.
Flexfield segments use value sets
Value sets may make use of standard, common, or set-enabled lookups
Key flexfields may have an associated tree structure and key flexfield segments may have an associated tree code
Tree codes and versions may be defined over values of a value set
Data security policies may be defined for value sets that have been enabled for data security
You may choose to move one, some, or all of the business objects by including the ones you want to move in your configuration package. For example, you may choose to move only value sets and not lookups, or you may choose to move both value sets and their lookups as part of the same package. Whatever be the combination, it is recommended that during the movement of objects, you follow an order that maintains the dependencies among the objects.
While moving the business objects, adhere to the guidelines and exactly follow the order as listed below.
Move created taxonomy modules before moving any objects that reference them, such as flexfields, lookups, profiles, attachments, reference data sets, document sequences, messages, and data security.
Move created currencies before moving any objects that reference them, such as territories.
Move created territories before moving any objects that reference them, such as languages and natural languages.
Move created ISO languages before moving any objects that reference them, such as languages, natural languages, and industries.
Move created tree structures before moving any objects that reference them, such as trees or tree labels.
Move created profile options before moving any objects that reference them, such as profile categories or profile values.
Move created attachment entities before moving any objects that reference them, such as attachment categories that reference them.
Note
In scenarios where there may be dependencies on other objects, you must move the dependencies before moving the referencing object. For example, if data security policies being moved have dependencies on newly created security roles, you must move the security roles before moving the security policies.
To move the common reference objects, you can use the Seed Data Framework (SDF). You can also use the command line interface of SDF to move the object setup data. For more information about seed data loaders including common reference object loaders, see Oracle Fusion Applications Developer's Guide.
The seed data interface moves only the setup metadata. For example, if you use SDF to import flexfield metadata, the flexfield setup metadata is imported into your database. However, you must invoke the flexfield deployment process separately after seed data import to regenerate the runtime flexfield artifacts in the target environment. Similarly, if you use SDF to import data security metadata, you must first move any new referenced roles and then manually run the GUID reconciliation where required.
To ensure that the reference data is not lost during the movement, certain guidelines are prescribed. It is recommended that you perform the movement of object data exactly in the order given below.
Note
Only the translation in the current user language is moved.
Move created taxonomy modules before moving any objects that reference them, such as flexfields, lookups, profiles, attachments, reference data sets, document sequences, messages, and data security.
Move created currencies before moving any objects that reference them, such as territories.
Move created territories before moving any objects that reference them, such as languages and natural languages.
Move created ISO languages before moving any objects that reference them, such as languages, natural languages, and industries.
Move created tree structures before moving any objects that reference them, such as trees or tree labels.
Move created profile options before moving any objects that reference them, such as profile categories or profile values.
Move created attachment entities before moving any objects that reference them, such as attachment categories that reference them.
Move created reference data sets before moving any objects that reference them, such as reference data set assignments and set-enabled lookups.
Move created document sequence categories before moving any objects that reference them, such as document sequences.
Move created tree labels before moving any objects that reference them, such as trees.
Move created data security objects and policies before moving any objects that reference them, such as value sets.
Move created value sets before moving any objects that reference them, such as flexfields.
Move created trees before moving any objects that reference them, such as key flexfields.