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

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.

主站蜘蛛池模板: 宜城市| 银川市| 永吉县| 电白县| 寿阳县| 西和县| 武穴市| 乐昌市| 绥滨县| 安西县| 崇文区| 比如县| 浑源县| 大英县| 探索| 新泰市| 永川市| 沙湾县| 凉城县| 谷城县| 汶上县| 于都县| 南宁市| 客服| 酉阳| 和林格尔县| 铅山县| 建水县| 昌图县| 莲花县| 德清县| 乌兰浩特市| 孝昌县| 潞城市| 沂南县| 金华市| 翼城县| 板桥市| 囊谦县| 武穴市| 左云县|