How to Set Fileld mandatory when entring the data in forms??
kishi_g
Member Posts: 162
Hi,
I had one doubt in Navision. In Item Card i want the description and item category codes are mandatory. In Item card form if i create new item with Default No.Series when i press next record or previous record without entering the data(description,Item category code) i want to show error. if i put the code in OnQueryClose Form...like TESTFIELD(DESCRIPTION)
iam in that particular record only i am getting error.
how to set specific fields Mandatory....
Thanks & Regards,
kishore.
I had one doubt in Navision. In Item Card i want the description and item category codes are mandatory. In Item card form if i create new item with Default No.Series when i press next record or previous record without entering the data(description,Item category code) i want to show error. if i put the code in OnQueryClose Form...like TESTFIELD(DESCRIPTION)
iam in that particular record only i am getting error.
how to set specific fields Mandatory....
Thanks & Regards,
kishore.
0
Comments
-
In general terms, it would be something which I would advise against.
NAV does it's validation and checking during posting routines etc., leaving an uninterrupted flow for data entry.
You should find that good quality end user training will negate the need for mandatory field checks.
Sorry if it sound negative, but I have seen some truly horrendous implementations of so called mandatory fields. Find another way if you can
0 -
A way could be to make the item blocked when created and when trying to unblock, do some mandatory-field testing.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Why you are not using NotBlank property for those fields at table level.0
-
if i dont touch the filed the Not Blank Property will not work...0
-
as Kriki said - on insert
Blocked = true
on validate of the blocked field you test to see if both fields are filled else you cannot unblock it.
might want to also test if the uom's are blank too0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions