Dynamics Axe附加查询 [英] Dynamics Ax Appendable lookup

查看:95
本文介绍了Dynamics Axe附加查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个表,该表为一个字段设置了关系,这使我可以进行查找. 在validateWrite()中,如果正在验证该字段,我将返回true,以便它不会引发任何错误.

I Have a table with a relationship set for a field which gives me the lookup. Within the validateWrite(), i am returning true if that field is being validated, so that it doesn't throw any error.

现在我想允许用户添加一个逗号",并再次降了下来,选择另一(或同一)值,然而,当选择其附加到原始值.

Now I want to allow the user to add a "comma" and drop down again, selecting another (or same) value, however when selected it appends to the original value.

我尝试在Modified()方法中执行此操作,并附加this.Orig()的文本,但是this.Orig()检索数据库中最后保存的记录,而不是当前值.

I have tried doing this in the Modified() method, appending the text of the this.Orig(), however this.Orig() retrieves the last saved record in the Database, and not the current value.

查询选择"窗口就是一个例子,它是标准的Ax表单,并且允许这样做.

An example of this is the Query selection window, which is a standard Ax form and allows for this.

那有可能吗?

推荐答案

您应将ReplaceOnLookup属性设置为No,这将允许用户将查找值附加到该字段.

You should set the ReplaceOnLookup attribute to No, which will allow the user to append lookup values to the field.

这篇关于Dynamics Axe附加查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆