---
schema_version: "1"
id: e6ca9ad26263c2c6844729299a56c076fbf6b74ddabbf62e55837d57db10d17c
title: Regulatory Code Violation DMO
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/data-cloud/data-cloud-dmo-mapping/guides/std_dmos/c360dm-si-regulatorycodeviolationdmo-dmo.md
canonical_url: https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-regulatorycodeviolationdmo-dmo.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 266af19a2376a4bec08138449f57af25d2a609c8bab38b7b1a16ff86760f10d0
products:
  - Data 360 DMO and Mapping Guide
  - Data 360 Developer Documentation
---
# Regulatory Code Violation DMO

## Object Properties

**Object API Name:** `ssot__RegulatoryCodeViolation__dlm`  
**Category:** Unassigned  
**Availability:** Available in 254 and later versions  
**Primary Key Field:** Id  

## Relationships

- **ViolationTypeId** has a FOREIGNKEY relationship with the [Violation Type DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-violationtypedmo-dmo.md) `Id` field.
- **RelatedContextId** has a FOREIGNKEY relationship with the [Visit DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-visitdmo-dmo.md) `Id` field.
- **RelatedContextId** has a FOREIGNKEY relationship with the [Complaint DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-complaintdmo-dmo.md) `Id` field.
- **RelatedContextId** has a FOREIGNKEY relationship with the [Case DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-casedmo-dmo.md) `Id` field.
- **RegulatoryCodeId** has a FOREIGNKEY relationship with the [Regulatory Code DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-regulatorycodedmo-dmo.md) `Id` field.
- **RelatedContextId** has a FOREIGNKEY relationship with the [Care Plan DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-careplandmo-dmo.md) `Id` field.
- **RelatedContextId** has a FOREIGNKEY relationship with the [Regulatory Code Violation DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-regulatorycodeviolationdmo-dmo.md) `Id` field.
- **OwnerId** has a FOREIGNKEY relationship with the [User Group DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-usergroupdmo-dmo.md) `Id` field.
- **OwnerId** has a FOREIGNKEY relationship with the [User DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-userdmo-dmo.md) `Id` field.
- **RgtlyCdViolationVstId** has a FOREIGNKEY relationship with the [Visit DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-visitdmo-dmo.md) `Id` field.


## Fields

- [cdp_sys_record_currency](#cdp_sys_record_currency)
- [ComplianceDueDateTime](#complianceduedatetime)
- [CorrectiveActionDescription](#correctiveactiondescription)
- [CreatedDateTime](#createddatetime)
- [DataSourceId](#datasourceid)
- [DataSourceObjectId](#datasourceobjectid)
- [DaysOpenCount](#daysopencount)
- [Description](#description)
- [Id](#id)
- [InternalOrganizationId](#internalorganizationid)
- [KQ_Id](#kq_id)
- [KQ_OwnerId](#kq_ownerid)
- [KQ_RegulatoryCodeId](#kq_regulatorycodeid)
- [KQ_RelatedContextId](#kq_relatedcontextid)
- [KQ_RgtlyCdViolationVstId](#kq_rgtlycdviolationvstid)
- [KQ_ViolationTypeId](#kq_violationtypeid)
- [OwnerId](#ownerid)
- [OwnerObject](#ownerobject)
- [RecurrenceCount](#recurrencecount)
- [RegulatoryCodeId](#regulatorycodeid)
- [RegulatoryCodeViolationPriority](#regulatorycodeviolationpriority)
- [RegulatoryCodeViolationStatus](#regulatorycodeviolationstatus)
- [RelatedContextId](#relatedcontextid)
- [RelatedContextObject](#relatedcontextobject)
- [ResolutionNotesText](#resolutionnotestext)
- [ResolvedDateTime](#resolveddatetime)
- [ResponseId](#responseid)
- [ResponseObject](#responseobject)
- [RgtlyCdViolationVstId](#rgtlycdviolationvstid)
- [ViolationName](#violationname)
- [ViolationTypeId](#violationtypeid)

### cdp_sys_record_currency

- **Field API Name:** `ssot__cdp_sys_record_currency__c`
- **Data Type:** TEXT
- **Description:** System-generated metadata field that stores a 3-letter ISO currency code.

### ComplianceDueDateTime

- **Field API Name:** `ssot__ComplianceDueDateTime__c`
- **Data Type:** DATETIME
- **Description:** Date by which the violation has to be resolved.

### CorrectiveActionDescription

- **Field API Name:** `ssot__CorrectiveActionDescription__c`
- **Data Type:** TEXT
- **Description:** Description of corrective actions for the violation.

### CreatedDateTime

- **Field API Name:** `ssot__CreatedDateTime__c`
- **Data Type:** DATETIME
- **Description:** Date on which the violation is created.

### DataSourceId

- **Field API Name:** `ssot__DataSourceId__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this record.

### DataSourceObjectId

- **Field API Name:** `ssot__DataSourceObjectId__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this record.

### DaysOpenCount

- **Field API Name:** `ssot__DaysOpenCount__c`
- **Data Type:** DOUBLE
- **Description:** Number of the days the violation is open.

### Description

- **Field API Name:** `ssot__Description__c`
- **Data Type:** TEXT
- **Description:** Description of the violation.

### Id

- **Field API Name:** `ssot__Id__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this RegulatoryCodeViolation record. Maximum size is 15 characters.

### InternalOrganizationId

- **Field API Name:** `ssot__InternalOrganizationId__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this record.

### KQ_Id

- **Field API Name:** `KQ_Id__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for Id

### KQ_OwnerId

- **Field API Name:** `KQ_OwnerId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for OwnerId

### KQ_RegulatoryCodeId

- **Field API Name:** `KQ_RegulatoryCodeId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for RegulatoryCodeId

### KQ_RelatedContextId

- **Field API Name:** `KQ_RelatedContextId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for RelatedContextId

### KQ_RgtlyCdViolationVstId

- **Field API Name:** `KQ_RgtlyCdViolationVstId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for RgtlyCdViolationVstId

### KQ_ViolationTypeId

- **Field API Name:** `KQ_ViolationTypeId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for ViolationTypeId

### OwnerId

- **Field API Name:** `ssot__OwnerId__c`
- **Data Type:** TEXT
- **Description:** The RegulatoryCodeViolation's owner.

### OwnerObject

- **Field API Name:** `ssot__OwnerObject__c`
- **Data Type:** TEXT
- **Description:** Indicates the Owner object name. For example, User, UserGroup.

### RecurrenceCount

- **Field API Name:** `ssot__RecurrenceCount__c`
- **Data Type:** DOUBLE
- **Description:** Denotes the number of times the same violation is observed.

### RegulatoryCodeId

- **Field API Name:** `ssot__RegulatoryCodeId__c`
- **Data Type:** TEXT
- **Description:** Reference to the code that's  being violated.

### RegulatoryCodeViolationPriority

- **Field API Name:** `ssot__RegulatoryCodeViolationPriority__c`
- **Data Type:** TEXT
- **Description:** Priority of the violation. For example, Critical, High, Medium, Low.

### RegulatoryCodeViolationStatus

- **Field API Name:** `ssot__RegulatoryCodeViolationStatus__c`
- **Data Type:** TEXT
- **Description:** Status of the violation. For example, Open, Resolved.

### RelatedContextId

- **Field API Name:** `ssot__RelatedContextId__c`
- **Data Type:** TEXT
- **Description:** The object in which context the violation occured.

### RelatedContextObject

- **Field API Name:** `ssot__RelatedContextObject__c`
- **Data Type:** TEXT
- **Description:** The name of the object in which context the violation occured. For example, CarePlan;Complaint;Application;Visit;RegulatoryCodeViolation;PartyBusinessLicense;Case.

### ResolutionNotesText

- **Field API Name:** `ssot__ResolutionNotesText__c`
- **Data Type:** TEXT
- **Description:** Resolution notes captured by the agency before closing the violation.

### ResolvedDateTime

- **Field API Name:** `ssot__ResolvedDateTime__c`
- **Data Type:** DATETIME
- **Description:** Date on which the violation is resolved.

### ResponseId

- **Field API Name:** `ssot__ResponseId__c`
- **Data Type:** TEXT
- **Description:** The response in which context the violation occured.

### ResponseObject

- **Field API Name:** `ssot__ResponseObject__c`
- **Data Type:** TEXT
- **Description:** The name of the response object in which. For example, AssessmentQuestionResponse.

### RgtlyCdViolationVstId

- **Field API Name:** `ssot__RgtlyCdViolationVstId__c`
- **Data Type:** TEXT
- **Description:** Associated Inspection

### ViolationName

- **Field API Name:** `ssot__ViolationName__c`
- **Data Type:** TEXT
- **Description:** Name of the violation

### ViolationTypeId

- **Field API Name:** `ssot__ViolationTypeId__c`
- **Data Type:** TEXT
- **Description:** This is a One to One (1:1) relationship field. RegulatoryCodeViolations is the relationship name and Violation Type is the referenced object. Maximum size is 15 characters.
