Table
WHSSourceSystemProductDocumentAttachmentMessage
Source system product document attachment messages
Holds integration messages that carry a document attachment or product image for a source system product. Each row has a message ID, the source system, a processing status and the attachment details. It has no defined key in the metadata. Messages may come from integration or be entered by hand.
- Table name
WHSSourceSystemProductDocumentAttachmentMessage- Module
Cross-module and platform- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
None- Replacement key
None- Key fields
None- Model
WarehouseOrdersIntegration
Fields (28)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccessRestrictionSays whether the document is internal or external. | EnumDocuRestriction (enum) | No | WHSSourceSystemProductDocumentAttachmentMessageEntity | |
AttachmentThe attached file content, stored as a bitmap container. | ContainerBitmap | No | WHSSourceSystemProductDocumentAttachmentMessageEntity | |
AttachmentDescriptionShort description of the attachment. | String (60)Description | Yes | WHSSourceSystemProductDocumentAttachmentMessageEntity | |
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 | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DocumentAttachmentTypeCodeDocument type of the attachment. Points to a document type record. | String (20)DocuTypeId | Yes | DocuType.TypeId | WHSSourceSystemProductDocumentAttachmentMessageEntity |
FieldsWithValueContainer with no label. Purpose not clear from the metadata.low confidence | Container | No | WHSSourceSystemProductDocumentAttachmentMessageEntity | |
FileTypeType of the attached file, such as its extension. | String (259)FilenameType | No | WHSSourceSystemProductDocumentAttachmentMessageEntity | |
IsDefaultProductImageYes/No flag. Marks the image as the default product image. | EnumNoYes (enum) | No | WHSSourceSystemProductDocumentAttachmentMessageEntity | |
IsProductImageYes/No flag. Marks the attachment as a product image. | EnumNoYes (enum) | No | None | |
MessageIdIdentifier of the integration message. | String (40)WHSIntegrationMessageId | Yes | WHSSourceSystemProductDocumentAttachmentMessageEntity | |
MessageVersionStateShows whether the message is the current one or an older version. A message becomes versioned after a manual edit. | EnumWHSSourceSystemMessageVersionState (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 | |
NotesFree-text note for the attachment. | String (-1)Notes | No | WHSSourceSystemProductDocumentAttachmentMessageEntity | |
OriginShows whether the message came from integration or was entered manually. | EnumWHSSourceSystemProductMessageOrigin (enum) | No | None | |
OriginalFileNameName of the attached file. | String (259)Filename | No | WHSSourceSystemProductDocumentAttachmentMessageEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProcessingStatusCurrent processing state of the message, such as received, accepted, failed or cancelled. | EnumWHSSourceSystemProductMessageProcessingStatus (enum) | No | WHSSourceSystemProductDocumentAttachmentMessageEntity | |
ProductImageUsageMedia usage of the product image: external or internal. | EnumEcoResProductImageUsage (enum) | No | WHSSourceSystemProductDocumentAttachmentMessageEntity | |
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 | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SourceSystemSource system that sent the message. Points to a source system record. | Int64WHSSourceSystemRecId | Yes | WHSSourceSystem.RecId | WHSSourceSystemProductDocumentAttachmentMessageEntity |
SourceSystemItemNumberItem number as it is known in the source system. | String (70)WHSSourceSystemItemNumber | Yes | WHSSourceSystemProductDocumentAttachmentMessageEntity | |
SysMessageLink to a system message record. | Int64SysMessageRecId | No | SysMessage.RecId | WHSSourceSystemProductDocumentAttachmentMessageEntity |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
MessageIdIdxMessageId,SourceSystem,MessageVersionStateUnique, alternate key.
Relations (5)
Each relation joins WHSSourceSystemProductDocumentAttachmentMessage to another table on the fields shown.
WHSSourceSystem→WHSSourceSystemJoin on
SourceSystem = WHSSourceSystem.RecIdMany WHSSourceSystemProductDocumentAttachmentMessage records → exactly one WHSSourceSystem record
SysMessage→SysMessageJoin on
SysMessage = SysMessage.RecIdExactly one WHSSourceSystemProductDocumentAttachmentMessage record → zero or one SysMessage record
DocuType→DocuTypeJoin on
DocumentAttachmentTypeCode = DocuType.TypeIdMany WHSSourceSystemProductDocumentAttachmentMessage records → exactly one DocuType record
MessageVersionStateCurrent→WHSSourceSystemProductDocumentAttachmentMessageJoin on
MessageId = WHSSourceSystemProductDocumentAttachmentMessage.MessageId,SourceSystem = WHSSourceSystemProductDocumentAttachmentMessage.SourceSystem,WHSSourceSystemProductDocumentAttachmentMessage.MessageVersionState = WHSSourceSystemMessageVersionState::Current,MessageVersionState = WHSSourceSystemMessageVersionState::VersionedExactly one WHSSourceSystemProductDocumentAttachmentMessage record → zero or one WHSSourceSystemProductDocumentAttachmentMessage record
MessageVersionStateVersioned→WHSSourceSystemProductDocumentAttachmentMessageJoin on
MessageId = WHSSourceSystemProductDocumentAttachmentMessage.MessageId,SourceSystem = WHSSourceSystemProductDocumentAttachmentMessage.SourceSystem,WHSSourceSystemProductDocumentAttachmentMessage.MessageVersionState = WHSSourceSystemMessageVersionState::Versioned,MessageVersionState = WHSSourceSystemMessageVersionState::CurrentZero or one WHSSourceSystemProductDocumentAttachmentMessage record → exactly one WHSSourceSystemProductDocumentAttachmentMessage record
Get this data out
Tables are not exposed directly. These public entities read from WHSSourceSystemProductDocumentAttachmentMessage; use one of them in Power BI, Power Platform or a data management project.
WHSSourceSystemProductDocumentAttachmentMessageEntity· 15 fields from this table
Need help with WHSSourceSystemProductDocumentAttachmentMessage in a report, an integration or a migration? Talk to Dr Dynamics.