Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This is an example of the item label print process. It starts on a receive order where the user has selected an order line to print a label for.

High-level process

  1. The "Print Label" action is triggered from the menu

    The context (Order line) is transferred as "Reference ID"
    "Reference ID" is used to determine:
    1. What data is available from the "Reference ID"
    2. Which additional steps that needs to be collected to complete the print

  2. The user is shown with a list of available label templates (setup data in Business Central)
    Before this list is shown, the integration event OnLookupOnPrintLabel_OnAddStepsForTemplate is raised
    This allows you to capture additional information to put on the label


  3. The user selects a label and fills out the required steps
       
    For this particular label (and context) the following steps are collected:
    Unit of MeasureQuantity per Label, Printer selection and the Number of labels.

  4. The data is sent to Business Central where the Dataset for the label is populated
    Before the Dataset is sent to the Cloud Print Service, the event OnPrintLabel_OnAfterPopulateDataset is raised
    In this event the label data can be changed and gives full control over the data on the label

  5. The dataset is sent to the Cloud Print Service
    Cloud Print Service responds with ZPL (Zebra Print Language) instructions corresponding with the selected label and data
    Mobile WMS Android app will issue the ZPL directly to the printer

...