Table
CustInterestVersion
Customer interest code versions
Versions of a customer interest code, each valid for a date range. It stores the grace period and, for Poland, the tax-free period. It is keyed by interest code and valid-from and valid-to dates.
- Table name
CustInterestVersion- Module
Accounts receivable- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
CustInterest- Primary index
None- Replacement key
InterestCodeVersion- Key fields
CustInterest, ValidFrom, ValidTo- Model
Foundation
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CustInterestLink to the customer interest code. | Int64CustInterestRecId | No | CustInterest.RecId | None |
ValidFromFirst date the version is valid. | DateValidFromDate | No | None | |
ValidToLast date the version is valid. | DateValidToDate | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
GraceDaysNumber of grace days. | IntegerPositiveDays | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
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 | |
TaxInterestDays_PLTax-free period in days, used for Poland. | IntegerCustTaxInterestDays_PL | No | None |
Indexes (1)
InterestCodeVersionReplacement keyCustInterest,ValidFrom,ValidToUnique, alternate key.
Relations (1)
Each relation joins CustInterestVersion to another table on the fields shown.
CustInterest→CustInterestJoin on
CustInterest = CustInterest.RecIdMany CustInterestVersion records → zero or one CustInterest record
Get this data out
No public entity reads from CustInterestVersion. Its data is only reachable through the application, a custom entity or a database export.
Need help with CustInterestVersion in a report, an integration or a migration? Talk to Dr Dynamics.