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

    Variable sc_req_itemConst

    sc_req_item: {
        actions: ["read", "update", "create"];
        allowClientScripts: true;
        allowNewFields: true;
        allowUiActions: true;
        allowWebServiceAccess: true;
        attributes: {
            global_search_config_handler: "RequestItemSearchConfig";
            hasWorkflow: true;
        };
        audit: true;
        extends: "task";
        label: "Requested Item";
        licensingConfig: {
            licenseCondition: "requested_forISEMPTY^sys_updated_byNSAMEASrequest.requested_for.user_name^stateNOT IN-5,1^NQrequested_forISNOTEMPTY^sys_updated_byNSAMEASrequest.requested_for.user_name^sys_updated_byNSAMEASrequested_for.user_name^stateNOT IN-5,1^EQ";
        };
        name: "sc_req_item";
        schema: {
            assigned_to: OverrideColumnType;
            backordered: Typed<boolean, { label: "Backordered" }>;
            billable: Typed<boolean, { label: "Billable" }>;
            cat_item: Typed<
                | string
                | Record<"sc_cat_item">
                | ExplicitKey<"sc_cat_item">
                | TableBrand<"sc_cat_item">,
                {
                    attributes: {
                        popover: true;
                        popup_processor: "com.glideapp.servicecatalog.CatItemPopper";
                    };
                    label: "Item";
                    referenceQual: "type!=bundle^sys_class_name!=sc_cat_item_guide^type!=package^sys_class_name!=sc_cat_item_content^EQ";
                    referenceTable: "sc_cat_item";
                    useReferenceQualifier: "simple";
                },
            >;
            configuration_item: Typed<
                | string
                | Record<"cmdb_ci">
                | ExplicitKey<"cmdb_ci">
                | TableBrand<"cmdb_ci">,
                {
                    attributes: { encode_utf8: false };
                    label: "Configuration item";
                    referenceQual: "install_status=6";
                    referenceTable: "cmdb_ci";
                    useReferenceQualifier: "simple";
                },
            >;
            context: Typed<
                | string
                | Record<"wf_context">
                | ExplicitKey<"wf_context">
                | TableBrand<"wf_context">,
                {
                    attributes: { encode_utf8: false };
                    label: "Context";
                    referenceTable: "wf_context";
                },
            >;
            estimated_delivery: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                {
                    attributes: { edge_encryption_enabled: true };
                    label: "Estimated delivery";
                },
            >;
            flow_context: Typed<
                | string
                | Record<"sys_flow_context">
                | ExplicitKey<"sys_flow_context">
                | TableBrand<"sys_flow_context">,
                {
                    attributes: { encode_utf8: false; no_text_index: true };
                    cascadeRule: "none";
                    label: "Flow Context";
                    referenceTable: "sys_flow_context";
                },
            >;
            order_guide: Typed<
                | string
                | Record<"sc_cat_item_guide">
                | ExplicitKey<"sc_cat_item_guide">
                | TableBrand<"sc_cat_item_guide">,
                {
                    attributes: { encode_utf8: false };
                    label: "Order Guide";
                    referenceTable: "sc_cat_item_guide";
                },
            >;
            price: Typed<
                string
                | number,
                { columnType: "currency"; label: "Price"; maxLength: 20 },
            >;
            priority: OverrideColumnType;
            quantity: Typed<number, { default: "1"; label: "Quantity" }>;
            recurring_frequency: Typed<
                string
                | number,
                {
                    dropdown: "dropdown_with_none";
                    dynamicValueDefinitions: {
                        field: "value";
                        table: "sys_frequency";
                        type: "choices_from_other_table";
                    };
                    label: "Recurring Price Frequency";
                },
            >;
            recurring_price: Typed<
                string
                | number,
                {
                    attributes: { serializer: "com.glide.script.PriceXMLSerializer" };
                    columnType: "price";
                    default: "0";
                    label: "Recurring Price";
                    maxLength: 20;
                },
            >;
            request: Typed<
                | string
                | Record<"sc_request">
                | ExplicitKey<"sc_request">
                | TableBrand<"sc_request">,
                {
                    attributes: { encode_utf8: false };
                    cascadeRule: "delete";
                    label: "Request";
                    referenceTable: "sc_request";
                },
            >;
            requested_for: Typed<
                | string
                | Record<"sys_user">
                | ExplicitKey<"sys_user">
                | TableBrand<"sys_user">,
                {
                    attributes: { encode_utf8: false; no_text_index: true };
                    default: "javascript:gs.getUserID()";
                    label: [
                        {
                            hint: "On behalf of another individual";
                            label: "Requested for";
                            plural: "Requested for";
                        },
                    ];
                    referenceTable: "sys_user";
                },
            >;
            sc_catalog: Typed<
                | string
                | Record<"sc_catalog">
                | ExplicitKey<"sc_catalog">
                | TableBrand<"sc_catalog">,
                {
                    label: "Catalog";
                    readOnly: true;
                    readOnlyOption: "instance_configured";
                    referenceTable: "sc_catalog";
                },
            >;
            stage: Typed<
                "waiting_for_approval"
                | "fulfillment"
                | "delivery",
                {
                    attributes: { icons: "WorkflowIconsSCR" };
                    choices: {
                        delivery: { label: "Delivery"; sequence: 3 };
                        fulfillment: { label: "Fulfillment"; sequence: 2 };
                        waiting_for_approval: { label: "Waiting for Approval"; sequence: 1 };
                    };
                    columnType: "workflow";
                    default: "waiting_for_approval";
                    dropdown: "dropdown_with_none";
                    label: "Stage";
                    maxLength: 80;
                    readOnly: true;
                    readOnlyOption: "strict_read_only";
                },
            >;
            sys_id: Typed<
                string
                | number,
                {
                    active: true;
                    column_type: "GUID";
                    label: "Sys ID";
                    mandatory: false;
                    read_only: false;
                },
            >;
        };
        textIndex: true;
    } = ...

    Type Declaration

    • Readonlyactions: ["read", "update", "create"]
    • ReadonlyallowClientScripts: true
    • ReadonlyallowNewFields: true
    • ReadonlyallowUiActions: true
    • ReadonlyallowWebServiceAccess: true
    • Readonlyattributes: { global_search_config_handler: "RequestItemSearchConfig"; hasWorkflow: true }
    • Readonlyaudit: true
    • Readonlyextends: "task"
    • Readonlylabel: "Requested Item"
    • ReadonlylicensingConfig: {
          licenseCondition: "requested_forISEMPTY^sys_updated_byNSAMEASrequest.requested_for.user_name^stateNOT IN-5,1^NQrequested_forISNOTEMPTY^sys_updated_byNSAMEASrequest.requested_for.user_name^sys_updated_byNSAMEASrequested_for.user_name^stateNOT IN-5,1^EQ";
      }
    • Readonlyname: "sc_req_item"
    • Readonlyschema: {
          assigned_to: OverrideColumnType;
          backordered: Typed<boolean, { label: "Backordered" }>;
          billable: Typed<boolean, { label: "Billable" }>;
          cat_item: Typed<
              | string
              | Record<"sc_cat_item">
              | ExplicitKey<"sc_cat_item">
              | TableBrand<"sc_cat_item">,
              {
                  attributes: {
                      popover: true;
                      popup_processor: "com.glideapp.servicecatalog.CatItemPopper";
                  };
                  label: "Item";
                  referenceQual: "type!=bundle^sys_class_name!=sc_cat_item_guide^type!=package^sys_class_name!=sc_cat_item_content^EQ";
                  referenceTable: "sc_cat_item";
                  useReferenceQualifier: "simple";
              },
          >;
          configuration_item: Typed<
              | string
              | Record<"cmdb_ci">
              | ExplicitKey<"cmdb_ci">
              | TableBrand<"cmdb_ci">,
              {
                  attributes: { encode_utf8: false };
                  label: "Configuration item";
                  referenceQual: "install_status=6";
                  referenceTable: "cmdb_ci";
                  useReferenceQualifier: "simple";
              },
          >;
          context: Typed<
              | string
              | Record<"wf_context">
              | ExplicitKey<"wf_context">
              | TableBrand<"wf_context">,
              {
                  attributes: { encode_utf8: false };
                  label: "Context";
                  referenceTable: "wf_context";
              },
          >;
          estimated_delivery: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              {
                  attributes: { edge_encryption_enabled: true };
                  label: "Estimated delivery";
              },
          >;
          flow_context: Typed<
              | string
              | Record<"sys_flow_context">
              | ExplicitKey<"sys_flow_context">
              | TableBrand<"sys_flow_context">,
              {
                  attributes: { encode_utf8: false; no_text_index: true };
                  cascadeRule: "none";
                  label: "Flow Context";
                  referenceTable: "sys_flow_context";
              },
          >;
          order_guide: Typed<
              | string
              | Record<"sc_cat_item_guide">
              | ExplicitKey<"sc_cat_item_guide">
              | TableBrand<"sc_cat_item_guide">,
              {
                  attributes: { encode_utf8: false };
                  label: "Order Guide";
                  referenceTable: "sc_cat_item_guide";
              },
          >;
          price: Typed<
              string
              | number,
              { columnType: "currency"; label: "Price"; maxLength: 20 },
          >;
          priority: OverrideColumnType;
          quantity: Typed<number, { default: "1"; label: "Quantity" }>;
          recurring_frequency: Typed<
              string
              | number,
              {
                  dropdown: "dropdown_with_none";
                  dynamicValueDefinitions: {
                      field: "value";
                      table: "sys_frequency";
                      type: "choices_from_other_table";
                  };
                  label: "Recurring Price Frequency";
              },
          >;
          recurring_price: Typed<
              string
              | number,
              {
                  attributes: { serializer: "com.glide.script.PriceXMLSerializer" };
                  columnType: "price";
                  default: "0";
                  label: "Recurring Price";
                  maxLength: 20;
              },
          >;
          request: Typed<
              | string
              | Record<"sc_request">
              | ExplicitKey<"sc_request">
              | TableBrand<"sc_request">,
              {
                  attributes: { encode_utf8: false };
                  cascadeRule: "delete";
                  label: "Request";
                  referenceTable: "sc_request";
              },
          >;
          requested_for: Typed<
              | string
              | Record<"sys_user">
              | ExplicitKey<"sys_user">
              | TableBrand<"sys_user">,
              {
                  attributes: { encode_utf8: false; no_text_index: true };
                  default: "javascript:gs.getUserID()";
                  label: [
                      {
                          hint: "On behalf of another individual";
                          label: "Requested for";
                          plural: "Requested for";
                      },
                  ];
                  referenceTable: "sys_user";
              },
          >;
          sc_catalog: Typed<
              | string
              | Record<"sc_catalog">
              | ExplicitKey<"sc_catalog">
              | TableBrand<"sc_catalog">,
              {
                  label: "Catalog";
                  readOnly: true;
                  readOnlyOption: "instance_configured";
                  referenceTable: "sc_catalog";
              },
          >;
          stage: Typed<
              "waiting_for_approval"
              | "fulfillment"
              | "delivery",
              {
                  attributes: { icons: "WorkflowIconsSCR" };
                  choices: {
                      delivery: { label: "Delivery"; sequence: 3 };
                      fulfillment: { label: "Fulfillment"; sequence: 2 };
                      waiting_for_approval: { label: "Waiting for Approval"; sequence: 1 };
                  };
                  columnType: "workflow";
                  default: "waiting_for_approval";
                  dropdown: "dropdown_with_none";
                  label: "Stage";
                  maxLength: 80;
                  readOnly: true;
                  readOnlyOption: "strict_read_only";
              },
          >;
          sys_id: Typed<
              string
              | number,
              {
                  active: true;
                  column_type: "GUID";
                  label: "Sys ID";
                  mandatory: false;
                  read_only: false;
              },
          >;
      }
    • ReadonlytextIndex: true