How can I make serial number mandatory when receiving in a purchase order?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2015 06:35 AM
Out of the box serial number isnt mandatory input when receiving in assets. I can not figure out how to make this mandatory. Any thoughts?
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2015 08:30 AM
Is that a custom application you built or it is OOB from ServiceNow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2015 08:35 AM
You can do this through a UI Policy described here in the wiki: Creating a UI Policy - ServiceNow Wiki.
This will make the field mandatory from a UI perspective. If you want it mandatory at a database level, you need to create a data policy. Data Policy - ServiceNow Wiki
"Data policies enable you to enforce data consistency by setting mandatory and read-only states for fields. Data policies are similar to UI policies, but UI policies only apply to data entered on a form through the standard browser. Data policies can apply rules to all data entered into the system, including data brought in through email, import sets or web services and data entered through the mobile UI"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2015 09:35 AM
I thought about both a ui policy and just altering the dictionary entry but my problem is i can't find the "allow asset tag input" to default it to "true"? anyone have any ideas on how to find it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2015 09:45 AM
Right click on the field and select Inspect Element to see the field name.