on 06-03-2013 5:55 AM
Hello Experts,
I've a matrix in a user defined form. on clicking OK button i'm able to copy the matrix contents into the sales order form of SAP B1.
But, i want to copy the contents of a single row clicked by the user.
Please help me doing this.
Thanking You
Malhaar
Hi Pradnya,
What problem you are facing in this ?
Try this :
for (int j = 1; j <= oMatrix.VisualRowCount; j++)
{
if (oMatrix.IsRowSelected(j) == true)
{
//Put your logic here...
}
Hope it helps..
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ankit,
Thank you very much for your help.
I tried this and it worked. also I'm able to copy the selected row's contents to sale order screen.
But this matrix is placed in a user defined form and it stays on the screen.
After updating the sale order screen, i tried to hide and close this form but system is giving invalid form sometimes or form already exists message.
Thanks
Hi,
Try this,
Matrix Row Selectionmode=single
And When you double Click on the row open the form.
Regards,
Prasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Yes you have to check if a row is selected , then only copy it to Sales order form. Moreover if you want to allow user to select only one row at a time then make MultiSelection property of Matrix = false.
Hope it helps.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.