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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountNumCustomer account number, linked to the customer record. | String (20)CustAccount | Yes | CustTable.AccountNum | None |
ClosedDate the transaction was closed. | DateTransDate | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CustExchAdjustmentRealizedRealised exchange rate adjustment amount for the transaction. | RealCustExchAdjustmentRealized | No | None | |
CustExchAdjustmentUnrealizedUnrealised exchange rate adjustment amount for the transaction. | RealCustExchAdjustmentUnrealized | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExchAdjustmentForeign currency revaluation adjustment amount, in accounting currency. | RealCustExchAdjustment | No | None | |
ExchAdjustmentReportingForeign currency revaluation adjustment amount, in reporting currency. | RealCustExchAdjustment | No | None | |
LastExchAdjDate of the last foreign currency revaluation adjustment. | DateTransDate | No | None | |
LastExchAdjRateExchange rate used in the last revaluation adjustment. | RealExchRate | No | None | |
LastExchAdjRateReportingExchange rate used in the last revaluation adjustment, for reporting currency. | RealCurrencyExchangeRate | No | None | |
LastExchAdjVoucherVoucher number of the last revaluation adjustment. | String (20)Voucher | No | None | |
LastSettleAccountNumCustomer account of the last settlement voucher. | String (20)CustAccount | No | None | |
LastSettleCompanyCompany of the last settlement voucher. | StringCompanyId | No | None | |
LastSettleDateDate of the last settlement. | DateTransDate | No | None | |
LastSettleVoucherVoucher number of the last settlement. | String (20)Voucher | 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 | |
OffsetRecIdLink to the offsetting customer transaction, using its system record ID. | Int64CustTransRefRecId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymReferenceReference for a payment. | String (35)CustPaymReference | No | None | |
PostingProfileClosePosting profile used when the transaction was closed. | StringCustPostingProfile | No | CustLedger.PostingProfile | 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 | |
ReportingExchAdjustmentRealizedRealised exchange rate adjustment amount, in reporting currency. | RealCustExchAdjustmentRealized | No | None | |
ReportingExchAdjustmentUnrealizedUnrealised exchange rate adjustment amount, in reporting currency. | RealCustExchAdjustmentUnrealized | No | None | |
SettleAmountCurSettled amount in the transaction currency. | RealAmountCur | No | None | |
SettleAmountMSTSettled amount in accounting currency. | RealAmountMST | No | None | |
SettleAmountReportingSettled amount in reporting currency. | RealAmountMSTSecondary | No | None | |
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 | |
TransDateDate of the transaction. | DateTransDate | Yes | None | |
TransRecIdLink to the customer transaction, using its system record ID. | Int64CustTransRefRecId | Yes | CustTrans.RecId | None |
VoucherVoucher number of the related ledger transaction. | String (20)Voucher | Yes | None |
Indexes (2)
TransRecIdIdxUnique, alternate key.
AccountVoucherDateIdxAccountNum,TransDate,VoucherNot unique.
Relations (3)
Each relation joins CustTransState to another table on the fields shown.
CustTrans→CustTransJoin on
TransRecId = CustTrans.RecIdZero or one CustTransState record → exactly one CustTrans record
CustLedger_PostingProfileClose→CustLedgerJoin on
PostingProfileClose = CustLedger.PostingProfileMany CustTransState records → zero or one CustLedger record
CustTable_AccountNum→CustTableJoin on
AccountNum = CustTable.AccountNumMany 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.