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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
Balance01Amount settled, in the transaction currency. | RealAmountCur | No | CustomerPaymentJournalLineSettledInvoiceEntityVendorPaymentJournalLineSettledInvoiceEntity | |
CashDiscToTakeCash discount amount that can be taken. | RealCashDiscAmount | No | CustomerPaymentJournalLineSettledInvoiceEntityVendorPaymentJournalLineSettledInvoiceEntity | |
CodeCode of the current specification, used for references. | String (20)KeyValue | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CrossRateCross exchange rate used for the line. | RealCrossExchRate | No | CustomerPaymentJournalLineSettledInvoiceEntityVendorPaymentJournalLineSettledInvoiceEntity | |
ErrorCodePaymentError code recorded for the payment. | String (30)ErrorCodePayment | No | None | |
FullSettlementYes/No flag showing whether the line is a full settlement. | EnumNoYesIdNoYes (enum) | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentYes/No flag for payment. Purpose not clear from the metadata.low confidence | EnumNoYes (enum) | No | None | |
PaymentStatusStatus of the payment, such as sent, received, approved or rejected. | EnumCustVendPaymStatus (enum) | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RefCompanyCompany of the referenced record, such as a customer settlement. | StringCompanyId | Yes | CustomerBOEProtestSetttleEntity | |
RefRecIdSystem record ID of the referenced record, such as a customer settlement. | Int64RefRecId | Yes | CustomerBOEProtestSetttleEntity | |
RefTableIdID of the table of the referenced record. | IntegerRefTableId | Yes | CustomerBOEProtestSetttleEntity | |
SelectedDateUsedToCalcCashDiscDate selected for working out the cash discount. | DateTransDate | No | None | |
SpecCompanyCompany of the specification record, such as a bank statement line. | StringCompanyId | Yes | CustomerBOEProtestSetttleEntity | |
SpecRecIdSystem record ID of the specification record, such as a bank statement line. | Int64RefRecId | Yes | CustomerBOEProtestSetttleEntity | |
SpecTableIdID of the table of the specification record. | IntegerRefTableId | Yes | CustomerBOEProtestSetttleEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
SpecIdxSpecRecId,SpecTableId,SpecCompany,RefTableId,RefCompanyNot unique.
RefIdxRefCompany,RefTableId,RefRecIdNot unique.
Relations (16)
Each relation joins SpecTrans to another table on the fields shown.
BankCodaAccountStatementLines→BankCodaAccountStatementLinesJoin on
SpecTableId = BankCodaAccountStatementLines.TableId,SpecRecId = BankCodaAccountStatementLines.RecId,SpecCompany = BankCodaAccountStatementLines.dataAreaIdMany SpecTrans records → zero or one BankCodaAccountStatementLines record
CustInvoiceTable→CustInvoiceTableJoin on
SpecCompany = CustInvoiceTable.dataAreaId,SpecRecId = CustInvoiceTable.RecId,SpecTableId = CustInvoiceTable.TableIdMany SpecTrans records → zero or one CustInvoiceTable record
CustSettlement→CustSettlementJoin on
RefCompany = CustSettlement.dataAreaId,RefTableId = CustSettlement.TableId,RefRecId = CustSettlement.RecIdMany SpecTrans records → zero or one CustSettlement record
CustTable→CustTableJoin on
SpecCompany = CustTable.dataAreaId,SpecRecId = CustTable.RecId,SpecTableId = CustTable.TableIdMany SpecTrans records → zero or one CustTable record
CustTransOpen→CustTransOpenJoin on
RefCompany = CustTransOpen.dataAreaId,RefTableId = CustTransOpen.TableId,RefRecId = CustTransOpen.RecIdMany SpecTrans records → zero or one CustTransOpen record
CustVendPaymProposalLine→CustVendPaymProposalLineJoin on
SpecCompany = CustVendPaymProposalLine.dataAreaId,SpecRecId = CustVendPaymProposalLine.RecId,SpecTableId = CustVendPaymProposalLine.TableIdMany SpecTrans records → zero or one CustVendPaymProposalLine record
LedgerJournaltrans→LedgerJournalTransJoin on
SpecCompany = LedgerJournalTrans.dataAreaId,SpecRecId = LedgerJournalTrans.RecId,SpecTableId = LedgerJournalTrans.TableIdMany SpecTrans records → zero or one LedgerJournalTrans record
ProjTable→ProjTableJoin on
SpecCompany = ProjTable.dataAreaId,SpecTableId = ProjTable.TableId,SpecRecId = ProjTable.RecIdMany SpecTrans records → zero or one ProjTable record
PurchTable→PurchTableJoin on
SpecCompany = PurchTable.dataAreaId,SpecRecId = PurchTable.RecId,SpecTableId = PurchTable.TableIdMany SpecTrans records → zero or one PurchTable record
SalesTable→SalesTableJoin on
SpecCompany = SalesTable.dataAreaId,SpecRecId = SalesTable.RecId,SpecTableId = SalesTable.TableIdMany SpecTrans records → zero or one SalesTable record
VendSettlement→VendSettlementJoin on
RefCompany = VendSettlement.dataAreaId,RefTableId = VendSettlement.TableId,RefRecId = VendSettlement.RecIdMany SpecTrans records → zero or one VendSettlement record
VendTable→VendTableJoin on
SpecCompany = VendTable.dataAreaId,SpecRecId = VendTable.RecId,SpecTableId = VendTable.TableIdMany SpecTrans records → zero or one VendTable record
VendTransOpen→VendTransOpenJoin on
RefCompany = VendTransOpen.dataAreaId,RefTableId = VendTransOpen.TableId,RefRecId = VendTransOpen.RecIdMany SpecTrans records → zero or one VendTransOpen record
SpecContext→SpecContextJoin on
SpecCompany = SpecContext.dataAreaId,SpecRecId = SpecContext.RecId,SpecTableId = SpecContext.TableIdMany SpecTrans records → zero or one SpecContext record
SpecTransCustomerOpen→SpecTransCustomerOpenJoin on
RecId = SpecTransCustomerOpen.SpecTransRecIdCardinality not set in the metadata.
SpecTransVendorOpen→SpecTransVendorOpenJoin on
RecId = SpecTransVendorOpen.SpecTransRecIdCardinality 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.
CustomerBOEProtestSetttleEntity· 6 fields from this tableCustomerPaymentJournalLineSettledInvoiceEntity· 3 fields from this tableVendorPaymentJournalLineSettledInvoiceEntity· 3 fields from this table
Need help with SpecTrans in a report, an integration or a migration? Talk to Dr Dynamics.