Table

CustTransState

Customer transactions state

Holds the settlement and currency revaluation state of customer transactions. It has settled amounts, last settlement details, closing posting profile and realised and unrealised exchange rate adjustments. It links to customer transactions, customers and posting profiles.

Table name
CustTransState
Module
Accounts receivable
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (35)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountNumCustomer account number, linked to the customer record.String (20)
CustAccount
YesCustTable.AccountNumNone
ClosedDate the transaction was closed.Date
TransDate
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CustExchAdjustmentRealizedRealised exchange rate adjustment amount for the transaction.Real
CustExchAdjustmentRealized
NoNone
CustExchAdjustmentUnrealizedUnrealised exchange rate adjustment amount for the transaction.Real
CustExchAdjustmentUnrealized
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExchAdjustmentForeign currency revaluation adjustment amount, in accounting currency.Real
CustExchAdjustment
NoNone
ExchAdjustmentReportingForeign currency revaluation adjustment amount, in reporting currency.Real
CustExchAdjustment
NoNone
LastExchAdjDate of the last foreign currency revaluation adjustment.Date
TransDate
NoNone
LastExchAdjRateExchange rate used in the last revaluation adjustment.Real
ExchRate
NoNone
LastExchAdjRateReportingExchange rate used in the last revaluation adjustment, for reporting currency.Real
CurrencyExchangeRate
NoNone
LastExchAdjVoucherVoucher number of the last revaluation adjustment.String (20)
Voucher
NoNone
LastSettleAccountNumCustomer account of the last settlement voucher.String (20)
CustAccount
NoNone
LastSettleCompanyCompany of the last settlement voucher.String
CompanyId
NoNone
LastSettleDateDate of the last settlement.Date
TransDate
NoNone
LastSettleVoucherVoucher number of the last settlement.String (20)
Voucher
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
OffsetRecIdLink to the offsetting customer transaction, using its system record ID.Int64
CustTransRefRecId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymReferenceReference for a payment.String (35)
CustPaymReference
NoNone
PostingProfileClosePosting profile used when the transaction was closed.String
CustPostingProfile
NoCustLedger.PostingProfileNone
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
ReportingExchAdjustmentRealizedRealised exchange rate adjustment amount, in reporting currency.Real
CustExchAdjustmentRealized
NoNone
ReportingExchAdjustmentUnrealizedUnrealised exchange rate adjustment amount, in reporting currency.Real
CustExchAdjustmentUnrealized
NoNone
SettleAmountCurSettled amount in the transaction currency.Real
AmountCur
NoNone
SettleAmountMSTSettled amount in accounting currency.Real
AmountMST
NoNone
SettleAmountReportingSettled amount in reporting currency.Real
AmountMSTSecondary
NoNone
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
TransDateDate of the transaction.Date
TransDate
YesNone
TransRecIdLink to the customer transaction, using its system record ID.Int64
CustTransRefRecId
YesCustTrans.RecIdNone
VoucherVoucher number of the related ledger transaction.String (20)
Voucher
YesNone

Indexes (2)

Relations (3)

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

  • CustTrans → CustTrans

    Join on TransRecId = CustTrans.RecId

    Zero or one CustTransState record → exactly one CustTrans record

  • CustLedger_PostingProfileClose → CustLedger

    Join on PostingProfileClose = CustLedger.PostingProfile

    Many CustTransState records → zero or one CustLedger record

  • CustTable_AccountNum → CustTable

    Join on AccountNum = CustTable.AccountNum

    Many CustTransState records → exactly one CustTable record

Get this data out

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

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

Email sales@drdynamics.co.uk