Hi,
iam pulling SOLines items in a new grid using Soline view, but i Dont need all the SOLines and i need to apply a filter, How can i modify my view to acheive that? any help is greatly Appriciated
Thanks in Advance
Hi,
iam pulling SOLines items in a new grid using Soline view, but i Dont need all the SOLines and i need to apply a filter, How can i modify my view to acheive that? any help is greatly Appriciated
Thanks in Advance
Best answer by gprice27
Try using the view’s Cache.Updated to get the selected records
When the user selects the checkbox on the line it will add the record to the Updated list on the view’s cache. You can just iterate that list for your process.
eg if you want to grab the selected lines from the SalesOrder Details into a list for processing...
List<SOLine> materials = Base.Transactions.Cache.Updated.RowCast<SOLine>().ToList();
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.