问题
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