Options

Selected records

staubstaub Member Posts: 14
edited 2013-04-26 in NAV Three Tier
I faced problem how to define user selected records in Nav 2009 was used command SETSELECTIONFILTER, but after upgrade to Nav2013 it does not work - return record has filtered only one current record, exact full key filter. What command should I use instead? Or any ideas?

Thank you!
Jurijs Staubs
Navision developer, (3 years in NAV)

Comments

  • Options
    Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    In NAV2013, codeunit 46 SelectionFilterManagement was created. The function GetSelectionFilter on eg. page 5 Currencies, now executes the function GetSelectionFilterForCurrency from this codeunit. You might look into that code to see how it's done.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • Options
    MarijnMarijn Member Posts: 69
    SETSELECTIONFILTER should work in 2013. Make sure you use CurrPage instead of CurrForm, i.e.

    CurrPage.SETSELECTIONFILTER(SalesInvHeader);
    SalesInvHeader.PrintRecords(TRUE);
Sign In or Register to comment.