MGCLatticeQualityOrderDocumentAttachmentEntity
The MGCLatticeQualityOrderDocumentAttachmentEntity exposes document attachments linked to quality order records (InventQualityOrderTable), including file metadata and content. Uses DocuRefEntity as root data source for consistent attachment handling.
- Public collection name:
LatticeQualityOrderDocumentAttachments
- Primary key:
DocumentId
Fields
| Name | Type | Mandatory | Description |
|---|
DocumentId | DocuDocumentId | No | |
ActualCompanyId | `` | No | |
DocumentAttachmentTypeCode | DocuTypeId | No | |
AttachmentDescription | Description | No | |
Notes | Notes | No | |
AccessRestriction | DocuRestriction | No | |
Attachment | BitMap | No | |
FileName | Filename | No | |
FileType | FilenameType | No | |
IsDefaultAttachment | DocuDefaultAttachment | No | |
QualityOrderId | InventQualityOrderId | No | |
ItemNumber | ItemIdInventoried | No | |
InventoryLotId | InventTransId | No | |
Mappings
| Entity field | Data source | Field |
|---|
DocumentId | DocuRefEntity | DocumentId |
ActualCompanyId | DocuRefEntity | ActualCompanyId |
DocumentAttachmentTypeCode | DocuRefEntity | TypeId |
AttachmentDescription | DocuRefEntity | Name |
Notes | DocuRefEntity | Notes |
AccessRestriction | DocuRefEntity | Restriction |
Attachment | DocuRefEntity | FileContents |
FileName | DocuRefEntity | FileName |
FileType | DocuRefEntity | FileType |
IsDefaultAttachment | DocuRefEntity | DefaultAttachment |
QualityOrderId | InventQualityOrderTable | QualityOrderId |
ItemNumber | InventQualityOrderTable | ItemId |
InventoryLotId | InventQualityOrderTable | InventTransId |