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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ChequeRediscountTableRecIdSystem record ID of the rediscount header this line belongs to.Int64
CPRediscountTableRecIdTR
YesCPRediscountTableTR.RecIdCPRediscountLineEntity
SystemChequeNumSystem-generated number that identifies the check or note.String (20)
CPSystemNumTR
YesCPTableTR.SystemChequeNumCPRediscountLineEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ChequeAmountCurAmount of the check or note in transaction currency.Real
AmountCur
NoCPRediscountLineEntity
ChequeCurrencyCodeCurrency of the check or note.String (3)
CurrencyCode
NoCPRediscountLineEntity
ChequeDueDateDate when the check or note falls due.Date
CPDueDateTR
NoCPRediscountLineEntity
ChequeOwnChequeYes/No flag showing whether it is the company's own check.Enum
NoYes (enum)
NoCPRediscountLineEntity
ChequePortfolioCodePortfolio code of the check or note.String (20)
CPPortfolioCodeTR
NoCPPortfolioTR.PortfolioCodeCPRediscountLineEntity
ChequePortfolioTypePortfolio type: check received, check given, promissory note received or promissory note given.Enum
CPPortfolioTypeTR (enum)
NoCPRediscountLineEntity
ChequePrintedNumNumber printed on the check document.String (20)
CPPrintedNumTR
NoCPRediscountLineEntity
ChequeTransCodeTransaction code of the check or note.String
CPTransCodeTR
NoCPTransCodeTableTR.TransCodeCPRediscountLineEntity
ChequeTransferCustAccountCustomer account that transferred the check or note.String (20)
CustAccount
NoCustTable.AccountNumCPRediscountLineEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DueDayByReferanceDateNumber of days to the due date, counted from the reference date.Integer
Days
NoCPRediscountLineEntity
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
RediscountAmountCurRediscount amount on the line.Real
AmountCur
NoCPRediscountLineEntity
RediscountExchRateExchange rate used for the rediscount.Real
ExchRate
NoCPRediscountLineEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (5)

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

  • CPRediscountTable → CPRediscountTableTR

    Join on ChequeRediscountTableRecId = CPRediscountTableTR.RecId

    Many CPRediscountLineTR records → exactly one CPRediscountTableTR record

  • CPTable → CPTableTR

    Join on SystemChequeNum = CPTableTR.SystemChequeNum

    One or more CPRediscountLineTR records → exactly one CPTableTR record

  • CPPortfolio → CPPortfolioTR

    Join on ChequePortfolioCode = CPPortfolioTR.PortfolioCode

    Many CPRediscountLineTR records → zero or one CPPortfolioTR record

  • CPTransCodeTableTR → CPTransCodeTableTR

    Join on ChequeTransCode = CPTransCodeTableTR.TransCode

    Many CPRediscountLineTR records → zero or one CPTransCodeTableTR record

  • ChequeTransferCustTable → CustTable

    Join on ChequeTransferCustAccount = CustTable.AccountNum

    Many 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.

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

Email sales@drdynamics.co.uk