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 descriptionType / EDT / enumMandatoryReferencesIn public entities
FormLayoutIdUnique ID of the receipt format.String
RetailFormLayoutId
YesRetailFormLayoutEntityRetailReceiptProfileLineEntity
DescriptionFree-text description of the receipt format.String (255)
RetailDescriptionEx5
NoRetailFormLayoutEntity
EmailBehaviorSets whether the receipt is not emailed, the user is asked, or it is always emailed.Enum
RetailEmailBehavior
RetailEmailBehaviorBase (enum)
NoRetailFormLayoutEntity
FooterJsonFooter section of the receipt template, stored as JSON text.String (-1)
RetailTemplateJson
NoRetailFormLayoutEntity
footerXMLLayout of the receipt footer, stored as XML text.String (-1)
RetailFooterXML
NoRetailFormLayoutEntity
HeaderJsonHeader section of the receipt template, stored as JSON text.String (-1)
RetailTemplateJson
NoRetailFormLayoutEntity
headerXMLLayout of the receipt header, stored as XML text.String (-1)
RetailHeaderXML
NoRetailFormLayoutEntity
IsTemplateYes or no flag marking the format as a designer template.Enum
NoYes (enum)
NoRetailFormLayoutEntity
LayoutTypeKind of receipt the format is for, such as a normal receipt, a card receipt, an EFT message or a customer account receipt.Enum
RetailReceiptType
RetailReceipt (enum)
YesRetailFormLayoutEntityRetailReceiptProfileLineEntity
LinesJsonLines section of the receipt template, stored as JSON text.String (-1)
RetailTemplateJson
NoRetailFormLayoutEntity
linesXMLLayout of the receipt lines, stored as XML text.String (-1)
RetailLinesXML
NoRetailFormLayoutEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PrintAsSlipYes or no flag showing whether the receipt is printed as a slip.Enum
RetailPrintAsSlip
NoYes (enum)
NoRetailFormLayoutEntity
printBehaviourSets whether the receipt is always printed, never printed, asked about, or printed as required.Enum
RetailPrintBehaviour
RetailPrintBehaviourBase (enum)
NoRetailFormLayoutEntity
PromptQuestionYes or no flag linked to asking a question about this receipt format.low confidenceEnum
RetailPromptQuestion
NoYes (enum)
NoRetailFormLayoutEntity
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
TitleShort title of the receipt, up to 30 characters.String (30)
RetailTitle
NoRetailFormLayoutEntity
UpperCaseYes or no flag showing whether text is shown in upper case.Enum
RetailUpperCase
NoYes (enum)
NoRetailFormLayoutEntity

Indexes (1)

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.

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

Email sales@drdynamics.co.uk