microsoft dynamics - Is it possible to alter the lookup behavior behind a quickfilter in NAV '13 R2? -
microsoft dynamics - Is it possible to alter the lookup behavior behind a quickfilter in NAV '13 R2? -
perhaps matter of not understanding lookup triggers on tables , pages...
when perform item lookup quickfilter box on item list page, want take input , modify wildcards so:
newlookup := convertstr(originallookup, '-', '*'); newlookup := originallookup + '|' + newlookup;
... can tell far, onlookup triggers don't fire when performing quickfilter... @ least, i've set code in onlookup triggers both table , page, without performing lookup action in either case, , quickfilter still homecoming results which, far understand, shouldn't happen if haven't handled aspects of lookup myself.
so:
is possible modify behavior of lookup behind quickfilter in c/al? if so, do that? using onlookup trigger wrong , it's matter of getting right, or have go somewhere else?
quick filter in nav edit box on right side of page "type filter" inside. doesn't have lookups. accepts plain text values or 'macro' filters described on msdn.
unfortunately, impossible modify behavior of filter lookups in rtc has been in classic client. role-tailored client doesn't invoke c/al triggers.
you using onlookup trigger correctly, called when click on lookup button in page field, not in filters tab.
after build filter value. can apply filter setfilter(lookupfield,newlookup); , displayed in 'advanced filters' pane, still lookup field takes business relationship field's tablerelation property, onlookup trigger ignored.
microsoft-dynamics navision
Comments
Post a Comment