Skip to main content

MGCLatticeSalesPackingSlipDocumentAttachmentEntity

The MGCLatticeSalesPackingSlipDocumentAttachmentEntity exposes document attachments linked to sales packing slip journal records (CustPackingSlipJour), including file metadata and content. Uses DocuRefEntity as the root data source.

  • Public collection name: LatticeSalesPackingSlipDocumentAttachments
  • Primary key: DocumentId

Fields​

NameTypeMandatoryDescription
DocumentIdDocuDocumentIdNo
ActualCompanyId``No
DocumentAttachmentTypeCodeDocuTypeIdNo
AttachmentDescriptionDescriptionNo
NotesNotesNo
AccessRestrictionDocuRestrictionNo
AttachmentBitMapNo
FileNameFilenameNo
FileTypeFilenameTypeNo
IsDefaultAttachmentDocuDefaultAttachmentNo
SalesOrderNumberSalesIdBaseNo
PackingSlipIdPackingSlipIdNo
DeliveryDateSalesShippingDateNo
CustomerAccountCustAccountNo
InvoiceAccountCustInvoiceAccountNo
ExternalSystemMGCLatticeExternalSystemIdNoThe external system, such as a CRM, a marketplace or a legacy ERP, whose key this is.
SalesOrderNumberExternalKeyMGCLatticeExternalKeyNoThe external system's key for the sales order. Send it instead of the sales order number.

Mappings​

Entity fieldData sourceField
DocumentIdDocuRefEntityDocumentId
ActualCompanyIdDocuRefEntityActualCompanyId
DocumentAttachmentTypeCodeDocuRefEntityTypeId
AttachmentDescriptionDocuRefEntityName
NotesDocuRefEntityNotes
AccessRestrictionDocuRefEntityRestriction
AttachmentDocuRefEntityFileContents
FileNameDocuRefEntityFileName
FileTypeDocuRefEntityFileType
IsDefaultAttachmentDocuRefEntityDefaultAttachment
SalesOrderNumberCustPackingSlipJourSalesId
PackingSlipIdCustPackingSlipJourPackingSlipId
DeliveryDateCustPackingSlipJourDeliveryDate
CustomerAccountCustPackingSlipJourOrderAccount
InvoiceAccountCustPackingSlipJourInvoiceAccount