Dynamics Ax Appendable lookup

2019-09-06 10:09发布

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.

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.

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

So is this possible?

1条回答
对你真心纯属浪费
2楼-- · 2019-09-06 10:38

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

查看更多
登录 后发表回答