最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

Extending WHS – Adding a custom work type

网络文摘 William 188浏览 0评论

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.

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址