Table
CPRediscountLineTR
Rediscount lines
Holds the lines of a rediscount worksheet. Each line is one check or promissory note, identified by the rediscount header and the system check number. It links to the portfolio, transaction code and transferring customer.
- Table name
CPRediscountLineTR- Module
Cross-module and platform- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
SystemChequeRediscountRecIdx- Key fields
ChequeRediscountTableRecId, SystemChequeNum, Partition- Model
Foundation
Fields (19)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChequeRediscountTableRecIdSystem record ID of the rediscount header this line belongs to. | Int64CPRediscountTableRecIdTR | Yes | CPRediscountTableTR.RecId | CPRediscountLineEntity |
SystemChequeNumSystem-generated number that identifies the check or note. | String (20)CPSystemNumTR | Yes | CPTableTR.SystemChequeNum | CPRediscountLineEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ChequeAmountCurAmount of the check or note in transaction currency. | RealAmountCur | No | CPRediscountLineEntity | |
ChequeCurrencyCodeCurrency of the check or note. | String (3)CurrencyCode | No | CPRediscountLineEntity | |
ChequeDueDateDate when the check or note falls due. | DateCPDueDateTR | No | CPRediscountLineEntity | |
ChequeOwnChequeYes/No flag showing whether it is the company's own check. | EnumNoYes (enum) | No | CPRediscountLineEntity | |
ChequePortfolioCodePortfolio code of the check or note. | String (20)CPPortfolioCodeTR | No | CPPortfolioTR.PortfolioCode | CPRediscountLineEntity |
ChequePortfolioTypePortfolio type: check received, check given, promissory note received or promissory note given. | EnumCPPortfolioTypeTR (enum) | No | CPRediscountLineEntity | |
ChequePrintedNumNumber printed on the check document. | String (20)CPPrintedNumTR | No | CPRediscountLineEntity | |
ChequeTransCodeTransaction code of the check or note. | StringCPTransCodeTR | No | CPTransCodeTableTR.TransCode | CPRediscountLineEntity |
ChequeTransferCustAccountCustomer account that transferred the check or note. | String (20)CustAccount | No | CustTable.AccountNum | CPRediscountLineEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DueDayByReferanceDateNumber of days to the due date, counted from the reference date. | IntegerDays | No | CPRediscountLineEntity | |
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 | |
RediscountAmountCurRediscount amount on the line. | RealAmountCur | No | CPRediscountLineEntity | |
RediscountExchRateExchange rate used for the rediscount. | RealExchRate | No | CPRediscountLineEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
SystemChequeRediscountRecIdxReplacement keyChequeRediscountTableRecId,SystemChequeNum,PartitionUnique, alternate key.
Relations (5)
Each relation joins CPRediscountLineTR to another table on the fields shown.
CPRediscountTable→CPRediscountTableTRJoin on
ChequeRediscountTableRecId = CPRediscountTableTR.RecIdMany CPRediscountLineTR records → exactly one CPRediscountTableTR record
CPTable→CPTableTRJoin on
SystemChequeNum = CPTableTR.SystemChequeNumOne or more CPRediscountLineTR records → exactly one CPTableTR record
CPPortfolio→CPPortfolioTRJoin on
ChequePortfolioCode = CPPortfolioTR.PortfolioCodeMany CPRediscountLineTR records → zero or one CPPortfolioTR record
CPTransCodeTableTR→CPTransCodeTableTRJoin on
ChequeTransCode = CPTransCodeTableTR.TransCodeMany CPRediscountLineTR records → zero or one CPTransCodeTableTR record
ChequeTransferCustTable→CustTableJoin on
ChequeTransferCustAccount = CustTable.AccountNumMany CPRediscountLineTR records → zero or one CustTable record
Get this data out
Tables are not exposed directly. These public entities read from CPRediscountLineTR; use one of them in Power BI, Power Platform or a data management project.
CPRediscountLineEntity· 14 fields from this table
Need help with CPRediscountLineTR in a report, an integration or a migration? Talk to Dr Dynamics.