Skip to Content
author's profile photo Former Member
Former Member

如何通过DIAPI添加拣配清单(PickList)?

大家好!

我的用户现在有如下要求,希望通过单纯的简单的用户界面,添加拣配清单(PickList),以达到物料的占用。

但是,如何通过DIAPI向B1添加拣配清单(PickList)呢?

如果可以,那么如何获得由于添加了拣配清单(PickList)而减少的可用数量呢?因为这些字段在B1中查看是变量或是临时表,而在拣配清单(PickList)中没有这些字段。

另外就是在拣配清单(PickList)中只有数量而没有物料编号。请问如何确定这数量是哪个物料的呢?

感谢大家支持!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 15, 2008 at 02:27 AM

    大家好!

    现在已实现通过DI添加拣配清单(PickList)。

    但新的问题又出现:不知道如何用DI添加基于拣配清单的交货。因为,查看了在客户端中基于拣配清单的交货,其基础单据仍是销售订单啊。

    请教该如何用DI添加基于拣配清单的交货单呢?

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello fu,

      DI里不支持基于拣配清单的交货,不过可以通过UDF来实现,有两个方案:

      1.如果交货单和拣配清单是一对一关系,可以在工具的User-Defined Fields - Management里在Marketing Documents 的Title,加一个UDF: 例如: PickList; 如果想在交货单上直接察看拣配清单, 那么需要在交货单上添加用Link button导航到目标拣配清单,建议的位置是在交货单的物流页(Logistics)上找个空白的地方,具体是:

      拣配清单(label) LinkButton 清单号(TextEdit),然后实现linkButton 的点击事件,使之关联到目标拣配清单

      2.如果交货单和拣配清单是一对多关系, 交货单上的每一行对应一个拣配清单,可以在工具的User-Defined Fields - Management里在Marketing Documents 的Rows,加一个UDF: 例如: PickList;则B1会自动地在交货单的Items的表格加上一列拣配清单(PickList),同样在PickList列可以填写拣配清单好,同时需要自己实现linkbutton功能.

      个人比较推荐第二种方法,灵活,不需要自己再去改交货单的UI,事实上,单据的基础单据也是在Line Item上实现关联关系.

      Kind Regards

      -Yatsea

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.