Skip to main content
Skip table of contents

CodeSet (ver12.0.0)

This is a general-purpose table for storing code sets used in various parts of PowerSchool.

Note: This table is for internal use only and is designed to be flexible enough so that other projects may use it to store code sets. 

Column Name

Initial Version

Data Type

Description

AlternateCode112.0.0Varchar2(40)The primary alternate code value as defined by PowerSchool or the user. Optional.
AlternateCode212.0.0Varchar2(40)The secondary alternate code value as defined by PowerSchool or the user. Optional.
ChangeValidation20.4.0Varchar2(256)The name of a PowerQuery that validates changes and/or deletions of records in this codeset. Optional.
Code12.0.0Varchar2(40)

The code value that is stored in the database, such as Home and Work for phone types and M and F for gender types. Indexed with the CodeType column. Required

CodeOrigin12.0.0Varchar2(40)Indicates the organization (PowerSchool or the user) that defined the code. Required.
CodeSetID12.0.0Number(16,0)Unique sequential number generated by the application. Indexed. Required.

CodeType

12.0.0

Varchar2(20)

A code that describes the group of values. Indexed with DisplayValue column. Required.

Description12.0.0Varchar2(2000)Description of the code set. Optional.
DisplayValue12.0.0Varchar2(100)The value that displays in the codeset dropdowns, such as Home and Work for phone types and Male and Female for gender types. If the value is null the Code field value is used for display. Optional
EffectiveEndDate12.0.0DateThe date the code is no longer valid. Optional.
EffectiveStartDate12.0.0DateThe date the code becomes valid. Optional.

ExcludeFromStateReporting

12.1.0Number(1,0)

Indicates whether a code set item is excluded from State Reporting. Valid values: 1=True, 0=False. Default 0. Required.

IsDeletable12.0.0Number(1,0)Indicates whether or not administrators can delete the code values. Valid values: 1=True, 0=False. Default 1. Required.
IsModifiable12.0.0Number(1,0)Indicates whether or not administrators can modify the code values. Valid values: 1=True, 0=False. Default 1. Required.
IsVisible12.0.0Number(1,0)Indicates whether or not administrators can view the values code. Valid values: 1=True, 0=False. Default 1. Required.
OriginalCodeType12.1.0Varchar2(20)

Does not appear on any PowerSchool pages. Used to hold the value of CodeSet.CodeType when retiring (effectively deleting) a code set item for historical tracking.

ParentCodeSetID12.0.0Number(16,0)Reference to the Parent Code Set ID. Indexed. Null indicates this is a CodeSet Category.
ReportedValue12.0.0Varchar(40)

Value that can be exported into other systems. Optional.

UIDisplayOrder12.0.0Number(4,0)

The order by which the code values display in the application. Optional.

WhenCreated12.0.0Timestamp(6)The date and time the record was created. Defaults to system date. Required.
WhenModified12.0.0

Timestamp(6)

The date and time the record was modified. Defaults to system date. Required.

WhoCreated

12.0.0

Varchar2(100)

The name of the person who created the record. Defaults to user. Required.

WhoModified

12.0.0

Varchar2(100)

The name of person who modified the record. Defaults to user. Required.


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.