Data entity
TrvCreditCardTransactionEntity
Credit card transactions for expenses, keyed by a unique transaction ID. Each row has amounts, merchant, card, category, dates and processing flags. It also includes car rental, itinerary, trip leg and hotel details, and the employee payment method and worker.
- Entity name
TrvCreditCardTransactionEntity- Public entity name
CreditCardTransaction- OData collection
CreditCardTransactions- Category
Not set- Module
Travel and expense- Read-only
No- Data management enabled
Yes- Configuration key
TrvElectronicPayment- Keys
CCTransUniqueID- Staging table
TrvCreditCardTransactionEntityStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/CreditCardTransactions- Dataverse virtual table
mserp_trvcreditcardtransactionentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
TrvPBSMaindata· rootTrvEmpPaymethod· OuterJoin toTrvPBSMaindata· read-onlyHcmWorker· OuterJoin toTrvPBSMaindata· read-onlyTrvEnhancedCarRentalData· OuterJoin toTrvPBSMaindataTrvEnhancedItineraryData· OuterJoin toTrvPBSMaindataTrvEnhancedTripLegDetail· OuterJoin toTrvPBSMaindataTrvEnhancedHotelData· OuterJoin toTrvPBSMaindata
Fields (75)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
Amount_CreditCardCurrencyAmount in the transaction currency. | RealAmountCur | Yes | Yes | TrvPBSMaindata.AmountCurr | |
Amount_LocalCurrencyAmount in the local currency. | RealAmountCur | No | Yes | TrvPBSMaindata.AmountLocal | |
BusinessNameName of the merchant. | String (30)TrvPBSBusinessName | No | Yes | TrvPBSMaindata.BusinessName | |
CardNumberIdentifier of the card. | String (40)TrvWorkerPaymethodID | Yes | Yes | TrvPBSMaindata.CardNumber | |
CardNumberNIKSUnique ID of the card. | String (16)TrvCardNIKS | No | Yes | TrvPBSMaindata.CardNumberNIKS | |
CardTypeType of credit card. | String (32)TrvCreditCardType | Yes | Yes | TrvPBSMaindata.CardType | |
CategoryCodeCategory code of the transaction. | StringTrvCatCodeNoEDT | No | Yes | TrvPBSMaindata.CatCode | |
CategoryCodesDescriptionDescription of the category code. | String (25)TrvCatCodeDescriptionEDT | No | Yes | TrvPBSMaindata.CatCodesDesc | |
CCTransUniqueIDUnique ID of the credit card transaction. | String (32)TrvCCTransUniqueID | Yes | Yes | TrvPBSMaindata.CCTransUniqueID | |
CostTypeExpense category of the transaction. It points to an expense category. | String (30)TrvCostTypeEDT | No | Yes | TrvCostType.CostType | TrvPBSMaindata.CostType |
CountryCountry or region of the merchant. | String (25)TrvPbsCountry | No | Yes | TrvPBSMaindata.Country | |
EmpPayMethodRecIdEmployee payment method record linked to the transaction. | Int64RefRecId | No | No (private) | TrvEmpPaymethod.RecId | TrvPBSMaindata.EmpPayMethodRecId |
ExchCode_CreditCardCurrencyCurrency of the transaction amount. It points to a currency. | String (3)CurrencyCode | Yes | Yes | Currency.CurrencyCode | TrvPBSMaindata.ExchCode |
ExchCode_LocalCurrencyLocal currency of the transaction. It points to a currency. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | TrvPBSMaindata.ExchCodeLocal |
MerchantCategoryCodeCode that classes the merchant's type of business. | StringTrvMerchantCategoryCode | No | Yes | TrvPBSMaindata.MerchantCategoryCode | |
NameName of the cardholder. | String (60)Name | No | Yes | TrvPBSMaindata.Name | |
PaymentMethodPayment method used for the transaction. It points to a payment method. | StringTrvPayMethodEDT | No | Yes | TrvPayMethod.PayMethod | TrvPBSMaindata.Paymethod |
PostedWhether the transaction has been processed for payment. | EnumNoYesId
| No | Yes | TrvPBSMaindata.Posted | |
ReferenceKey value that identifies the transaction record. | String (196)TrvPBSKey | No | Yes | TrvPBSMaindata.Reference | |
TownCity of the merchant. | String (13)TrvPBSTown | No | Yes | TrvPBSMaindata.Town | |
TransactionDateDate of the transaction. | DateTrvTransDate | Yes | Yes | TrvPBSMaindata.TransDate | |
TransferredWhether the transaction has been added to an expense report. | EnumNoYesId
| No | Yes | TrvPBSMaindata.Transferred | |
TravelNoNumber of the expense report the transaction was added to. | String (20)TrvExpNumber | No | Yes | TrvPBSMaindata.TravelNo | |
WorkerEmployee who owns the transaction. It points to a worker record. | Int64TrvHcmWorkerRecId | No | No (private) | HcmWorker.RecId | TrvPBSMaindata.Worker |
CarRentalCheckOutDateDate the car was picked up. | DateTrvTransDate | No | Yes | TrvEnhancedCarRentalData.CarRentalCheckOutDate | |
CheckOutLocationPlace where the car was picked up. | String (50)TrvRentalLocation | No | Yes | TrvEnhancedCarRentalData.CheckOutLocation | |
DailyRentalRateRental rate for one day. | RealAmountCur | No | Yes | TrvEnhancedCarRentalData.DailyRentalRate | |
DaysRentedNumber of days the car was rented. | RealTrvDaysRented | No | Yes | TrvEnhancedCarRentalData.DaysRented | |
MonthlyRentalRateRental rate for one month. | RealAmountCur | No | Yes | TrvEnhancedCarRentalData.MonthlyRentalRate | |
RegularMileageChargesCharge for regular mileage, in the transaction currency. | RealAmountCur | No | Yes | TrvEnhancedCarRentalData.RegularMileageCharges | |
RenterNameName of the person who rented the car. | String (50)TrvName | No | Yes | TrvEnhancedCarRentalData.RenterName | |
ReservationNumberReservation number of the rental. | String (25)TrvRentalReservationNumber | No | Yes | TrvEnhancedCarRentalData.ReservationNumber | |
ReturnLocationPlace where the car was returned. | String (50)TrvRentalLocation | No | Yes | TrvEnhancedCarRentalData.ReturnLocation | |
ReturnDateDate the car was returned. | DateTrvTransDate | No | Yes | TrvEnhancedCarRentalData.ReturnDate | |
TotalMilesTotal miles driven. | RealTrvMileage | No | Yes | TrvEnhancedCarRentalData.TotalMiles | |
VehicleClassClass of the vehicle: compact, intermediate or full. | EnumTrvCarRentalVehicleClass
| No | Yes | TrvEnhancedCarRentalData.VehicleClass | |
WeeklyRentalRateRental rate for one week. | RealAmountCur | No | Yes | TrvEnhancedCarRentalData.WeeklyRentalRate | |
DepartureDateDate of departure. | DateTrvTransDate | No | Yes | TrvEnhancedItineraryData.DepartureDate | |
DomesticIndicatorYes/No marker for a domestic flight. | Enum
| No | Yes | TrvEnhancedItineraryData.DomesticIndicator | |
ExchangeTicketNumberNumber of the exchange ticket. | String (25)TrvTicketNumber | No | Yes | TrvEnhancedItineraryData.ExchangeTicketNumber | |
IssuingCarrierCarrier that issued the ticket. | StringTrvIssuingCarrier | No | Yes | TrvEnhancedItineraryData.IssuingCarrier | |
NumberOfLegsNumber of legs in the trip. | IntegerTrvNumberOfLegs | No | Yes | TrvEnhancedItineraryData.NumberOfLegs | |
OriginalTicketNumberNumber of the original ticket. | String (25)TrvTicketNumber | No | Yes | TrvEnhancedItineraryData.OriginalTicketNumber | |
PassengerNameName of the passenger. | String (50)TrvName | No | Yes | TrvEnhancedItineraryData.PassengerName | |
TicketIssueDateDate the ticket was issued. | DateTrvTransDate | No | Yes | TrvEnhancedItineraryData.TicketIssueDate | |
TravelAgencyCodeCode of the travel agency. | StringTrvTravelAgencyCode | No | Yes | TrvEnhancedItineraryData.TravelAgencyCode | |
TravelAgencyInvoiceNumberInvoice number from the travel agency. | String (25)TrvTravelAgencyInvoiceNumber | No | Yes | TrvEnhancedItineraryData.TravelAgencyInvoiceNumber | |
TravelAgencyNameName of the travel agency. | String (50)TrvName | No | Yes | TrvEnhancedItineraryData.TravelAgencyName | |
ArrivalDateDate of arrival. | DateTrvTransDate | No | Yes | TrvEnhancedTripLegDetail.ArrivalDate | |
CarrierCodeCode of the carrier for the leg. | StringTrvCarrierCode | No | Yes | TrvEnhancedTripLegDetail.CarrierCode | |
CityOfOriginCity where the leg starts. | String (50)TrvCity | No | Yes | TrvEnhancedTripLegDetail.CityOfOrigin | |
DepartureTaxSales tax amount charged on departure. | RealTaxAmountJournal | No | Yes | TrvEnhancedTripLegDetail.DepartureTax | |
DestinationCityCity where the leg ends. | String (50)TrvCity | No | Yes | TrvEnhancedTripLegDetail.DestinationCity | |
FareAmountFare for the leg, in the transaction currency. | RealAmountCur | No | Yes | TrvEnhancedTripLegDetail.FareAmount | |
FeeAmountFee for the leg, in the transaction currency. | RealAmountCur | No | Yes | TrvEnhancedTripLegDetail.FeeAmount | |
FlightNumberFlight number of the leg. | StringTrvFlightNumber | No | Yes | TrvEnhancedTripLegDetail.FlightNumber | |
TrvEnhancedTripLegDetail_ItineraryRecIdPoints to the enhanced itinerary record the leg belongs to. | Int64RefRecId | No | No (private) | TrvEnhancedItineraryData.RecId | TrvEnhancedTripLegDetail.ItineraryRecId |
ServiceClassClass of service: economy, first or business. | EnumTrvAirlineServiceClass
| No | Yes | TrvEnhancedTripLegDetail.ServiceClass | |
StopOverCityCity of a stopover during the leg. | String (50)TrvCity | No | Yes | TrvEnhancedTripLegDetail.StopOverCity | |
TaxAmountSales tax amount for the leg. | RealTaxAmountJournal | No | Yes | TrvEnhancedTripLegDetail.TaxAmount | |
TravelDateDate of travel for the leg. | DateTrvTransDate | No | Yes | TrvEnhancedTripLegDetail.TravelDate | |
TripLegNumberNumber of the leg within the trip. | IntegerTrvTripLegNumber | No | Yes | TrvEnhancedTripLegDetail.TripLegNumber | |
CheckInDateDate the guest checked in. | DateTrvTransDate | No | Yes | TrvEnhancedHotelData.CheckInDate | |
CheckOutDateDate the guest checked out. | DateTrvTransDate | No | Yes | TrvEnhancedHotelData.CheckOutDate | |
FolioNumberFolio number of the hotel bill. | String (30)TrvFolioNumber | No | Yes | TrvEnhancedHotelData.FolioNumber | |
GuestNameName of the guest. | String (50)TrvGuestName | No | Yes | TrvEnhancedHotelData.GuestName | |
GuestNumberNumber of guests. | IntegerTrvGuestNumber | No | Yes | TrvEnhancedHotelData.GuestNumber | |
TotalRoomNightsNumber of nights stayed. | IntegerTrvNumberOfNights | No | Yes | TrvEnhancedHotelData.TotalRoomNights | |
TotalRoomRentTotal rent for the room. | RealAmountCur | No | Yes | TrvEnhancedHotelData.TotalRoomRent | |
TotalTaxAmountTotal tax amount on the stay. | RealTaxAmountJournal | No | Yes | TrvEnhancedHotelData.TotalTaxAmount | |
NoShowIndicatorYes/No marker showing a guest did not arrive. | Enum
| No | Yes | TrvEnhancedHotelData.NoShowIndicator | |
CarRental_PBSRecidPoints to the credit card record. | Int64RefRecId | No | No (private) | TrvPBSMaindata.RecId | TrvEnhancedData.PBSRecid |
Itinerary_PBSRecidPoints to the credit card record. | Int64RefRecId | No | No (private) | TrvPBSMaindata.RecId | TrvEnhancedData.PBSRecid |
Hotel_PBSRecidPoints to the credit card record. | Int64RefRecId | No | No (private) | TrvPBSMaindata.RecId | TrvEnhancedData.PBSRecid |
HashedCCNumberHashed form of the credit card number, so the real number is not shown. | String (128)TrvHashedPaymentId | No | Yes | virtual |
Foreign keys (10)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
CostType→TrvCostType.CostType(key of TrvCostType)Many TrvPBSMaindata records → zero or one TrvCostType record
TrvCostType details: see TrvExpenseCategoryEntity, ProjExpenseCategoryExportEntity
EmpPayMethodRecId→TrvEmpPaymethod.RecId(key of TrvEmpPaymethod)Many TrvPBSMaindata records → zero or one TrvEmpPaymethod record
Not exposed by a public entity.
ExchCode_CreditCardCurrency→Currency.CurrencyCode(key of Currency)Many TrvPBSMaindata records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
ExchCode_LocalCurrency→Currency.CurrencyCode(key of Currency)Many TrvPBSMaindata records → zero or one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
PaymentMethod→TrvPayMethod.PayMethod(key of TrvPayMethod)Many TrvPBSMaindata records → zero or one TrvPayMethod record
TrvPayMethod details: see TrvPayMethodEntity
Worker→HcmWorker.RecId(key of HcmWorker)Many TrvPBSMaindata records → zero or one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
TrvEnhancedTripLegDetail_ItineraryRecId→TrvEnhancedItineraryData.RecId(key of TrvEnhancedItineraryData)Zero or one TrvEnhancedTripLegDetail record → exactly one TrvEnhancedItineraryData record
TrvEnhancedItineraryData details: see TrvExpTransMobileV2Entity, TrvCopilotAutomationExpenseEntity, TrvExpMobileExpenseEntity
CarRental_PBSRecid→TrvPBSMaindata.RecId(key of TrvPBSMaindata)Zero or one TrvEnhancedData record → exactly one TrvPBSMaindata record
Not exposed by a public entity.
Itinerary_PBSRecid→TrvPBSMaindata.RecId(key of TrvPBSMaindata)Zero or one TrvEnhancedData record → exactly one TrvPBSMaindata record
Not exposed by a public entity.
Hotel_PBSRecid→TrvPBSMaindata.RecId(key of TrvPBSMaindata)Zero or one TrvEnhancedData record → exactly one TrvPBSMaindata record
Not exposed by a public entity.
Need help with TrvCreditCardTransactionEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.