Get Selected Records from lookup form

tompynationtompynation Member Posts: 398
Hi, i've created a new form nl "Packing Order"

Inside this form you can add new Packing Lines based on existing Sales Lines.

So i have the Function GetSalesOrders wich will import the desired Sales lines into the Packing Order.

Now when i run this code, i see a form with all existing sales orders.

lv_SalesHeader.RESET;
lv_SalesHeader.SETRANGE("Document Type",lv_SalesHeader."Document Type"::Order);
IF FORM.RUNMODAL(45,lv_SalesHeader) = ACTION::LookupOK THEN BEGIN

END;

But when i now select more then One sales header record, how do i know which ones were selected?

Answers

  • Lec11Lec11 Member Posts: 91
    See Form 18 "G/L Account List", function GetSelectionFilter.
    This function is called, for example, from OnLookup trigger of Totaling field ... form 16 "Chart of Accounts"
  • tompynationtompynation Member Posts: 398
    thanks i got it working
  • jigneshdhandhajigneshdhandha Member Posts: 41
    Thanks.

    This Code Help me in My Developement...


    Thank Again..
Sign In or Register to comment.