Data entity

RetailFormLayoutEntity

Holds receipt formats, one per format ID. Each format has a description, receipt type, header, lines and footer XML, and print and email behaviour settings. It also stores receipt template JSON and a designer template.

Entity name
RetailFormLayoutEntity
Public entity name
RetailFormLayout
OData collection
RetailFormLayouts
Category
Parameters
Module
Brick and mortar store
Read-only
No
Data management enabled
Yes
Configuration key
Retail
Keys
FormLayoutId
Staging table
RetailFormLayoutStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/RetailFormLayouts
Dataverse virtual table
mserp_retailformlayoutentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • RetailFormLayout · root

Fields (16)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
FormLayoutIdUnique ID of the receipt format.String
RetailFormLayoutId
YesYesRetailFormLayout.FormLayoutId
DescriptionFree-text description of the receipt format.String (255)
RetailDescriptionEx5
NoYesRetailFormLayout.Description
footerXMLLayout of the receipt footer, stored as XML text.String (-1)
RetailFooterXML
NoYesRetailFormLayout.footerXML
headerXMLLayout of the receipt header, stored as XML text.String (-1)
RetailHeaderXML
NoYesRetailFormLayout.headerXML
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
  • Receipt 1
  • CardReceiptForShop 2
  • CardReceiptForCust 3
  • CardReceiptForShopReturn 4
  • CardReceiptForCustReturn 5
  • EFTMessage 6
  • CustAcntReceiptForShop 7
  • CustAcntReceiptForCust 8
  • CustAcntReceiptForShopReturn 9
  • CustAcntReceiptForCustReturn 10
  • TenderDeclaration 11
  • Invoice 12
  • RemoveTender 13
  • CustomerAccountDeposit 14
  • CreditMemo 15
  • CreditMemoBalance 16
  • FloatEntry 17
  • SalesOrderReceipt 18
  • SalesInvoiceReceipt 19
  • GiftCertificate 20
  • QuotationReceipt 21
  • PackingSlip 22
  • PickupReceipt 23
  • OrderSummaryReceipt 32
  • GiftReceipt 33
  • ReturnLabel 34
  • EFDocDANFESimplified 35
  • EFDocDANFEDetailed 36
  • PickingList 37
  • OpenDrawer 38
  • SuspendedTransaction 39
  • GiftCardInquiry 40
  • TransferPackingSlip 43
  • EFDocDanfeModel55 44
  • InventoryAdjustment 45
  • InventoryTransfer 46
  • EFRDetailed 47
  • EFRSimplified 48
  • EFRCancelled 49
  • CustomReceiptType1 101
  • CustomReceiptType2 102
  • CustomReceiptType3 103
  • CustomReceiptType4 104
  • CustomReceiptType5 105
  • CustomReceiptType6 106
  • CustomReceiptType7 107
  • CustomReceiptType8 108
  • CustomReceiptType9 109
  • CustomReceiptType10 110
  • CustomReceiptType11 111
  • CustomReceiptType12 112
  • CustomReceiptType13 113
  • CustomReceiptType14 114
  • CustomReceiptType15 115
  • CustomReceiptType16 116
  • CustomReceiptType17 117
  • CustomReceiptType18 118
  • CustomReceiptType19 119
  • CustomReceiptType20 120
YesYesRetailFormLayout.LayoutType
linesXMLLayout of the receipt lines, stored as XML text.String (-1)
RetailLinesXML
NoYesRetailFormLayout.linesXML
PrintAsSlipYes or no flag showing whether the receipt is printed as a slip.Enum
RetailPrintAsSlip
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailFormLayout.PrintAsSlip
printBehaviourSets whether the receipt is always printed, never printed, asked about, or printed as required.Enum
RetailPrintBehaviour
RetailPrintBehaviourBase
  • ALWAYS_PRINT 0
  • DO_NOT_PRINT 1
  • PROMPT_USER 2
  • AS_REQUIRED 3
NoYesRetailFormLayout.printBehaviour
PromptQuestionYes or no flag linked to asking a question about this receipt format.low confidenceEnum
RetailPromptQuestion
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailFormLayout.PromptQuestion
TitleShort title of the receipt, up to 30 characters.String (30)
RetailTitle
NoYesRetailFormLayout.Title
UpperCaseYes or no flag showing whether text is shown in upper case.Enum
RetailUpperCase
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailFormLayout.UpperCase
EmailBehaviorSets whether the receipt is not emailed, the user is asked, or it is always emailed.Enum
RetailEmailBehavior
RetailEmailBehaviorBase
  • DoNotEmail 0
  • PromptUser 1
  • AlwaysEmail 2
NoYesRetailFormLayout.EmailBehavior
HeaderJsonHeader section of the receipt template, stored as JSON text.String (-1)
RetailTemplateJson
NoYesRetailFormLayout.HeaderJson
LinesJsonLines section of the receipt template, stored as JSON text.String (-1)
RetailTemplateJson
NoYesRetailFormLayout.LinesJson
FooterJsonFooter section of the receipt template, stored as JSON text.String (-1)
RetailTemplateJson
NoYesRetailFormLayout.FooterJson
IsTemplateYes or no flag marking the format as a designer template.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailFormLayout.IsTemplate

Need help with RetailFormLayoutEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk