Skip to main content
Post a question

Notifications

Community site session details

Community site session details

Session Id : jtX8pkV2ACy8aUW/Vzcx9+
Dynamics 365 Community / Blogs / mfp's two cents / Extending WHS – Adding a ne...

Extending WHS – Adding a new custom work type

Michael Fruergaard Pontoppidan Profile Picture Michael Fruergaard ... 1,616

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:

WHSWorkType1.png

Here is an example of a custom work type:

WHSWorkType2.png

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

WHSWorkType3.png

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

Comments

*This post is locked for comments