Skip to main content

MGCLatticePurchaseOrderConfirmationDocumentAttachmentEntity

The MGCLatticePurchaseOrderConfirmationDocumentAttachmentEntity exposes document attachments linked to purchase order confirmation journal records (VendPurchOrderJour), including file metadata and content.

  • Public collection name: LatticePurchaseOrderConfirmationDocumentAttachments
  • Primary key: DocumentId

Fields​

NameTypeMandatoryDescription
DocumentIdDocuDocumentIdNo
ActualCompanyId``No
DocumentAttachmentTypeCodeDocuTypeIdNo
AttachmentDescriptionDescriptionNo
NotesNotesNo
AccessRestrictionDocuRestrictionNo
AttachmentBitMapNo
FileNameFilenameNo
FileTypeFilenameTypeNo
IsDefaultAttachmentDocuDefaultAttachmentNo
StorageProviderId``No
PurchaseOrderNumberPurchIdBaseNo
ConfirmationNumberPurchaseOrderIdNo
ConfirmationDateTransDateNo
VendorAccountNumberVendAccountNo
ExternalSystemMGCLatticeExternalSystemIdNoThe external system, such as a CRM, a marketplace or a legacy ERP, whose key this is.
PurchaseOrderNumberExternalKeyMGCLatticeExternalKeyNoThe external system's key for the purchase order. Send it instead of the purchase order number.

Mappings​

Entity fieldData sourceField
DocumentIdDocuRefEntityDocumentId
ActualCompanyIdDocuRefEntityActualCompanyId
DocumentAttachmentTypeCodeDocuRefEntityTypeId
AttachmentDescriptionDocuRefEntityName
NotesDocuRefEntityNotes
AccessRestrictionDocuRefEntityRestriction
AttachmentDocuRefEntityFileContents
FileNameDocuRefEntityFileName
FileTypeDocuRefEntityFileType
IsDefaultAttachmentDocuRefEntityDefaultAttachment
StorageProviderIdDocuRefEntityStorageProviderId
PurchaseOrderNumberVendPurchOrderJourPurchId
ConfirmationNumberVendPurchOrderJourPurchOrderDocNum
ConfirmationDateVendPurchOrderJourPurchOrderDate
VendorAccountNumberVendPurchOrderJourOrderAccount