Extending WHS – Adding a new custom work type


Custom work types allow you easily to implement simple confirmation steps in any flow. To create new custom work type follow these steps:

  1. Create a new class implementing the WhsIWorkTypeCustomProcessor interface
  2. Decorate your class with the WhsWorkTypeCustomProcessorFactoryAttribute using the name for the custom work type as parameter.

    Naming considerations for the work type name:

    – The name can be any string – prefix it with your organization’s name to avoid clashes.

    – Define it in a class as a public static const property – this allows reuse.

  3. Register the custom work type in Warehouse management | Setup | Work | Custom work types

Here is a diagram showing where the custom work type fits in:

Here is an example of a custom work type:

Here is an example of how to register the custom work type:

THIS POST APPLIES TO MICROSOFT DYNAMICS FOR OPERATIONS SPRING 2017 PREVIEW; IS PROVIDED AS-IS AND CONFERS NO RIGHTS.


Comments (0)

Skip to main content