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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ProfileIdThe receipt profile this line belongs to.String
RetailReceiptProfileId
YesRetailReceiptProfile.ProfileIdRetailReceiptProfileLineEntity
ReceiptTypeThe kind of receipt, such as a normal receipt, card receipts for store or customer, an EFT message, or customer account receipts.Enum
RetailReceiptType
RetailReceipt (enum)
NoRetailFormLayout.LayoutTypeRetailReceiptProfileLineEntity
EmailTemplateIdThe email template used when a receipt is sent by email, linked to SysEmailTable.String
RetailEmailTemplateId
NoSysEmailTable.EmailIdRetailReceiptProfileLineEntity
FormLayoutIdThe receipt format used for this receipt type, linked to RetailFormLayout.String
RetailFormLayoutId
YesRetailFormLayout.FormLayoutIdRetailReceiptProfileLineEntity
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 (1)

Relations (3)

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

  • LayoutId → RetailFormLayout

    Join on ReceiptType = RetailFormLayout.LayoutType, FormLayoutId = RetailFormLayout.FormLayoutId

    Many RetailReceiptProfileLine records → zero or one RetailFormLayout record

  • ProfileId → RetailReceiptProfile

    Join on ProfileId = RetailReceiptProfile.ProfileId

    Many RetailReceiptProfileLine records → exactly one RetailReceiptProfile record

  • EmailTemplateId → SysEmailTable

    Join on EmailTemplateId = SysEmailTable.EmailId

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

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

Email sales@drdynamics.co.uk