Options

Filter records on list page based on related table

EvREvR Member Posts: 178
edited 2016-02-04 in NAV Three Tier
Hi all,

Imagine this situation.
- A list based on the Sales Line table.
- On opening the list I want to filter the records shown based on the Status of the Item that is related to the Sales Line.

So I cannot filter in the SourceTableView because it displays the Sales Line and not the Item table.
How would I go about doing this the correct way?

Gr,
Erik

Best Answer

Answers

  • Options
    EvREvR Member Posts: 178
    Thanks. I was hoping to avoid using flowfields.
    I guess a temp table is the most elegant without fetching unused records from the database.

    If only you could map a query to a page directly....
  • Options
    m_bergerm_berger Member Posts: 7
    edited 2016-02-05
    Another way, without using flowfields, is using a OnFindRecord, OnNextRecord construction. Examples can be found in pages 9311, 9312 and many others.

    [edit]Really should read the comments better, it had already been said :/
Sign In or Register to comment.