Dynamics Ax Appendable lookup

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-07 07:19:08

问题


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:


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



来源:https://stackoverflow.com/questions/6209605/dynamics-ax-appendable-lookup

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!