Table
RetailFormLayout
Receipt format
Holds receipt formats for point of sale, identified by a receipt format ID. Each record has a title, a receipt type and print and email behaviour. It also stores the header, lines and footer layout as XML or JSON text. Records can be marked as designer templates.
- Table name
RetailFormLayout- Module
Commerce stores- Table group
Parameter- Table type
Regular- Data per company
No- Configuration key
Retail- Primary index
LayoutId- Replacement key
None- Key fields
FormLayoutId- Model
Foundation
Fields (21)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
FormLayoutIdUnique ID of the receipt format. | StringRetailFormLayoutId | Yes | RetailFormLayoutEntityRetailReceiptProfileLineEntity | |
DescriptionFree-text description of the receipt format. | String (255)RetailDescriptionEx5 | No | RetailFormLayoutEntity | |
EmailBehaviorSets whether the receipt is not emailed, the user is asked, or it is always emailed. | EnumRetailEmailBehaviorRetailEmailBehaviorBase (enum) | No | RetailFormLayoutEntity | |
FooterJsonFooter section of the receipt template, stored as JSON text. | String (-1)RetailTemplateJson | No | RetailFormLayoutEntity | |
footerXMLLayout of the receipt footer, stored as XML text. | String (-1)RetailFooterXML | No | RetailFormLayoutEntity | |
HeaderJsonHeader section of the receipt template, stored as JSON text. | String (-1)RetailTemplateJson | No | RetailFormLayoutEntity | |
headerXMLLayout of the receipt header, stored as XML text. | String (-1)RetailHeaderXML | No | RetailFormLayoutEntity | |
IsTemplateYes or no flag marking the format as a designer template. | EnumNoYes (enum) | No | RetailFormLayoutEntity | |
LayoutTypeKind of receipt the format is for, such as a normal receipt, a card receipt, an EFT message or a customer account receipt. | EnumRetailReceiptTypeRetailReceipt (enum) | Yes | RetailFormLayoutEntityRetailReceiptProfileLineEntity | |
LinesJsonLines section of the receipt template, stored as JSON text. | String (-1)RetailTemplateJson | No | RetailFormLayoutEntity | |
linesXMLLayout of the receipt lines, stored as XML text. | String (-1)RetailLinesXML | No | RetailFormLayoutEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PrintAsSlipYes or no flag showing whether the receipt is printed as a slip. | EnumRetailPrintAsSlipNoYes (enum) | No | RetailFormLayoutEntity | |
printBehaviourSets whether the receipt is always printed, never printed, asked about, or printed as required. | EnumRetailPrintBehaviourRetailPrintBehaviourBase (enum) | No | RetailFormLayoutEntity | |
PromptQuestionYes or no flag linked to asking a question about this receipt format.low confidence | EnumRetailPromptQuestionNoYes (enum) | No | RetailFormLayoutEntity | |
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 | |
TitleShort title of the receipt, up to 30 characters. | String (30)RetailTitle | No | RetailFormLayoutEntity | |
UpperCaseYes or no flag showing whether text is shown in upper case. | EnumRetailUpperCaseNoYes (enum) | No | RetailFormLayoutEntity |
Indexes (1)
LayoutIdPrimary indexUnique, alternate key.
Get this data out
Tables are not exposed directly. These public entities read from RetailFormLayout; use one of them in Power BI, Power Platform or a data management project.
RetailFormLayoutEntity· 16 fields from this tableRetailReceiptProfileLineEntity· 2 fields from this table
Need help with RetailFormLayout in a report, an integration or a migration? Talk to Dr Dynamics.