Skip to main content

MGCLatticeVendorDocumentAttachmentEntity

The MGCLatticeVendorDocumentAttachmentEntity exposes document attachments linked to vendor master records (VendTable), including file metadata and content. Uses DocuRefEntity as root data source for consistent attachment handling. Complements MGCLatticeCustomerDocumentAttachmentEntity for the vendor master.

  • Public collection name: LatticeVendorDocumentAttachments
  • Primary key: DocumentId

Fields​

NameTypeMandatoryDescription
DocumentIdDocuDocumentIdNo
ActualCompanyId``No
DocumentAttachmentTypeCodeDocuTypeIdNo
AttachmentDescriptionDescriptionNo
NotesNotesNo
AccessRestrictionDocuRestrictionNo
AttachmentBitMapNo
FileNameFilenameNo
FileTypeFilenameTypeNo
IsDefaultAttachmentDocuDefaultAttachmentNo
VendorAccountNumberVendAccountNo
ExternalSystemMGCLatticeExternalSystemIdNoThe external system, such as a CRM, a marketplace or a legacy ERP, whose key this is.
VendorAccountNumberExternalKeyMGCLatticeExternalKeyNoThe external system's key for the vendor. Send it instead of the vendor account.

Mappings​

Entity fieldData sourceField
DocumentIdDocuRefEntityDocumentId
ActualCompanyIdDocuRefEntityActualCompanyId
DocumentAttachmentTypeCodeDocuRefEntityTypeId
AttachmentDescriptionDocuRefEntityName
NotesDocuRefEntityNotes
AccessRestrictionDocuRefEntityRestriction
AttachmentDocuRefEntityFileContents
FileNameDocuRefEntityFileName
FileTypeDocuRefEntityFileType
IsDefaultAttachmentDocuRefEntityDefaultAttachment
VendorAccountNumberVendTableAccountNum