Quantcast
Channel: Microsoft Dynamics NAV
Viewing all articles
Browse latest Browse all 64865

Forum Post: RE: Getting the specific record of the line items

$
0
0
Hi I have created an action button on the Page - 46 - Sales Order Subform and below is the code MultiSelect - OnAction() //lSalesLine is a local record variable that points to "Sales Line" table. CurrPage.SETSELECTIONFILTER( lSalesLine ); IF lSalesLine.FINDSET THEN REPEAT MESSAGE(FORMAT(lSalesLine)); UNTIL lSalesLine.NEXT = 0; In the Sales Order Page, on the lines Fasttab select any single / multiple lines and click this action button MultiSelect. It will loop through and display the message of the selected lines . Hope this helps. Thanks

Viewing all articles
Browse latest Browse all 64865

Trending Articles