Table

EInvoiceCFDIReferenceParm_MX

CFDI reference

Holds CFDI references entered for a transaction before the invoice is created, used for Mexico. Each record holds a CFDI UUID and relation type. It points to the source record by table ID and record ID.

Table name
EInvoiceCFDIReferenceParm_MX
Module
Electronic invoicing
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CFDIUUIDUUID of the referenced CFDI.String (36)
EInvoiceCFDIUUID_MX
YesNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReferenceTypeType of relation to the referenced CFDI, such as credit note, debit note, substitution or prepayment.Enum
EInvoiceCFDIReferenceType_MX (enum)
NoNone
RefRecIdRecord ID of the transaction that carries the reference. Used together with the table ID.Int64
RefRecId
YesNone
RefTableIdID of the table that holds the transaction that carries the reference.Integer
RefTableId
YesNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (4)

Each relation joins EInvoiceCFDIReferenceParm_MX to another table on the fields shown.

  • CustInvoiceTable → CustInvoiceTable

    Join on RefTableId = CustInvoiceTable.TableId, RefRecId = CustInvoiceTable.RecId

    Many EInvoiceCFDIReferenceParm_MX records → exactly one CustInvoiceTable record

  • LedgerJournalTrans → LedgerJournalTrans

    Join on RefTableId = LedgerJournalTrans.TableId, RefRecId = LedgerJournalTrans.RecId

    Many EInvoiceCFDIReferenceParm_MX records → exactly one LedgerJournalTrans record

  • ProjInvoiceParmTable → ProjInvoiceParmTable

    Join on RefTableId = ProjInvoiceParmTable.TableId, RefRecId = ProjInvoiceParmTable.RecId

    Many EInvoiceCFDIReferenceParm_MX records → exactly one ProjInvoiceParmTable record

  • SalesParmTable → SalesParmTable

    Join on RefTableId = SalesParmTable.TableId, RefRecId = SalesParmTable.RecId

    Many EInvoiceCFDIReferenceParm_MX records → exactly one SalesParmTable record

Get this data out

No public entity reads from EInvoiceCFDIReferenceParm_MX. Its data is only reachable through the application, a custom entity or a database export.

Need help with EInvoiceCFDIReferenceParm_MX in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk