@servicenow/sdk - v4.4.1
    Preparing search index...

    Variable cmn_buildingConst

    cmn_building: {
        actions: ["read", "update", "create"];
        allowClientScripts: true;
        allowNewFields: true;
        allowUiActions: true;
        allowWebServiceAccess: true;
        label: "Building";
        name: "cmn_building";
        schema: {
            contact: Typed<
                | string
                | Record<"sys_user">
                | ExplicitKey<"sys_user">
                | TableBrand<"sys_user">,
                {
                    dependent: "company";
                    label: [
                        {
                            hint: "Primary contact for the building";
                            label: "Contact";
                            language: "en";
                            plural: "Contacts";
                        },
                    ];
                    referenceTable: "sys_user";
                },
            >;
            floors: Typed<
                number,
                {
                    label: [
                        {
                            hint: "Number of floors in building";
                            label: "Floors";
                            language: "en";
                            plural: "Floors";
                        },
                    ];
                },
            >;
            location: Typed<
                | string
                | Record<"cmn_location">
                | ExplicitKey<"cmn_location">
                | TableBrand<"cmn_location">,
                {
                    label: "Location";
                    referenceFloats: true;
                    referenceTable: "cmn_location";
                },
            >;
            name: Typed<string, { label: "Name"; maxLength: 100 }>;
            notes: Typed<string, { label: "Notes"; maxLength: 4000 }>;
            sys_created_by: Typed<
                string,
                {
                    label: [
                        { label: "Created by"; language: "en"; plural: "Created by" },
                    ];
                },
            >;
            sys_created_on: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                { label: [{ label: "Created"; language: "en"; plural: "Created" }] },
            >;
            sys_id: Typed<
                string,
                {
                    label: [{ label: "Sys ID"; language: "en"; plural: "Sys IDs" }];
                    primary: true;
                },
            >;
            sys_mod_count: Typed<
                number,
                { label: [{ label: "Updates"; language: "en"; plural: "Updates" }] },
            >;
            sys_updated_by: Typed<
                string,
                {
                    label: [
                        { label: "Updated by"; language: "en"; plural: "Updated by" },
                    ];
                },
            >;
            sys_updated_on: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                { label: [{ label: "Updated"; language: "en"; plural: "Updated" }] },
            >;
        };
    } = ...

    Type Declaration

    • Readonlyactions: ["read", "update", "create"]
    • ReadonlyallowClientScripts: true
    • ReadonlyallowNewFields: true
    • ReadonlyallowUiActions: true
    • ReadonlyallowWebServiceAccess: true
    • Readonlylabel: "Building"
    • Readonlyname: "cmn_building"
    • Readonlyschema: {
          contact: Typed<
              | string
              | Record<"sys_user">
              | ExplicitKey<"sys_user">
              | TableBrand<"sys_user">,
              {
                  dependent: "company";
                  label: [
                      {
                          hint: "Primary contact for the building";
                          label: "Contact";
                          language: "en";
                          plural: "Contacts";
                      },
                  ];
                  referenceTable: "sys_user";
              },
          >;
          floors: Typed<
              number,
              {
                  label: [
                      {
                          hint: "Number of floors in building";
                          label: "Floors";
                          language: "en";
                          plural: "Floors";
                      },
                  ];
              },
          >;
          location: Typed<
              | string
              | Record<"cmn_location">
              | ExplicitKey<"cmn_location">
              | TableBrand<"cmn_location">,
              {
                  label: "Location";
                  referenceFloats: true;
                  referenceTable: "cmn_location";
              },
          >;
          name: Typed<string, { label: "Name"; maxLength: 100 }>;
          notes: Typed<string, { label: "Notes"; maxLength: 4000 }>;
          sys_created_by: Typed<
              string,
              { label: [{ label: "Created by"; language: "en"; plural: "Created by" }] },
          >;
          sys_created_on: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              { label: [{ label: "Created"; language: "en"; plural: "Created" }] },
          >;
          sys_id: Typed<
              string,
              {
                  label: [{ label: "Sys ID"; language: "en"; plural: "Sys IDs" }];
                  primary: true;
              },
          >;
          sys_mod_count: Typed<
              number,
              { label: [{ label: "Updates"; language: "en"; plural: "Updates" }] },
          >;
          sys_updated_by: Typed<
              string,
              { label: [{ label: "Updated by"; language: "en"; plural: "Updated by" }] },
          >;
          sys_updated_on: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              { label: [{ label: "Updated"; language: "en"; plural: "Updated" }] },
          >;
      }