Data entity
MCRCustCreditTableBiEntity
Read-only entity for BI and analytics that holds customer credit records. Each record shows the customer account, credit type, status, credit amount, currency, item, lot and voucher details, and a reason code. It also holds the order credit table ID and the sales order it created.
- Entity name
MCRCustCreditTableBiEntity- Public entity name
MCRCustCreditTableBiEntity- OData collection
MCRCustCreditTableBiEntities- Category
Not set- Module
Other (no module in the metadata)- Read-only
Yes- Data management enabled
No- Configuration key
None- Keys
SourceKey- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/MCRCustCreditTableBiEntities- Dataverse virtual table
mserp_mcrcustcredittablebientity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Not enabled for import and export projects.
Data sources
MCRCustCreditTable· root · read-only
Fields (26)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ccSettlementRecIDPoints to the credit card transaction record used for settlement. | Int64RefRecId | No | Yes | CreditCardAuthTrans.RecId | MCRCustCreditTable.ccSettlementRecID |
SysCreatedByThe user who created the record. | String (20)CreatedBy | No | Yes | MCRCustCreditTable.CreatedBy | |
CreatedOnThe date and time when the record was created. | UtcDateTimeCreatedDateTime | No | Yes | MCRCustCreditTable.CreatedDateTime | |
CreditedQtyQuantity that has been credited. | RealQty | No | Yes | MCRCustCreditTable.CreditedQty | |
CreditIDUnique ID of the customer credit. | String (20)MCRCreditTableID | Yes | Yes | MCRCustCreditTable.CreditID | |
CreditQtyQuantity of the credit. | RealQty | No | Yes | MCRCustCreditTable.CreditQty | |
creditTypeKind of credit, such as on-account, cash, check, credit card or gift card. | Enum
| No | Yes | MCRCustCreditTable.creditType | |
CustAccountThe customer account that the credit belongs to. | String (20)CustAccount | Yes | Yes | CustTable.AccountNum | MCRCustCreditTable.CustAccount |
CustCreditStatusStatus of the credit: Open, Applied, Pending, Successful or Failed. | Enum
| No | Yes | MCRCustCreditTable.CustCreditStatus | |
SysDataAreaIdThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | MCRCustCreditTable.DataAreaId | |
InventTransIDLot ID that links to the inventory transaction origin. | String (20)InventTransId | No | Yes | InventTransOrigin.InventTransId | MCRCustCreditTable.InventTransID |
ItemIdThe item number the credit relates to. | String (20)ItemId | No | Yes | InventTable.ItemId | MCRCustCreditTable.ItemId |
JournalNumNumber of the ledger journal batch linked to the credit. | String (20)LedgerJournalId | No | Yes | LedgerJournalTable.JournalNum | MCRCustCreditTable.JournalNum |
LineNumLine number of the credit. | RealLineNum | No | Yes | MCRCustCreditTable.LineNum | |
NewPriceNew price of the item. | RealAmountCur | No | Yes | MCRCustCreditTable.NewPrice | |
OrderCurrencyThe currency of the order. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | MCRCustCreditTable.OrderCurrency |
OrigPaymIDPoints to the customer payment record the credit came from. | Int64MCRCustPaymTableRefRecId | No | Yes | MCRCustPaymTable.RecId | MCRCustCreditTable.OrigPaymID |
OrigSalesIDSales order created for the credit. | String (20)SalesIdBase | No | Yes | SalesTable.SalesId | MCRCustCreditTable.OrigSalesID |
ParentCreditIdID of the parent credit voucher. | String (20)MCRCustCreditID | No | Yes | MCRCustCreditTable.ParentCreditId | |
ReasonCodeCode of the reason subcode for the credit. | StringRetailInformationSubcodeId | No | Yes | RetailInformationSubcodeTable.subcodeId | MCRCustCreditTable.ReasonCode |
ReasonCodeDescriptionText describing the reason. | String (60)Description | No | Yes | MCRCustCreditTable.ReasonCodeDescription | |
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | MCRCustCreditTable.RecId | |
SysRecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. | IntegerRecVersion | No | Yes | MCRCustCreditTable.RecVersion | |
RetailInfocodeIdInfo code that the reason subcode belongs to. | StringRetailInfocodeId | No | Yes | MCRCustCreditTable.RetailInfocodeId | |
TotalCreditThe total credit amount. | RealAmountCur | Yes | Yes | MCRCustCreditTable.TotalCredit | |
VoucherThe voucher number linked to the credit. | String (20)Voucher | No | Yes | MCRCustCreditTable.Voucher |
Foreign keys (9)
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.
ccSettlementRecID→CreditCardAuthTrans.RecId(key of CreditCardAuthTrans)Zero or one MCRCustCreditTable record → exactly one CreditCardAuthTrans record
Not exposed by a public entity.
CustAccount→CustTable.AccountNum(key of CustTable)One or more MCRCustCreditTable records → exactly one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
InventTransID→InventTransOrigin.InventTransId(key of InventTransOrigin)Many MCRCustCreditTable records → exactly one InventTransOrigin record
InventTransOrigin details: see WHSOrderCommittedLicensePlateReservationEntity, InventTransOriginBiEntity, InventTransOriginCDREntity
ItemId→InventTable.ItemId(key of InventTable)Many MCRCustCreditTable records → exactly one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
JournalNum→LedgerJournalTable.JournalNum(key of LedgerJournalTable)Many MCRCustCreditTable records → exactly one LedgerJournalTable record
LedgerJournalTable details: see SlipJournalEntity, ExpenseJournalHeaderEntity, VendInvoiceJournalHeaderEntity
OrderCurrency→Currency.CurrencyCode(key of Currency)Many MCRCustCreditTable records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
OrigPaymID→MCRCustPaymTable.RecId(key of MCRCustPaymTable)Many MCRCustCreditTable records → zero or one MCRCustPaymTable record
MCRCustPaymTable details: see MCRInstallmentPlanCustomerPaymentEntity, MCRContinuityCustomerPaymentEntity, MCRCustomerInvoicePaymentEntity
OrigSalesID→SalesTable.SalesId(key of SalesTable)Many MCRCustCreditTable records → exactly one SalesTable record
SalesTable details: see SalesOrderHeaderV3Entity, SalesOrderHeaderV2Entity, SalesOrderHeaderV4Entity
ReasonCode→RetailInformationSubcodeTable.subcodeId(key of RetailInformationSubcodeTable)Join on all of:
ReasonCode=RetailInformationSubcodeTable.subcodeId,RetailInfocodeId=RetailInformationSubcodeTable.infocodeIdMany MCRCustCreditTable records → zero or one RetailInformationSubcodeTable record
RetailInformationSubcodeTable details: see RetailInformationSubcodeEntity, RetailInformationSubcodeTranslationEntity
Need help with MCRCustCreditTableBiEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.