Table

EMItemSettlementRef

References to the customer and vendor settlements

Links electronic message items to customer or vendor settlements. Each record holds the item, the settlement record and its table, a registered flag and a payment type description.

Table name
EMItemSettlementRef
Module
Electronic messages
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
RegulatoryServices

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
IsRegisteredTrue/false flag showing whether the settlement is registered.Enum
boolean (enum)
NoEMItemSettlementRefEntity
ItemRefRecIdPoints to the electronic message item.Int64
RefRecId
YesElectronicMessageItems.RecIdNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentTypeShort text describing the type of payment.String (60)
Description
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
SettlementRecIdSystem record ID of the linked settlement.Int64
RefRecId
YesNone
SettlementTableIdSystem ID of the table that holds the settlement, customer or vendor.Integer
RefTableId
YesNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • ElectronicMessageItems → ElectronicMessageItems

    Join on ItemRefRecId = ElectronicMessageItems.RecId

    Many EMItemSettlementRef records → zero or one ElectronicMessageItems record

  • CustSettlement → CustSettlement

    Join on SettlementTableId = CustSettlement.TableId, SettlementRecId = CustSettlement.RecId

    Many EMItemSettlementRef records → zero or one CustSettlement record

  • VendSettlement → VendSettlement

    Join on SettlementTableId = VendSettlement.TableId, SettlementRecId = VendSettlement.RecId

    Many EMItemSettlementRef records → zero or one VendSettlement record

Get this data out

Tables are not exposed directly. These public entities read from EMItemSettlementRef; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk