Example of a Business Data Configuration File<?xml version="1.0" encoding="UTF-8"?> <Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ENOSHOStoreStudio_BusinessDataConfiguration.xsd"> <!-- Indicators parameters LocalisedTitleID : ID of the indicator localised title Title : Title of the indicator : not treated if localised ID is defined Color : BackGround Color TextColor : Text Color NumberDecimals : Decimals Currency : Currency string Currency : Currency position : from 0 to 2 (left to right) GroupForm : Group Formula : SUM for sum, AVG/AVERAGE for average, MIN for minimum, MAX for maximum, COUNT for the element count onf the group If no groupForm is defined : the indicator is not available for groups GroupFormPonderation : Group Formula is ponderated either by ; - Or the total number of elements (UNIT), - Or not ponderated (PRODUCT or other) - If not defined, no ponderation are applied DataFormat : How to display the data : - RAW for raw value - PERCENT for percentage value - RAW_ONLY for disabled percentage displaying availability : only raw value will be available AnalyseData : Color and data for analysing --> <!-- Indicators parameters --> <!-- STOCK Color default BLUE --> <indicator id="stock"> <attribute data="LocalisedTitleID" value="BUS_STOCK"/> <attribute data="Color" value="003AFF"/> <attribute data="TextColor" value="FFFFFF"/> <attribute data="NumberDecimals" value="0"/> <attribute data="GroupForm" value="SUM"/> </indicator> <indicator fieldid="daysOfStock"> <attribute data="LocalisedTitleID" value="BUS_STOCK_DAY"/> <attribute data="Color" value="0776FF"/> <attribute data="TextColor" value="FFFFFF"/> <attribute data="NumberDecimals" value="0"/> <attribute data="GroupForm" value="AVG"/> </indicator> <indicator fieldid="targetedStock"> <attribute data="LocalisedTitleID" value="BUS_STOCK_TARGET"/> <attribute data="Color" value="358CF8"/> <attribute data="TextColor" value="FFFFFF"/> <attribute data="NumberDecimals" value="1"/> <attribute data="GroupForm" value="AVG"/> </indicator> <indicator fieldid="maximalcapacity"> <attribute data="LocalisedTitleID" value="BUS_MAXIMAL_CAPACITY"/> <attribute data="Color" value="0776FF"/> <attribute data="TextColor" value="FFFFFF"/> <attribute data="NumberDecimals" value="0"/> <attribute data="GroupForm" value="SUM"/> </indicator> <indicator fieldid="capacity"> <attribute data="LocalisedTitleID" value="BUS_CAPACITY"/> <attribute data="Color" value="0699FF"/> <attribute data="TextColor" value="FFFFFF"/> <attribute data="NumberDecimals" value="0"/> <attribute data="GroupForm" value="SUM"/> </indicator> <indicator fieldid="fillingratio"> <attribute data="LocalisedTitleID" value="BUS_FILLINGRATIO"/> <attribute data="Color" value="03253C"/> <attribute data="TextColor" value="FFFFFF"/> <attribute data="NumberDecimals" value="0"/> <attribute data="GroupForm" value="SUM"/> <attribute data="Currency" value="%" /> <attribute data="DataFormat" value="RAW_ONLY" /> </indicator> <!-- Number of facings Horizontal/vertical/depth : classic color RGB --> <indicator fieldid="vcount"> <attribute data="Color" value="278700"/> <attribute data="TextColor" value="FFFFFF"/> <attribute data="NumberDecimals" value="0"/> </indicator> <indicator fieldid="hcount"> <attribute data="Color" value="ED1D1D"/> <attribute data="TextColor" value="FFFFFF"/> <attribute data="NumberDecimals" value="0"/> </indicator> <indicator fieldid="dcount"> <attribute data="Color" value="0976D7"/> <attribute data="TextColor" value="FFFFFF"/> <attribute data="NumberDecimals" value="0"/> </indicator> <indicator fieldid="dmaxcount"> <attribute data="Color" value="055DAB"/> <attribute data="TextColor" value="FFFFFF"/> <attribute data="NumberDecimals" value="0"/> </indicator> <!-- Linear Meters YELLOW --> <indicator id="linearMeters"> <attribute data="LocalisedTitleID" value="BUS_LINEAR_METER"/> <attribute data="Color" value="F1F804"/> <attribute data="TextColor" value="000000"/> <attribute data="NumberDecimals" value="2"/> <attribute data="GroupForm" value="SUM"/> </indicator> <!-- Business Data --> <!-- SALES : Color default RED --> <indicator id="sales_number"> <attribute data="LocalisedTitleID" value="BUS_SALES_NUM"/> <attribute data="Color" value="FF0707"/> <attribute data="NumberDecimals" value="0"/> </indicator> <indicator id="average_sales_number"> <attribute data="LocalisedTitleID" value="BUS_AV_SALES_NUM"/> <attribute data="Color" value="EF293B"/> <attribute data="GroupForm" value="AVG"/> </indicator> <indicator fieldid="average_sales_by_Linear"> <attribute data="LocalisedTitleID" value="BUS_AV_SALES_NUM_BY_LINEAR"/> <attribute data="Color" value="8C252E"/> <attribute data="GroupForm" value="AVG"/> </indicator> <!-- MARGIN : Color default Orange --> <indicator id="gross_margin_sale"> <attribute data="LocalisedTitleID" value="BUS_MARGIN"/> <attribute data="Color" value="FFAA00"/> <attribute data="GroupForm" value="AVG"/> <attribute data="Currency" value="euro" /> </indicator> <indicator fieldid="margin_by_Linear"> <attribute data="LocalisedTitleID" value="BUS_MARGIN_BY_LINEAR"/> <attribute data="Color" value="BC7F07"/> <attribute data="GroupForm" value="AVG"/> <attribute data="Currency" value="euro" /> </indicator> <!-- PRICES : Color default Green --> <indicator fieldid="price"> <attribute data="LocalisedTitleID" value="BUS_PRICE"/> <attribute data="Color" value="03AB26"/> <attribute data="TextColor" value="000000"/> <attribute data="GroupForm" value="SUM"/> </indicator> <indicator id="average_price_vat"> <attribute data="LocalisedTitleID" value="BUS_AV_PRICE_VAT"/> <attribute data="Color" value="015613"/> <attribute data="TextColor" value="FFFFFF"/> <attribute data="GroupForm" value="AVG"/> <attribute data="Currency" value="euro" /> </indicator> <indicator id="average_price"> <attribute data="LocalisedTitleID" value="BUS_AV_PRICE"/> <attribute data="Color" value="027A1B"/> <attribute data="TextColor" value="FFFFFF"/> <attribute data="GroupForm" value="AVG"/> <attribute data="Currency" value="euro" /> </indicator> <indicator id="average_purchase_price"> <attribute data="LocalisedTitleID" value="BUS_AV_PURCHASE_PRICE_VAT"/> <attribute data="Color" value="00A923"/> <attribute data="TextColor" value="000000"/> <attribute data="GroupForm" value="AVG"/> <attribute data="Currency" value="euro" /> </indicator> <indicator id="average_purchase_price_vat"> <attribute data="LocalisedTitleID" value="BUS_AV_PURCHASE_PRICE"/> <attribute data="Color" value="03AB26"/> <attribute data="TextColor" value="000000"/> <attribute data="GroupForm" value="AVG"/> <attribute data="Currency" value="euro" /> </indicator> <!-- Others --> <indicator id="tree"> <attribute data="LocalisedTitleID" value="CDT"/> <attribute data="Color" value="95BADF"/> <attribute data="TextColor" value="000000"/> </indicator> <!-- Specific color parameters id/select : ID of the field attribute : data : Specific value on which we want to apply a color attribute : color : Specific background color given to the value attribute : textcolor : Specific text color given to the value --> <!-- Configuration of specific colors for attribute values. --> <attributeColor select="attribute[ShopperSupplier]"> <attribute data="NA" color="FF00000"/> </attributeColor> <attributeColor select="attribute[SHOAtt_Brand]"> <attribute data="Carrefour" color="0000FF" textcolor="FFFFFF"/> <attribute data="FARAWAY" color="000000" textcolor="FF0000"/> </attributeColor> </Configuration> |