Inactivating reference codes
DM
To manage the unused reference codes in your Network instance, you can inactivate the codes. This includes any code that you've added to your instance as well as Veeva OpenData codes for countries that you don't subscribe to.
When the codes are inactivated, they cannot be used because they will not be available in your Network instance.
Network Considerations
Before you inactivate reference codes in your Network instance, use reports to query your Network instance to ensure that no records are using the codes that you want to inactivate. If reporting is not enabled in your instance, consider exporting a target subscription that exports all of the records.
Remember that your data visibility profile (DVP) A user-assigned profile that contains permissions and the profile layouts that are used when viewing HCP or HCO records. might limit the results that you see, so some records might be missed. Also, if you don't have visibility for HCP opt-out or candidate records, some records might be missed.
Reference lists
Only inactivate codes in lists for which you are loading data.
Inactivating reference lists that Network uses is not recommended. Many of these reference lists are used in address cleansing. Their use might not be apparent but they might be integral to how your data is processed.
Example
If you inactivate the merged_into__v
RecordState, you will not be able to merge any records.
The merge instruction will fail, job errors will exist in the administrator inbox, and the records will not merge. This is because the losing record in a merge is assigned the merged_into__v
RecordState.
Do not inactivate codes for these reference lists
Network legacy reference lists
- AddressDPVConfIndicator
- AddressDPVFootnotes
- AddressFootnotes
- AddressISO31663
- AddressISO3166n
- AddressRecordType
- AddressReturnCode
- AddressVerificationStatus
- BooleanReference
- DataRemovalReason
- EntityType
- ParentAddressSyncReference
- RecordOwnerType
- RecordState
Common Data Architecture (CDA) reference lists
Restricted picklists for HCOs
-
AddressStateCDA
-
AddressCountryCDA
-
StatusCDA
For more information, see Picklists for HCO CDA fields.
Restricted picklists for HCOs
-
AddressCountryCDA
-
AddressStateCDA
-
AdopterTypeCDA
-
AgeRangeCDA
-
HCPSpecialtyCDA
-
HCPSpecialtyGroupCDA
-
LanguageCDA
-
LevelCDA
-
StatusCDA
For more information, see Picklists for HCP CDA fields.
Reference aliases
Reference codes can be mapped to your source and target systems using reference aliases A mapping between a Network reference code and the reference code of an external system.. When a code is inactivated, a warning message displays to remind you to update any reference aliases for the codes that you are inactivating.
If the reference aliases are not updated to point to a still-active code in that reference list and a record is included in a source, the record will fail upon load because it is pointing to an inactive reference code within Network.
Example
A user inactivates the Unknown code for the HCPGender reference type for their source system - System A.
They have the following reference alias defined for System A:
Network code | Network name | Source Alias |
---|---|---|
U | Unknown | 3 |
Result: An incoming record from System A that uses 3 will fail during the data load. The value 3must be mapped to an active Network code.
Ensure that when a code is inactivated, that it is not needed by any of your incoming sources or your data in Network.
Veeva CRM and Vault CRM considerations
Before you inactivate a reference code, ensure that all Veeva CRM or Vault CRM mappings have been reviewed. Do not inactivate a code if it is included in the mappings.
Veeva OpenData considerations
Inactive codes in your Network instance
If a reference code has been inactivated in your Network instance and then you subscribe to Veeva OpenData in that country, Network automatically re-activates all codes used by Veeva OpenData in that country when the subscription runs.
Inactive codes in the Veeva OpenData instance
Veeva OpenData can inactivate codes in their Network instance when those codes are no longer used in a country.
These codes are not inactivated in your Network instance because you might be using the code for a non-OpenData record in that country.
Learn about inactivated codes
For each release, the Veeva Network Data Governance document lists the codes that Veeva OpenData no longer uses.
If you are not subscribed to OpenData for a country, you can reference this document to manually inactivate the reference codes in your Network instance.
Stewarding considerations
When a data steward is working on a record that has an inactive reference code, an error about the code is displays only if the steward uses that field. Otherwise, the inactive code can remain in use by that record. This ensures that no processes fail when stewards are working with records that have inactive codes.