on 05-03-2016 4:24 AM
Dear all experts,
I now developing PDI solution which is displaying the list of invoice documents. Then I need to let end-user select any invoice
from 1st advance list pane to 2nd advance list pane. For now I can make it to be able to select each row only 1 by 1. But in actual work, There are so many invoices document to be selected (more than 100+). By selecting 1 by 1 is very inconvenient.
How to make this functionality work ?
I need to make it selectable for more than 1 row and move it to other list at once.
Best Regards,
Krit R.
Hello Krit,
You can follow the below steps to achieve it.
1) Change the property "SelectOption" of the "List" to "Multi_Select".
2) Create an action in your Custom BO and mark it as "Mass Enable"
3) Now write code in your action to create data in another Custom BO on which the other list is based.
4) The action is mass enabled so all the selected records will be in "this" and it will be a collection. So in order to get each instance selected you have to loop into "this".
Hope it helps.
Thanks & Regards,
Meghna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Meghna
By your instruction. It's work now.
Thank you very much.
Best Regards,
Krit R.
PS. For those who are trying to achieve similar requirement as me.
If you are binding the advance list pane with sub node. Then create an action at sub node level with mass enable option. Here is my code in action (of node)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.