Define Auditing Properties for a Relationship
Use the Auditing page in the Relationship Properties window to define auditing options for records in the Relationship. When you enable auditing on a Relationship, you define which changes to child object records are tracked in the parent object's history records.
To define auditing properties for a Relationship:
- Open the Relationship Properties window:
- In the
CSM Administrator main window, click the
Blueprints category, and then click the
Create a
New Blueprint task.
Note: If working on a saved Blueprint, open the existing Blueprint.
The Blueprint Editor opens, showing the Object Manager in its Main Pane. The Object Manager lists the existing Business Objects.
- In the Object Manager, click a
Business Object in the Object tree, and
then click the
Edit Relationships task in the Structure
area.
The Relationship Editor opens.
Tip: You can also click the Edit Relationship button
on the Blueprint Editor Toolbar to open the Relationship Editor.
- Click Add to add a new Relationship, or Edit to edit an existing Relationship.
- In the
CSM Administrator main window, click the
Blueprints category, and then click the
Create a
New Blueprint task.
- Click the Auditing page.
- Select
Enable Auditing to enable auditing for the
records within the Relationship. Then, define auditing options:
For an Owns Relationship:
- Audit Adds: Select this check box to track when a child object is added.
- Audit Edits: Select this check box to track when a child object is edited.
- Audit Deletes: Select this check box to track when a child object is deleted.
- Combine Child Changes: Select this check box to have one history record created for all changes made to a child object before it is saved.
- Separate Field Edit Records: Select this check box to track each
Field that is edited in the child object in a separate history record.
Note: This option is only available if you checked Audit Edits.
For a Link Relationship:
- Audit Deletes: Select this check box to track when a linked object is deleted.
- Audit Linked Records: Select this check box to track when a linked object is added.
- Audit Unlinked Records: Select this check box to track when a
linked object is unlinked from the parent.
Note: Auditing options are not available for Owned By Relationships.
-
Click OK.
- Publish the Blueprint (File>Publish Blueprint) to commit the changes, or save the Blueprint (File>Save Blueprint) to continue making other changes.