Filter left list by user access?

SOLVED

Is it possible to filter a left list so only records I want the user to see appear?

i.e. Only show records that the user has access to, or only show records that have a creation date < 14 days etc?

So we can have 'All requests', 'my requests' and 'requests over 14 days' options?

  • 0

    You can Memo an Advanced Selection that is available for the user to click on. You can make a STD Global Memo using GUSER and Date$-14 days which would be My Requests created within the last 14 days. Are you familiar with using memos on Advanced Selections?

  • 0 in reply to christycpa

    Thanks for the response.

    I wasn't aware of memos so that's useful to know, however in this instance what I'm really looking to do is have the options on the left menu. Take invoice screen for example, it has all of these items on the left.

    I know I can create a new object and add this to the window to get it to show along the left like this below, however I can't seem to get any filtering to work on that particular object?

  • +1 in reply to nickdavies07
    verified answer

    Figured it out.

    You can call an action in the specific script for the object and filter by chaining the conditions on the filter variable. Both CHE_GAUCHE and FILTRE actions work.

    $ACTION
        Case Action
            When "CHE_GAUCHE" : Gosub CLE_GAUCHE
            When Default
        Endcase
    Return
    
    $CLE_GAUCHE
        FILTSUP = 'APPFLG=2;CLEFLG=1'
    Return