Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 66 Next »

Definition

Static data sent to the device during login.

Reference Data will always includes static data used by "base functional areas" (i.e. Receive, Pick, Count) and may also include additional static data added from customizations by the partner
No Reference Data can be updated at handheld device during a session: It will always require logout/login at device to refresh. For this reason transactional data like Sales Orders should never be provided as Reference Data.

 

 

 

Contents

Reference Data xml file consists of two overall types of static data: Configuration and List Data
Configuration can have one of 3 subtypes: headerConfiguration, registrationCollectorConfiguration or menuConfiguration.

The types are explained below.

For reference, a sample reference data xml file can be seen here:  XML example


Configuration

  • headerConfiguration 
  • registrationCollectorConfiguration
    • Collector Steps that may be merged to workflows already defined in application.cfg
    • The document handler classes (i.e. Receive, Pick, Ship) manages which Collector Steps are in fact enabled for the document type.
    • See also: Steps

  • menuConfiguration
    • Menu items included in the main menu. Is always generated based on current data from from Mobile WMS Menu Setup.
    • Should never need be changed programmatically (and has no Business Central integration events)

List Data (used to populate drop-down boxes)

  • Location Codes, Return Reason Code, etc.. or customized data
  • To be used for data that is very unlikely to change during the handheld device session. Transactional data like Sales Orders should never be provided as reference List Data.

 

Example of headerConfiguration

  • Key
    • A predefined key 
      • Base functional Areas (UnplannedCountHeader, PickOrderFilters) or custom name used by a custom page/Tasklet
  • Value
    • Property Value

    <ReferenceData>
      <Configuration>
        <Key>PickOrderFilters</Key>
        <Value>
          <![CDATA[
          <headerConfiguration>
            <lines>
              <add id="1"
                   name="Route"
                   label="Tur"
                   labelWidth="50"
                   inputType="List"
                   dataTable="Route"
                   dataKeyColumn="Number"
                   dataDisplayColumn="Name"
                   clearOnClear="false"
                   acceptBarcode="false"/>
              <add id="2"
                   name="DeliveryDate"
                   label="Leveringsdato"
                   labelWidth="50"
                   inputType="Date"
                   clearOnClear="false"
                   acceptBarcode="false"/>
            </lines>
          </headerConfiguration>
          ]]>
        </Value>
      </Configuration>
    </ReferenceData>

 

See also: HeaderConfiguration attributes


Example of registrationCollectorConfiguration

  • Key
    • A predefined key 
  • Value
    • Property Value

<ReferenceData>
    <Configuration>
        <Key>OrderLineExtraInfo</Key>
        <Value>
          <![CDATA[
          <registrationCollectorConfiguration>
            <steps>
              <add inputType="Decimal" 
                   id="1" 
                   name="Demo" 
                   header="Demo Header" 
                   label="Demo:" 
                   labelWidth="100" 
                   helpLabel="Demo" 
                   length="3" 
                   autoForwardAfterScan="true" 
                   optional="false" 
                   visible="true" 
                   defaultValue="0" 
                   eanAi="" 
                   performCalculation="true" 
                   helpLabelMaximize="false" 
                   overDeliveryValidation="Warn" 
                   editable="true" 
                   uniqueValues="true" 
                   minValue="0" 
                   maxValue="0" 
                   primaryInputMethod="Scan"/>
            </steps>
          </registrationCollectorConfiguration>
          ]]>
        </Value>
    </Configuration>
</ReferenceData>

Example of ListData (DataTable)

<ReferenceData> 
  <UnitOfMeasure>
    <Code>BOX</Code>
    <Name>Box</Name>
  </UnitOfMeasure>
  <UnitOfMeasure>
    <Code>CAN</Code>
    <Name>Can</Name>
  </UnitOfMeasure>
  <UnitOfMeasure>
    <Code>DAY</Code>
    <Name>Day</Name>
  </UnitOfMeasure>
</ReferenceData>

This XML is automatically converted into table/list data and can be used to populate drop-down boxes by referencing the table and column names in the configuration.

 

  • No labels