Specifications
Configuration 2- 3
This example shows some standard properties:
Parameter File Hierarchy
The Point-of-Sale application gets its parameter values from an interrelated set of XML files. These files
can each contain values for the same parameters; a set of precedence rules determines which parameters
actually take effect.
Note: The
application.xml
file contains all of the parameters and thus represents the default value
set. The other files contain subsets of parameters.
The following table shows the parameter XML files in the order in which they are consulted by the Point-
of-Sale application. Normally, the last value wins; if a parameter is specified in each of the files, the value
in
workstation.xml
is used.
The
final
property, when set to Y in a parameter definition, reverses the precedence order for that
parameter, so that
store.xml
parameters with
final=Y
beat
workstation.xml
parameters, and
corporate.xml
parameters beat
store.xml
—but only for the parameters that specify
final=Y
.
Table 2-1
Standard Parameter Properties
Property Description
type The type of parameter value.
final Can be Y or N; if Y, it reverses the normal file precedence for the parameter. See the next
section, “Parameter File Hierarchy,” for more information.
hidden If Y, the parameter does not appear in the Point-of-Sale interface.
validator A structure that defines valid values for the parameter. In the example, the tags define a range
of floating-point currency values, from 0.00 to 99999.99.
value The actual value of the parameter specified in this file. Whether this value becomes the actual
value or not depends on the values set in other files, as described in the next section,
“Parameter File Hierarchy.”
Table 2-2
Parameter XML Files, In Precedence Order
Parameter File Location Notes
application.xml c:\360store\pos\config
Contains default values for all parameters
corporate.xml c:\360store\pos\config\corporate
Stores values distributed by Central Office
store.xml c:\360store\pos\config\store
Stores values distributed by Back Office
workstation.xml c:\360store\pos\config\register
Contains values set through the Point-of-Sale
interface