官术网_书友最值得收藏!

Columns and rows

The columns of a table, also referred to as fields, are stored as Dictionary Entries, and are unique to each table. The sys_id column is the 32-character unique identifier field available in all ServiceNow tables. A parent class may have a set of columns; however, a child class can have its own set of columns, along with the columns it has inherited, by extending the parent class. Thus, the dictionary entry for a child class only contains the columns unique to the child class. We will cover creating columns in Chapter 5, Modules, Forms, and Views.

The dictionary entry of a child class contains the fields created explicitly in that child class and not the ones inherited from the parent class. So a record in the child class will have values in both the child class and all of its parent classes, which means that a record in the child class consists of a set of values spanning columns in all parent tables and that share the same sys_id value in the unique identifier field.

The system tracks record changes by the sys_id value and applies any change to all classes that have a record with the matching sys_id value. For example, if we insert a new record in the child incident table, a new corresponding record will also be inserted in the parent Task table, and both rows will share the same sys_id.

主站蜘蛛池模板: 邵武市| 平原县| 正安县| 阿坝| 荃湾区| 瓦房店市| 民权县| 尤溪县| 静乐县| 桃园市| 英吉沙县| 称多县| 班戈县| 神木县| 临沧市| 浙江省| 桦南县| 闻喜县| 霸州市| 民乐县| 红原县| 三门县| 伊通| 濮阳县| 尚义县| 梧州市| 壶关县| 海南省| 湘西| 东宁县| 贺兰县| 体育| 宜春市| 牟定县| 麻阳| 霍州市| 苏尼特左旗| 华容县| 聂荣县| 珠海市| 库车县|