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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AccessRestrictionSays whether the document is internal or external.Enum
DocuRestriction (enum)
NoWHSSourceSystemProductDocumentAttachmentMessageEntity
AttachmentThe attached file content, stored as a bitmap container.Container
Bitmap
NoWHSSourceSystemProductDocumentAttachmentMessageEntity
AttachmentDescriptionShort description of the attachment.String (60)
Description
YesWHSSourceSystemProductDocumentAttachmentMessageEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DocumentAttachmentTypeCodeDocument type of the attachment. Points to a document type record.String (20)
DocuTypeId
YesDocuType.TypeIdWHSSourceSystemProductDocumentAttachmentMessageEntity
FieldsWithValueContainer with no label. Purpose not clear from the metadata.low confidenceContainerNoWHSSourceSystemProductDocumentAttachmentMessageEntity
FileTypeType of the attached file, such as its extension.String (259)
FilenameType
NoWHSSourceSystemProductDocumentAttachmentMessageEntity
IsDefaultProductImageYes/No flag. Marks the image as the default product image.Enum
NoYes (enum)
NoWHSSourceSystemProductDocumentAttachmentMessageEntity
IsProductImageYes/No flag. Marks the attachment as a product image.Enum
NoYes (enum)
NoNone
MessageIdIdentifier of the integration message.String (40)
WHSIntegrationMessageId
YesWHSSourceSystemProductDocumentAttachmentMessageEntity
MessageVersionStateShows whether the message is the current one or an older version. A message becomes versioned after a manual edit.Enum
WHSSourceSystemMessageVersionState (enum)
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
NotesFree-text note for the attachment.String (-1)
Notes
NoWHSSourceSystemProductDocumentAttachmentMessageEntity
OriginShows whether the message came from integration or was entered manually.Enum
WHSSourceSystemProductMessageOrigin (enum)
NoNone
OriginalFileNameName of the attached file.String (259)
Filename
NoWHSSourceSystemProductDocumentAttachmentMessageEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProcessingStatusCurrent processing state of the message, such as received, accepted, failed or cancelled.Enum
WHSSourceSystemProductMessageProcessingStatus (enum)
NoWHSSourceSystemProductDocumentAttachmentMessageEntity
ProductImageUsageMedia usage of the product image: external or internal.Enum
EcoResProductImageUsage (enum)
NoWHSSourceSystemProductDocumentAttachmentMessageEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SourceSystemSource system that sent the message. Points to a source system record.Int64
WHSSourceSystemRecId
YesWHSSourceSystem.RecIdWHSSourceSystemProductDocumentAttachmentMessageEntity
SourceSystemItemNumberItem number as it is known in the source system.String (70)
WHSSourceSystemItemNumber
YesWHSSourceSystemProductDocumentAttachmentMessageEntity
SysMessageLink to a system message record.Int64
SysMessageRecId
NoSysMessage.RecIdWHSSourceSystemProductDocumentAttachmentMessageEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (5)

Each relation joins WHSSourceSystemProductDocumentAttachmentMessage to another table on the fields shown.

  • WHSSourceSystem → WHSSourceSystem

    Join on SourceSystem = WHSSourceSystem.RecId

    Many WHSSourceSystemProductDocumentAttachmentMessage records → exactly one WHSSourceSystem record

  • SysMessage → SysMessage

    Join on SysMessage = SysMessage.RecId

    Exactly one WHSSourceSystemProductDocumentAttachmentMessage record → zero or one SysMessage record

  • DocuType → DocuType

    Join on DocumentAttachmentTypeCode = DocuType.TypeId

    Many WHSSourceSystemProductDocumentAttachmentMessage records → exactly one DocuType record

  • MessageVersionStateCurrent → WHSSourceSystemProductDocumentAttachmentMessage

    Join on MessageId = WHSSourceSystemProductDocumentAttachmentMessage.MessageId, SourceSystem = WHSSourceSystemProductDocumentAttachmentMessage.SourceSystem, WHSSourceSystemProductDocumentAttachmentMessage.MessageVersionState = WHSSourceSystemMessageVersionState::Current, MessageVersionState = WHSSourceSystemMessageVersionState::Versioned

    Exactly one WHSSourceSystemProductDocumentAttachmentMessage record → zero or one WHSSourceSystemProductDocumentAttachmentMessage record

  • MessageVersionStateVersioned → WHSSourceSystemProductDocumentAttachmentMessage

    Join on MessageId = WHSSourceSystemProductDocumentAttachmentMessage.MessageId, SourceSystem = WHSSourceSystemProductDocumentAttachmentMessage.SourceSystem, WHSSourceSystemProductDocumentAttachmentMessage.MessageVersionState = WHSSourceSystemMessageVersionState::Versioned, MessageVersionState = WHSSourceSystemMessageVersionState::Current

    Zero 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.

Need help with WHSSourceSystemProductDocumentAttachmentMessage in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk