Hi,
I created a template for item in: Setup master templates in Nav 2015.
I set the fields "Description 2" of item to be the mandatory field.
However, when I create a new item -> apply the template I've created, the description 2 is not appear as mandatory, I still can save the item with description 2 as blank.
Do you have any idea how to make it work ?
*This post is locked for comments
Template are for defaulting value upon application of templates. If you require it to be checked then you should write some code in order to achieve the same. Like on triggers when you move to next record or close the Page check should be performed. Make a function to check your all mandatory fields and call this function on above mentioned triggers.
Hi, Hungto
Master Templates Mandatory Field is to Make it Mandatory That Fields Value on The Master Template only It Will Not Make your Master Card for That Field Mandatory Check. if you want To Make Mandatory Display you can Change the Fields Property in the Page "Show Mandatory" to Yes This will show the Red Star on that field but system will not do any validation while closing the Master Card if you need that then you need to Customization.
Thanks
Indika
Hello Hungto,
Setup master templates is mostly used for populating the default value.
If your description 2 is not appear in page, then you have to add "Descripton 2"field in page item card.
if you need validate then you have to write custom code.
Hi,
Please try this link -> www.archerpoint.com/.../how-use-templates-create-customers-and-other-records-nav
Or if you are trying to get the Red Asterix, then it is a customization. Open the dev environment, select the page, go to design and choose the field and in properties, make the ShowMandatory as TRUE.
Hope it helps.
Sohail Ahmed
2
mmv
2
Amol Salvi
2