0

Validating a lookup

Hi All,

I am trying to create a validation on an option where I use a formula to lookup to the Accounting Period table in NAV to retrieve the start of the financial period and then have a validation incase the user changes this to something that does not exist on the period table.

In other words, a financial period can start in April instead of January so I use a lookup =NL("Lookup";"Accounting Period";"Starting Date";"New Fiscal Year";"True") to look up the available fin periods which start in April.

I then want to ensure that this date is a valid start date in the acc. period table should the user change it for any reason but I don't know what to use to do the validation.
I have managed to do a validation that does a vlookup off an excel range for another option but this is required off the table itself now so I am a bit lost.

Many thanks

Tom

5 comments

Please sign in to leave a comment.