AX 2012: Multiple selection in dialog using SysOperation Frame work

Dear All,

I am using SysOperation frame work, to create a user input screen for two fields - Vendor and Vendor Invoices.

I have created the following classes

Contract class - two param methods for vendor and vendor invoice

UI Builder class - Lookup for the Vendor invoices, based on the selected vendor.

Now my requirement is

  1. The user should be allowed to select multiple vendors

  2. And Multiple invoices

How to make multiple selection?

Please Note: I am not using Run Base Frame work.

Regards,

Arun B S

Your implementation doesn’t match your requirements. How do you want to squeeze multiple vendors to a single field (and the same for invoices)?

My advice is: throw away your fields and use a query. Users can set query ranges as needed, including multiple values and wildcards.

Hi Martin,

I have totally 19 fields. From custTable, VendTable, GenralJournalAccountEntry,…and few other tables.

So We don’t want to use query.

In UI Builder class, using FormStringControl, now i am able to control the field, Like

formStringControl.replaceOnLookup(false);

formStringControl.limitTextMode(Automode::Auto);

formStringControl.limitText(200);

formStringControl.displayLength(25);

But still, when i reopen the dialog it is showing only the last selected value.

regards,

Arun B S