Table
DocuDeletedRef
Deleted document references
Holds references to document attachments that were deleted. Each row keeps the original record and table, document type, description, notes and the deletion options. It links to document types and to deleted or current document values.
- Table name
DocuDeletedRef- Module
System administration- Table group
WorksheetLine- Table type
Regular- Data per company
No- Configuration key
None- Primary index
RecIdx- Replacement key
None- Key fields
RecId- Model
ApplicationFoundation
Fields (28)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
ActualCompanyIdCompany used with the type ID to find the document type. | StringSelectableDataArea | No | DocuType.DataAreaId | None |
AuthorSystem record ID of the author.low confidence | Int64RefRecId | No | None | |
CaptionDescribes the record that the deleted attachment was first attached to, as a text of up to 60 characters. | String (60)Description | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DefaultAttachmentShows whether this was the default attachment. | EnumDocuDefaultAttachmentNoYes (enum) | No | None | |
DocumentIdUnique ID of the document. | GuidDocuDocumentId | No | None | |
DocuTypeSystem record ID of a related reference.low confidence | Int64RefRecId | No | None | |
ExtensionFieldsContainer for extra field values. Purpose not clear from the metadata.low confidence | Container | No | None | |
FileRemovalConfirmationResponseUser answer on whether the physical file may be deleted: unknown, no or yes. | EnumUnknownNoYes (enum) | No | None | |
InterCompanySkipUpdateControls whether intercompany updates are skipped: no, internal, intercompany or both. | EnumInterCompanySkipUpdate (enum) | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NameShort description of the attachment. | String (60)Description | No | None | |
NotesFree text note about the attachment. | String (-1)Notes | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PartySystem record ID of a related reference.low confidence | Int64RefRecId | No | None | |
PhysicalFileForceDeletionShows whether the physical file must be deleted with the reference. | EnumNoYes (enum) | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RefCompanyIdCompany of the record the attachment was linked to. | StringSelectableDataArea | Yes | None | |
RefRecIdSystem record ID of the record the attachment was linked to. | Int64RefRecId | Yes | None | |
RefTableIdID of the table of the record the attachment was linked to. | IntegerRefTableId | Yes | None | |
RemoveOptionWhether to remove the document only or the document and its physical file. | EnumDocuRemoveOption (enum) | No | None | |
RestrictionShows whether the document is internal or external. | EnumDocuRestriction (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TypeIdDocument type. It points to the document types table. | String (20)DocuTypeId | Yes | DocuType.TypeId | None |
ValueRecIdSystem record ID of the document value, in the deleted values or document values table. | Int64RefRecId | No | DocuDeletedValue.OriginalRecIdDocuValue.RecId | None |
Indexes (3)
ValueIdNot unique.
RecIdxPrimary indexUnique.
TypeIdNot unique.
Relations (3)
Each relation joins DocuDeletedRef to another table on the fields shown.
DocuDeletedValue→DocuDeletedValueJoin on
ValueRecId = DocuDeletedValue.OriginalRecIdMany DocuDeletedRef records → zero or one DocuDeletedValue record
DocuValue→DocuValueJoin on
ValueRecId = DocuValue.RecIdMany DocuDeletedRef records → zero or one DocuValue record
DocuType→DocuTypeJoin on
TypeId = DocuType.TypeId,ActualCompanyId = DocuType.DataAreaIdMany DocuDeletedRef records → exactly one DocuType record
Get this data out
No public entity reads from DocuDeletedRef. Its data is only reachable through the application, a custom entity or a database export.
Need help with DocuDeletedRef in a report, an integration or a migration? Talk to Dr Dynamics.