Table

SpecTrans

Specification

Specification lines that link a settlement or payment line to the transactions it settles. Each line refers to a source record by company, table ID and record ID, and to a specification context in the same way. It holds the settled amount, cash discount to take and payment status. Several entities for settled invoices on payment journal lines use it.

Table name
SpecTrans
Module
Bank
Table group
WorksheetLine
Table type
Regular
Data per company
No
Configuration key
LedgerBasic
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (23)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
Balance01Amount settled, in the transaction currency.Real
AmountCur
NoCustomerPaymentJournalLineSettledInvoiceEntityVendorPaymentJournalLineSettledInvoiceEntity
CashDiscToTakeCash discount amount that can be taken.Real
CashDiscAmount
NoCustomerPaymentJournalLineSettledInvoiceEntityVendorPaymentJournalLineSettledInvoiceEntity
CodeCode of the current specification, used for references.String (20)
KeyValue
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CrossRateCross exchange rate used for the line.Real
CrossExchRate
NoCustomerPaymentJournalLineSettledInvoiceEntityVendorPaymentJournalLineSettledInvoiceEntity
ErrorCodePaymentError code recorded for the payment.String (30)
ErrorCodePayment
NoNone
FullSettlementYes/No flag showing whether the line is a full settlement.Enum
NoYesId
NoYes (enum)
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
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
PaymentYes/No flag for payment. Purpose not clear from the metadata.low confidenceEnum
NoYes (enum)
NoNone
PaymentStatusStatus of the payment, such as sent, received, approved or rejected.Enum
CustVendPaymStatus (enum)
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
RefCompanyCompany of the referenced record, such as a customer settlement.String
CompanyId
YesCustomerBOEProtestSetttleEntity
RefRecIdSystem record ID of the referenced record, such as a customer settlement.Int64
RefRecId
YesCustomerBOEProtestSetttleEntity
RefTableIdID of the table of the referenced record.Integer
RefTableId
YesCustomerBOEProtestSetttleEntity
SelectedDateUsedToCalcCashDiscDate selected for working out the cash discount.Date
TransDate
NoNone
SpecCompanyCompany of the specification record, such as a bank statement line.String
CompanyId
YesCustomerBOEProtestSetttleEntity
SpecRecIdSystem record ID of the specification record, such as a bank statement line.Int64
RefRecId
YesCustomerBOEProtestSetttleEntity
SpecTableIdID of the table of the specification record.Integer
RefTableId
YesCustomerBOEProtestSetttleEntity
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 (2)

Relations (16)

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

  • BankCodaAccountStatementLines → BankCodaAccountStatementLines

    Join on SpecTableId = BankCodaAccountStatementLines.TableId, SpecRecId = BankCodaAccountStatementLines.RecId, SpecCompany = BankCodaAccountStatementLines.dataAreaId

    Many SpecTrans records → zero or one BankCodaAccountStatementLines record

  • CustInvoiceTable → CustInvoiceTable

    Join on SpecCompany = CustInvoiceTable.dataAreaId, SpecRecId = CustInvoiceTable.RecId, SpecTableId = CustInvoiceTable.TableId

    Many SpecTrans records → zero or one CustInvoiceTable record

  • CustSettlement → CustSettlement

    Join on RefCompany = CustSettlement.dataAreaId, RefTableId = CustSettlement.TableId, RefRecId = CustSettlement.RecId

    Many SpecTrans records → zero or one CustSettlement record

  • CustTable → CustTable

    Join on SpecCompany = CustTable.dataAreaId, SpecRecId = CustTable.RecId, SpecTableId = CustTable.TableId

    Many SpecTrans records → zero or one CustTable record

  • CustTransOpen → CustTransOpen

    Join on RefCompany = CustTransOpen.dataAreaId, RefTableId = CustTransOpen.TableId, RefRecId = CustTransOpen.RecId

    Many SpecTrans records → zero or one CustTransOpen record

  • CustVendPaymProposalLine → CustVendPaymProposalLine

    Join on SpecCompany = CustVendPaymProposalLine.dataAreaId, SpecRecId = CustVendPaymProposalLine.RecId, SpecTableId = CustVendPaymProposalLine.TableId

    Many SpecTrans records → zero or one CustVendPaymProposalLine record

  • LedgerJournaltrans → LedgerJournalTrans

    Join on SpecCompany = LedgerJournalTrans.dataAreaId, SpecRecId = LedgerJournalTrans.RecId, SpecTableId = LedgerJournalTrans.TableId

    Many SpecTrans records → zero or one LedgerJournalTrans record

  • ProjTable → ProjTable

    Join on SpecCompany = ProjTable.dataAreaId, SpecTableId = ProjTable.TableId, SpecRecId = ProjTable.RecId

    Many SpecTrans records → zero or one ProjTable record

  • PurchTable → PurchTable

    Join on SpecCompany = PurchTable.dataAreaId, SpecRecId = PurchTable.RecId, SpecTableId = PurchTable.TableId

    Many SpecTrans records → zero or one PurchTable record

  • SalesTable → SalesTable

    Join on SpecCompany = SalesTable.dataAreaId, SpecRecId = SalesTable.RecId, SpecTableId = SalesTable.TableId

    Many SpecTrans records → zero or one SalesTable record

  • VendSettlement → VendSettlement

    Join on RefCompany = VendSettlement.dataAreaId, RefTableId = VendSettlement.TableId, RefRecId = VendSettlement.RecId

    Many SpecTrans records → zero or one VendSettlement record

  • VendTable → VendTable

    Join on SpecCompany = VendTable.dataAreaId, SpecRecId = VendTable.RecId, SpecTableId = VendTable.TableId

    Many SpecTrans records → zero or one VendTable record

  • VendTransOpen → VendTransOpen

    Join on RefCompany = VendTransOpen.dataAreaId, RefTableId = VendTransOpen.TableId, RefRecId = VendTransOpen.RecId

    Many SpecTrans records → zero or one VendTransOpen record

  • SpecContext → SpecContext

    Join on SpecCompany = SpecContext.dataAreaId, SpecRecId = SpecContext.RecId, SpecTableId = SpecContext.TableId

    Many SpecTrans records → zero or one SpecContext record

  • SpecTransCustomerOpen → SpecTransCustomerOpen

    Join on RecId = SpecTransCustomerOpen.SpecTransRecId

    Cardinality not set in the metadata.

  • SpecTransVendorOpen → SpecTransVendorOpen

    Join on RecId = SpecTransVendorOpen.SpecTransRecId

    Cardinality not set in the metadata.

Get this data out

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

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

Email sales@drdynamics.co.uk