You are here:
Trigger Handlers for the ProductBatchItem - ProductTransfer Objects
Review the names, descriptions, and trigger conditions of the trigger handlers associated with the ProductBatchItem, ProductDisbursement, ProductGuidance, ProductionBatch, ProductRequest, ProductRequestLineItem, ProductTerrDtlAvailability, ProductTerritoryAvailability, and ProductTransfer objects.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise and Unlimited Editions with Life Sciences Cloud, Life Sciences Cloud for Customer Engagement Add-on license, and the Life Sciences Customer Engagement managed package. |
ProductBatchItem
Review the names, descriptions, and trigger conditions of the trigger handlers associated with the ProductBatchItem object.
| Trigger Name | Description | Trigger condition |
|---|---|---|
| ProductBatchItemOwnershipHandler | Shares records in product batch item to sales rep in ProductBatchItem.AssigneeId. | afterInsert |
ProductDisbursement
Review the names, descriptions, and trigger conditions of the trigger handlers associated with the ProductDisbursement object.
| Trigger Name | Description | Trigger condition |
|---|---|---|
| ProductDisbursementInventoryOpCreation | Creates a corresponding Inventory Operation record when a disbursement is made. | afterInsert, afterUpdate |
| ProductDisbursementSubmitLockHandler | Prevents modifications to Product Disbursement records when the related Visit record is in a locked state, that is, when the visit is signed or submitted. | beforeInsert, beforeUpdate, beforeDelete |
ProductGuidance
Review the names, descriptions, and trigger conditions of the trigger handlers associated with the ProductGuidance object.
| Trigger Name | Description | Trigger condition |
|---|---|---|
| ProductGuidanceDeactivationHandler | Removes sharing if the Product Guidance record was deactivated. | afterUpdate |
ProductionBatch
Review the names, descriptions, and trigger conditions of the trigger handlers associated with the ProductionBatch object.
| Trigger Name | Description | Trigger condition |
|---|---|---|
| ProductBatchItemUpdateByLotHandler | Shares Product Batch Item records with the assignee or the current user if the Assignee ID is not specified. | afterUpdate |
ProductRequest
Review the names, descriptions, and trigger conditions of the trigger handlers associated with the ProductRequest object.
| Trigger Name | Description | Trigger condition |
|---|---|---|
| ProductRequestLockHandler | Prevents modifications to Product Request records when they’re in a locked state. | beforeUpdate, beforeDelete |
ProductRequestLineItem
Review the names, descriptions, and trigger conditions of the trigger handlers associated with the ProductRequestLineItem object.
| Trigger Name | Description | Trigger condition |
|---|---|---|
| ProductRequestLineItemLockHandler | Updates the ordered quantity in the Territory Product Quantity Allocation record when a product request line item is modified. | beforeInsert, beforeUpdate, beforeDelete |
| PrdReqLineItmUpdateAllocationHandler | Prevents modifications to Product Request Line Item records when the associated product request is locked. | afterInsert, afterUpdate |
ProductTerrDtlAvailability
Review the names, descriptions, and trigger conditions of the trigger handlers associated with the ProductTerrDtlAvailability object.
| Trigger Name | Description | Trigger condition |
|---|---|---|
| ProductTerrDtlAvailabilityHandler | On trigger of these events the Product Guidance records shared with Territory are deleted. | afterUpdate, afterDelete |
ProductTerritoryAvailability
Review the names, descriptions, and trigger conditions of the trigger handlers associated with the ProductTerritoryAvailability object.
| Trigger Name | Description | Trigger condition |
|---|---|---|
| ProductTerritoryAvailabilityExclHandler | Deletes ProductGuidance share records when an Exclusion rule is created in ProductTerritoryAvailability. | afterInsert, afterUpdate |
ProductTransfer
Review the names, descriptions, and trigger conditions of the trigger handlers associated with the ProductTransfer object.
| Trigger Name | Description | Trigger condition |
|---|---|---|
| ProductTransferLockHandler | Prevents modifications to Product Transfer records when the associated inventory operation is locked. | beforeUpdate, beforeDelete |
| ProductTransferValidationHandler | Prevents invalid Transfer In and Transfer Out operations by checking transfer directions, and source and destination locations. | beforeInsert, beforeUpdate |
| ReceivedProductAllocationHandler | Updates Territory Product Quantity Allocation records when a product transfer is received. | afterInsert, afterUpdate |
| TransferOutTriggerHandler | Creates a Transfer In record when a user receives a product transfer due to another user submitting a Transfer Out record. | afterInsert, afterUpdate |

