Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

Mandatory fields in NAV

$
0
0
Hi,

I have kept FieldA as mandatory in Customer Card, for that i have written code in onqueryclose, onnext and ondelete triggers.

so when you create new customer you will not able to close the page, move to next record without updating FieldA but you can able to delete the record. so this works great.

Here are the issues follows.

1. In NAV 2016, when you create new customer, New lookup button(OK & New) was added in bottom of the screen. when you click this button new record created and prev record gets saved without calling onqueryclose page trigger. so where do i have to write code to validate OK & New button.

2. In NAV 2009, When you open customer list from customer card and then selecting other Customer record. the code is above triggers not gets executed. i tried OnDeactive and OnActive triggers also but no use.

Please advice.

Shyam

Viewing all articles
Browse latest Browse all 10032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>