从销售订单上的行访问项目类属性
我在类 (custcol_classorder) 上有一个自定义属性,我想根据所选类填充到销售订单行,当手动将项目添加到销售订单时,我可以使用此属性,但通过“添加多个”按钮添加时则不能。
用户必须填写另一个必填字段,因此我有一个工作流程来触发该字段来更新我的班级顺序字段。如果我使用 {line.class} 我可以从类中获取内部 id,但是如何获取类上的自定义属性?
I have a custom property on the Class (custcol_classorder) that i want to populate to the sales order lines based on the class selected, i have this working when items are manually added to sales order but not when added via the Add Multiple button.
there is another mandatory field that the user must fill in so i have a workflow to trigger off that to update my classorder field. If I user {line.class} i can get the internal id off the class but how do i get to the custom property on the class?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通常,可以通过设置自定义事务列字段并从项目的类的自定义字段中“采购”它们来完成此类操作。
当您发现“添加多个”跳过客户端和工作流脚本时。
如果您确实需要这些脚本脚本的值,则可以在提交用户事件之前在A中进行操作。
Generally this sort of thing can be done by setting up custom transaction column fields and 'sourcing' them from the item's class's custom fields.
As you have discovered 'Add Multiple' skips client and workflow scripts.
If you really need those values scripted you could do it in a before submit user event.