Extending WHS – Adding a new custom work type
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:
- Create a new class implementing the WhsIWorkTypeCustomProcessor interface
-
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.
- 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.
*This post is locked for comments