Table

TrvPBSCatCodes

Credit card category codes

Lists credit card category codes and maps each to an expense category. The key is the category code with the card type. It links to the expense category table.

Table name
TrvPBSCatCodes
Module
Expense
Table group
Reference
Table type
Regular
Data per company
Yes
Configuration key
TrvElectronicPayment
Primary index
TrvCatCodeIdx
Replacement key
None
Key fields
CatCode, CardType
Model
Foundation

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CatCodeCategory code used on credit card transactions.String
TrvCatCodeNoEDT
YesTrvCreditCardCodeEntity
CardTypeType of credit card the category code belongs to.String (32)
TrvCreditCardType
YesTrvCreditCardCodeEntity
CatCodeDescShort description of the category code.String (25)
TrvCatCodeDescriptionEDT
NoTrvCreditCardCodeEntity
CostTypeExpense category matched to the code. It points to an expense category.String (30)
TrvCostTypeEDT
NoTrvCostType.CostTypeTrvCreditCardCodeEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
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

Indexes (2)

Relations (1)

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

  • TrvCostType → TrvCostType

    Join on CostType = TrvCostType.CostType

    Many TrvPBSCatCodes records → zero or one TrvCostType record

Get this data out

Tables are not exposed directly. These public entities read from TrvPBSCatCodes; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk