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

    Variable sc_req_itemConst

    sc_req_item: {
        extends: "task";
        name: "sc_req_item";
        schema: {
            backordered: Typed<
                boolean,
                {
                    active: true;
                    label: "Backordered";
                    mandatory: false;
                    read_only: false;
                },
            >;
            billable: Typed<
                boolean,
                { active: true; label: "Billable"; mandatory: false; read_only: false },
            >;
            cat_item: Typed<
                | string
                | Record<"sc_cat_item">
                | ExplicitKey<"sc_cat_item">
                | TableBrand<"sc_cat_item">,
                {
                    active: true;
                    label: "Item";
                    mandatory: false;
                    read_only: false;
                    referenceTable: "sc_cat_item";
                },
            >;
            configuration_item: Typed<
                | string
                | Record<"cmdb_ci">
                | ExplicitKey<"cmdb_ci">
                | TableBrand<"cmdb_ci">,
                {
                    active: true;
                    label: "Configuration item";
                    mandatory: false;
                    read_only: false;
                    referenceTable: "cmdb_ci";
                },
            >;
            context: Typed<
                | string
                | Record<"wf_context">
                | ExplicitKey<"wf_context">
                | TableBrand<"wf_context">,
                {
                    active: true;
                    label: "Context";
                    mandatory: false;
                    read_only: false;
                    referenceTable: "wf_context";
                },
            >;
            estimated_delivery: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                {
                    active: true;
                    label: "Estimated delivery";
                    mandatory: false;
                    read_only: false;
                },
            >;
            flow_context: Typed<
                | string
                | Record<"sys_flow_context">
                | ExplicitKey<"sys_flow_context">
                | TableBrand<"sys_flow_context">,
                {
                    active: true;
                    label: "Flow Context";
                    mandatory: false;
                    read_only: false;
                    referenceTable: "sys_flow_context";
                },
            >;
            order_guide: Typed<
                | string
                | Record<"sc_cat_item_guide">
                | ExplicitKey<"sc_cat_item_guide">
                | TableBrand<"sc_cat_item_guide">,
                {
                    active: true;
                    label: "Order Guide";
                    mandatory: false;
                    read_only: false;
                    referenceTable: "sc_cat_item_guide";
                },
            >;
            price: Typed<
                string
                | number,
                {
                    active: true;
                    column_type: "currency";
                    label: "Price";
                    mandatory: false;
                    read_only: false;
                },
            >;
            quantity: Typed<
                number,
                {
                    active: true;
                    default: 1;
                    label: "Quantity";
                    mandatory: false;
                    read_only: false;
                },
            >;
            recurring_frequency: Typed<
                never,
                {
                    active: true;
                    choices: {};
                    dropdown: "dropdown_with_none";
                    label: "Recurring Price Frequency";
                    mandatory: false;
                    read_only: false;
                },
            >;
            recurring_price: Typed<
                string
                | number,
                {
                    active: true;
                    column_type: "price";
                    default: "0";
                    label: "Recurring Price";
                    mandatory: false;
                    read_only: false;
                },
            >;
            request: Typed<
                | string
                | Record<"sc_request">
                | ExplicitKey<"sc_request">
                | TableBrand<"sc_request">,
                {
                    active: true;
                    label: "Request";
                    mandatory: false;
                    read_only: false;
                    referenceTable: "sc_request";
                },
            >;
            requested_for: Typed<
                | string
                | Record<"sys_user">
                | ExplicitKey<"sys_user">
                | TableBrand<"sys_user">,
                {
                    active: true;
                    default: "javascript:gs.getUserID()";
                    label: "Requested for";
                    mandatory: false;
                    read_only: false;
                    referenceTable: "sys_user";
                },
            >;
            sc_catalog: Typed<
                | string
                | Record<"sc_catalog">
                | ExplicitKey<"sc_catalog">
                | TableBrand<"sc_catalog">,
                {
                    active: true;
                    label: "Catalog";
                    mandatory: false;
                    read_only: true;
                    referenceTable: "sc_catalog";
                },
            >;
            stage: Typed<
                string
                | number,
                {
                    active: true;
                    column_type: "workflow";
                    default: "waiting_for_approval";
                    label: "Stage";
                    mandatory: false;
                    read_only: true;
                },
            >;
            sys_id: Typed<
                string
                | number,
                {
                    active: true;
                    column_type: "GUID";
                    label: "Sys ID";
                    mandatory: false;
                    read_only: false;
                },
            >;
        };
    } = ...

    Type Declaration

    • Readonlyextends: "task"
    • Readonlyname: "sc_req_item"
    • Readonlyschema: {
          backordered: Typed<
              boolean,
              { active: true; label: "Backordered"; mandatory: false; read_only: false },
          >;
          billable: Typed<
              boolean,
              { active: true; label: "Billable"; mandatory: false; read_only: false },
          >;
          cat_item: Typed<
              | string
              | Record<"sc_cat_item">
              | ExplicitKey<"sc_cat_item">
              | TableBrand<"sc_cat_item">,
              {
                  active: true;
                  label: "Item";
                  mandatory: false;
                  read_only: false;
                  referenceTable: "sc_cat_item";
              },
          >;
          configuration_item: Typed<
              | string
              | Record<"cmdb_ci">
              | ExplicitKey<"cmdb_ci">
              | TableBrand<"cmdb_ci">,
              {
                  active: true;
                  label: "Configuration item";
                  mandatory: false;
                  read_only: false;
                  referenceTable: "cmdb_ci";
              },
          >;
          context: Typed<
              | string
              | Record<"wf_context">
              | ExplicitKey<"wf_context">
              | TableBrand<"wf_context">,
              {
                  active: true;
                  label: "Context";
                  mandatory: false;
                  read_only: false;
                  referenceTable: "wf_context";
              },
          >;
          estimated_delivery: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              {
                  active: true;
                  label: "Estimated delivery";
                  mandatory: false;
                  read_only: false;
              },
          >;
          flow_context: Typed<
              | string
              | Record<"sys_flow_context">
              | ExplicitKey<"sys_flow_context">
              | TableBrand<"sys_flow_context">,
              {
                  active: true;
                  label: "Flow Context";
                  mandatory: false;
                  read_only: false;
                  referenceTable: "sys_flow_context";
              },
          >;
          order_guide: Typed<
              | string
              | Record<"sc_cat_item_guide">
              | ExplicitKey<"sc_cat_item_guide">
              | TableBrand<"sc_cat_item_guide">,
              {
                  active: true;
                  label: "Order Guide";
                  mandatory: false;
                  read_only: false;
                  referenceTable: "sc_cat_item_guide";
              },
          >;
          price: Typed<
              string
              | number,
              {
                  active: true;
                  column_type: "currency";
                  label: "Price";
                  mandatory: false;
                  read_only: false;
              },
          >;
          quantity: Typed<
              number,
              {
                  active: true;
                  default: 1;
                  label: "Quantity";
                  mandatory: false;
                  read_only: false;
              },
          >;
          recurring_frequency: Typed<
              never,
              {
                  active: true;
                  choices: {};
                  dropdown: "dropdown_with_none";
                  label: "Recurring Price Frequency";
                  mandatory: false;
                  read_only: false;
              },
          >;
          recurring_price: Typed<
              string
              | number,
              {
                  active: true;
                  column_type: "price";
                  default: "0";
                  label: "Recurring Price";
                  mandatory: false;
                  read_only: false;
              },
          >;
          request: Typed<
              | string
              | Record<"sc_request">
              | ExplicitKey<"sc_request">
              | TableBrand<"sc_request">,
              {
                  active: true;
                  label: "Request";
                  mandatory: false;
                  read_only: false;
                  referenceTable: "sc_request";
              },
          >;
          requested_for: Typed<
              | string
              | Record<"sys_user">
              | ExplicitKey<"sys_user">
              | TableBrand<"sys_user">,
              {
                  active: true;
                  default: "javascript:gs.getUserID()";
                  label: "Requested for";
                  mandatory: false;
                  read_only: false;
                  referenceTable: "sys_user";
              },
          >;
          sc_catalog: Typed<
              | string
              | Record<"sc_catalog">
              | ExplicitKey<"sc_catalog">
              | TableBrand<"sc_catalog">,
              {
                  active: true;
                  label: "Catalog";
                  mandatory: false;
                  read_only: true;
                  referenceTable: "sc_catalog";
              },
          >;
          stage: Typed<
              string
              | number,
              {
                  active: true;
                  column_type: "workflow";
                  default: "waiting_for_approval";
                  label: "Stage";
                  mandatory: false;
                  read_only: true;
              },
          >;
          sys_id: Typed<
              string
              | number,
              {
                  active: true;
                  column_type: "GUID";
                  label: "Sys ID";
                  mandatory: false;
                  read_only: false;
              },
          >;
      }