=NF (Key,Field,FlowFilterField_1,FlowFilter_1,FlowFilter_2,..., FlowFilterField_N,FlowFilter_N)
Purpose: Returns a fields based on a record key. Record keys can be generated from the NL function.
For general information about the NF function, see Introducing the NF Function
In Dynamics NAV, when an NL function returns a record key, the Flow Filters from the NL function are not used to calculate the return value of the NF function. Rather, the Flow Field returned by the NF function is calculated based on the Flow filters applied in the NF function.
|Key||Specifies a record key returned by the NL function when the Field parameter is blank or has a Field Cache.|
|Field||Name of the field to return. The field specified must be present in the Field Cache in the NL function if a Field Cache is being used.|
|The following flow filter fields and flow filters are only available in Dynamics NAV.|
|FlowFilterField_1||The name of a flow filter to use in calculating the value to return. Flow filters are only used if a Field is a flow field.|
|FlowFilter_1||The name of the flow filter to use in calculating the value to return. Flow filters are only used if Field is a flow field.|
|FlowFilterField_N||Same as Filter_1 but for FlowFilterField_N. Up to 9 pairs of Flow Filter Field and Flow Filter pairs can be included in an NF Function.|
|FlowFilter_N||Same as Filter_1 but for FlowFilterField_N.|
NF Function Examples
This NF returns the Net Change flow field from the record key in cell A3 and filters it for January 2002.
=NF(A3,"Net Change","Date Filter","1/1/2002..1/31/2002")
This NF returns the Name field from the NL record key in cell B3.
This NF returns the City field from the NL record key in cell B3.