Skip to main content

MGCLatticeCrossReference

The MGCLatticeCrossReference table stores external systems' keys for D365 records, at most one key per record and external system, per legal entity.

Fields​

NameTypeMandatoryDescription
TargetMGCLatticeCrossReferenceTargetYes
RefTableIdRefTableIdYes
RefRecIdRefRecIdYes
ExternalSystemIdMGCLatticeExternalSystemIdYesThe external system, such as a CRM, a marketplace or a legacy ERP, whose key this is.
ExternalKeyMGCLatticeExternalKeyYesThe external system's own key for this record, such as its customer or order number.
UniquenessDiscriminatorRefRecIdNo0 when the settings of the target and external system require unique keys, so the database rejects a duplicated key; otherwise the record ID, so different records can share a key.