How to add new Contract Type
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2018 03:08 AM
In contract form there is a field called contract type which is a "sys_class_name" field like "Class" field in cmdb_ci table. To add a new class in cmdb_ci we can go to CI class manager. Is there any contract manager in contract table too? I need to find a way to add 15 more contract types.
Many Thanks
Jayanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2018 03:43 AM
Hi Jayanth,
You can add this if you have required previligies to add new records to sys_choice table. Open the contract form and right click on contract type field and click on configure dictionary entry for this field, it opens the dictionary entry form for this and in choice list specification tab check the choice table it is refererring and choice field it is referring. Now open the sys_choice table and add query parameter as table=choice list table and element as choice element, you should see all the existing values of contract type here. Now click on new in sys_choice table and create all additional contract types for table as sys choice table and element as sys choice element values you see in dictionary entry. Below attached snapshots are for my case. Table referred is sales_oppoertunity and element as contract type which are highlighted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2018 04:15 AM
Hi Padmanabam,
Thanks for your reply, but the contract type field i'm talking about is in the table 'ast_contract' and its choice table is None. Please check the below screenshot.
This field is similar to class field on cmdb_ci form, so i need to add a new table to create a new choice value like it is done in "CI Class Manager" of CMDB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-07-2020 02:44 PM
I have added ast_software_license to the list in the ast_contract table's Choice list for the Contract Type (sys_class_name) field. The selection is not displaying in the contract form. The ast_software_license is an OOTB table for the New York release. Any item I am missing?
Also, I need to add a new class but the table needed is not displaying in the CI Class Manager.