Table
RetailReceiptProfileLine
Receipt profile line
Holds the lines of a receipt profile. Each line sets the receipt format, and optionally an email template, for one receipt type. The key is the profile ID plus the receipt type.
- Table name
RetailReceiptProfileLine- Module
Commerce stores- Table group
Miscellaneous- Table type
Regular- Data per company
No- Configuration key
Retail- Primary index
Primary- Replacement key
None- Key fields
ProfileId, ReceiptType- Model
Foundation
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ProfileIdThe receipt profile this line belongs to. | StringRetailReceiptProfileId | Yes | RetailReceiptProfile.ProfileId | RetailReceiptProfileLineEntity |
ReceiptTypeThe kind of receipt, such as a normal receipt, card receipts for store or customer, an EFT message, or customer account receipts. | EnumRetailReceiptTypeRetailReceipt (enum) | No | RetailFormLayout.LayoutType | RetailReceiptProfileLineEntity |
EmailTemplateIdThe email template used when a receipt is sent by email, linked to SysEmailTable. | StringRetailEmailTemplateId | No | SysEmailTable.EmailId | RetailReceiptProfileLineEntity |
FormLayoutIdThe receipt format used for this receipt type, linked to RetailFormLayout. | StringRetailFormLayoutId | Yes | RetailFormLayout.FormLayoutId | RetailReceiptProfileLineEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
PrimaryPrimary indexUnique, alternate key.
Relations (3)
Each relation joins RetailReceiptProfileLine to another table on the fields shown.
LayoutId→RetailFormLayoutJoin on
ReceiptType = RetailFormLayout.LayoutType,FormLayoutId = RetailFormLayout.FormLayoutIdMany RetailReceiptProfileLine records → zero or one RetailFormLayout record
ProfileId→RetailReceiptProfileJoin on
ProfileId = RetailReceiptProfile.ProfileIdMany RetailReceiptProfileLine records → exactly one RetailReceiptProfile record
EmailTemplateId→SysEmailTableJoin on
EmailTemplateId = SysEmailTable.EmailIdMany RetailReceiptProfileLine records → exactly one SysEmailTable record
Get this data out
Tables are not exposed directly. These public entities read from RetailReceiptProfileLine; use one of them in Power BI, Power Platform or a data management project.
RetailReceiptProfileLineEntity· 4 fields from this table
Need help with RetailReceiptProfileLine in a report, an integration or a migration? Talk to Dr Dynamics.