Dismiss Notice

Register now to be one of the first members of this SharePoint Community! Click here it just takes seconds!

Dismiss Notice
Welcome Guest from Country Flag

Extending WHS – Adding a new custom work type

Discussion in 'Official Microsoft News' started by Michael Fruergaard, Apr 12, 2017.

Thread Status:
Not open for further replies.
  1. Michael Fruergaard

    Michael Fruergaard Guest

    Blog Posts:
    0
    [​IMG]

    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:

    [​IMG]

    Here is an example of a custom work type:

    [​IMG]

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

    [​IMG]

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

    Continue reading...
     
Thread Status:
Not open for further replies.

Share This Page

LiveZilla Live Chat Software