Configuration Guide for Oracle CRM On Demand Life Sciences Edition > Setting Up a Business Process to Lock Records >
Creating a Business Process to Lock Sample Request Records
You can configure a business process to lock sample request records so that after a sample request is signed, it cannot be modified. For example, when the sample request status is set to one of the following states:
- Pending. You can make all updates to the sample request and the associated sample request items.
- Signed. You cannot add any additional sample request items, nor delete any existing sample request items. However, Oracle CRM On Demand can update the sample request item status.
- Voided. All sample request items are voided and cannot be changed.
Use the following procedure to create a business process to lock sample request records in Oracle CRM On Demand Life Sciences Edition that satisfy these conditions. This task is a step in Setting Up Business Processes to Lock Records in Oracle CRM On Demand Life Sciences Edition. NOTE: This procedure is only an example. Configuring a business process to lock sample request records varies according to Oracle CRM On Demand installation, and depends on the customer's business rules for locking data.
To create a business process to lock sample request records in Oracle CRM On Demand Life Sciences Edition
- In Oracle CRM On Demand, click the Admin link, and then click Process Administration.
- Click New on the Process List page and on the Process Edit page:
- Enter a name for the process in the Process Name field, for example, Locking a Sample Request Record.
- In the Object Name field, select Sample Request from the menu.
The Transition field automatically displays Status by default.
- (Optional) In the Description field, enter a description of the business process.
- Click Save.
- On the Process List page, open the business process (Locking a Sample Request Record) that you just created.
- On the Process Detail page, click Add in the Transition States section, and set up the transition states for the business process as described in the following table.
|
|
Disable Delete/Remove Check Box |
Pending |
Not Selected |
Not Selected |
Signed |
Not selected |
Selected |
Voided |
Selected |
Selected |
- On the Process Detail page in the Transition States section, configure the transition states:
- Open the transition state.
- On the Transition State Detail page, click Add in the Field Setup section, add the required fields for the transition state, select the read-only check box for the fields as required, then click Save.
For the Signed transition state, select read-only for all fields except the Status field.
- On the Transition State Detail page, click Add in the Related Access Control section, then add the related access controls for the transition state as described in the following table.
|
|
Disable Create/Add Check Box |
|
Disable Delete/Remove Check Box |
Signed |
Sample Request Items |
Selected |
Not Selected |
Selected |
Pending |
Sample Request Items |
Not Selected |
Not selected |
Not Selected |
Voided |
Sample Request Items |
Selected |
Selected |
Selected |
The related access control in the previous table prevents the creation, addition or deletion of sample request items while a sample request item is in the Signed state.
- Click Save.
- Sign out of Oracle CRM On Demand, and then sign in again for the changes to take effect.
|