Composite code setup

Use this function to set up custom composite codes for the Mobile Automation (ADC) application.

To know more about the Mobile Automation (ADC) application, please refer to our dedicated How-to guide.

How to create a custom composite code

  1. In X3, go to Setup > Stock > Composite code setup.

  2. Select New on the toolbar to the right of the page.

    Composite code setup screen showing fields for flow, stock site, code, description, and formatting options

  3. Fill in the different fields (only Flow, Composite code and Active fields are mandatory):

    1. Flow: select Stock change.
    2. Stock site: select a stock site. If no stock site is selected, the settings will be applied to all stock sites.
    3. Composite code: define a composite code.
    4. Description: define a description.
    5. Active: enable this for the settings to be readable by the Mobile Automation application.
    6. Code type: select Fixed length or Field separator.
    7. Date format: select a date format.
    8. Field separator: this field is only available if you selected Field separator as your Code type.
    9. Decimal separator: define a decimal separator. You can only use one character.
    10. Blank deletion: enable this to delete empty spaces before reading the barcode values.
  4. In the table below, in the Code column, you can view all the fields available in the Stock change transaction. Select the fields you want to set as filters for your composite code. If you have created custom fields, you can type their name.
  5. Select Create on the toolbar to the right of the page when your composite code is ready.

    Composite code setup screen showing purchase receipt flow with fields for stock site, composite code, description, and formatting options

  6. To view and copy the new composite code, open the Comments box in the toolbar to the right of the page.

    Comments pop‑up window in Sage X3 showing a rich‑text editor with a comment entered

  7. Your custom composite code is ready to be used in Mobile Automation.
Note: The Active field must be enabled for the custom composite code to be readable in the application.

How Mobile Automation interprets composite codes

When a barcode is scanned in Mobile Automation (ADC) application, the system checks if a composite code configuration exists for the current flow.

Mobile Automation applies the following rules when reading a barcode:

  • If a composite code is defined:

    The application checks the Composite code setup (GESCMPH) for the active flow and stock site. If there is a match, Mobile Automation uses these settings to interpret the barcode.

  • If no composite code is defined:

    The application automatically applies GS1 barcode rules to read and interpret the barcode.

  • If no composite code is defined and the barcode is not GS1 compliant:

    The application cannot interpret the barcode. An error message displays.

These rules apply when scanning barcodes on the following flows:

  • Purchase Receipt by purchase order
  • Stock Change
  • Pick Ticket, when the pick ticket is in global allocation

List of recognized fields