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

    Variable ast_contractConst

    ast_contract: {
        actions: ["read", "update", "create"];
        allowClientScripts: true;
        allowNewFields: true;
        allowUiActions: true;
        allowWebServiceAccess: true;
        attributes: { "all_tables.text_index_translations": true };
        autoNumber: { number: 10000; prefix: "CNTR" };
        display: "vendor_contract";
        extensible: true;
        label: "Contract";
        name: "ast_contract";
        schema: {
            active: Typed<
                boolean,
                {
                    default: true;
                    label: [
                        {
                            hint: "Indicates whether the contract is currently in use";
                            label: "Active";
                            language: "en";
                            plural: "Active";
                        },
                    ];
                },
            >;
            applicable_taxes: Typed<
                string,
                {
                    attributes: { no_text_index: true };
                    dropdown: "dropdown_with_none";
                    label: [
                        {
                            hint: "Tax applicable to this contract";
                            label: "Applicable taxes";
                            language: "en";
                            plural: "Applicable taxes";
                        },
                    ];
                },
            >;
            application_model: Typed<
                | string
                | Record<"cmdb_application_product_model">
                | ExplicitKey<"cmdb_application_product_model">
                | TableBrand<"cmdb_application_product_model">,
                {
                    attributes: { encode_utf8: false; no_text_index: true };
                    label: [
                        {
                            hint: "the application that this contract is used to support";
                            label: "Application model";
                            language: "en";
                            plural: "Application models";
                        },
                    ];
                    referenceTable: "cmdb_application_product_model";
                },
            >;
            approval_history: Typed<
                string
                | number,
                {
                    attributes: { no_text_index: true };
                    columnType: "journal";
                    label: "Approval History";
                    maxLength: 4000;
                    readOnly: true;
                    spellCheck: true;
                },
            >;
            approver: Typed<
                | string
                | Record<"sys_user">
                | ExplicitKey<"sys_user">
                | TableBrand<"sys_user">,
                {
                    attributes: { encode_utf8: false; readonly_clickthrough: true };
                    cascadeRule: "clear";
                    label: [
                        {
                            hint: "Person who is responsible for reviewing the contract";
                            label: "Approver";
                            language: "en";
                            plural: "Approvers";
                        },
                    ];
                    referenceQual: "roles=contract_manager";
                    referenceTable: "sys_user";
                },
            >;
            business_owner: Typed<
                | string
                | Record<"sys_user">
                | ExplicitKey<"sys_user">
                | TableBrand<"sys_user">,
                {
                    attributes: { encode_utf8: false };
                    label: [
                        {
                            hint: "Internal contact responsible for the ownership of goods or services";
                            label: "Business owner";
                            language: "en";
                            plural: "Business owners";
                        },
                    ];
                    referenceTable: "sys_user";
                },
            >;
            commitment: Typed<
                string
                | number,
                {
                    attributes: { no_text_index: true; omit_sys_original: true };
                    columnType: "currency";
                    label: [
                        {
                            hint: "Amount we agree to spend with this vendor, during the purchase agreement's span";
                            label: "Commitment";
                            language: "en";
                            plural: "Commitments";
                        },
                    ];
                    maxLength: 20;
                },
            >;
            contract_administrator: Typed<
                | string
                | Record<"sys_user">
                | ExplicitKey<"sys_user">
                | TableBrand<"sys_user">,
                {
                    attributes: { encode_utf8: false; readonly_clickthrough: true };
                    cascadeRule: "clear";
                    label: [
                        {
                            hint: "Internal contact for reviewing, interpreting and signing contracts";
                            label: "Contract administrator";
                            language: "en";
                            plural: "Contract administrators";
                        },
                    ];
                    referenceTable: "sys_user";
                },
            >;
            contract_model: Typed<
                | string
                | Record<"cmdb_model">
                | ExplicitKey<"cmdb_model">
                | TableBrand<"cmdb_model">,
                {
                    attributes: { encode_utf8: false; readonly_clickthrough: true };
                    cascadeRule: "restrict";
                    label: [
                        {
                            hint: "Type of contract being created such as Service or Purchase Agreement";
                            label: "Contract model";
                            language: "en";
                            plural: "Contract models";
                        },
                    ];
                    mandatory: true;
                    referenceQual: "javascript:new ContractManagementUtils().getContractModels();";
                    referenceTable: "cmdb_model";
                },
            >;
            cost_adjustment: Typed<
                number,
                {
                    attributes: { no_text_index: true };
                    default: "0";
                    label: [
                        {
                            hint: "Amount of cost change applied to the contract";
                            label: "Cost adjustment amount";
                            language: "en";
                            plural: "Cost adjustment amounts";
                        },
                    ];
                    maxLength: 15;
                },
            >;
            cost_adjustment_percentage: Typed<
                number,
                {
                    attributes: { no_text_index: true };
                    default: "0";
                    label: [
                        {
                            hint: "Percentage of cost change applied to the contract";
                            label: "Cost adjustment percentage";
                            language: "en";
                            plural: "Cost adjustment percentages";
                        },
                    ];
                    maxLength: 15;
                },
            >;
            cost_adjustment_reason: Typed<
                string,
                {
                    attributes: { no_text_index: true };
                    label: [
                        {
                            hint: "Justification for cost adjustment";
                            label: "Cost adjustment reason";
                            language: "en";
                            plural: "Cost adjustment reasons";
                        },
                    ];
                },
            >;
            cost_adjustment_type: Typed<
                string,
                {
                    attributes: { no_text_index: true };
                    dropdown: "dropdown_with_none";
                    label: [
                        {
                            hint: "Type of cost adjustment applied to the contract";
                            label: "Cost adjustment type";
                            language: "en";
                            plural: "Cost adjustment types";
                        },
                    ];
                },
            >;
            cost_center: Typed<
                | string
                | Record<"cmn_cost_center">
                | ExplicitKey<"cmn_cost_center">
                | TableBrand<"cmn_cost_center">,
                {
                    attributes: {
                        encode_utf8: false;
                        no_text_index: true;
                        readonly_clickthrough: true;
                    };
                    cascadeRule: "clear";
                    label: [
                        {
                            hint: "Cost center financially responsible for the asset";
                            label: "Cost center";
                            language: "en";
                            plural: "Cost centers";
                        },
                    ];
                    referenceTable: "cmn_cost_center";
                },
            >;
            cost_per_unit: Typed<
                string
                | number,
                {
                    attributes: { no_text_index: true; omit_sys_original: true };
                    columnType: "currency";
                    label: "Cost per unit";
                    maxLength: 20;
                },
            >;
            covers: Typed<string, { label: "Covers"; maxLength: 4000 }>;
            customer: Typed<
                | string
                | Record<"core_company">
                | ExplicitKey<"core_company">
                | TableBrand<"core_company">,
                {
                    attributes: { encode_utf8: false };
                    label: "Customer";
                    referenceQual: "customer=true";
                    referenceTable: "core_company";
                },
            >;
            description: Typed<
                string,
                {
                    label: [
                        {
                            hint: "Detailed description of the contract";
                            label: "Description";
                            language: "en";
                            plural: "Descriptions";
                        },
                    ];
                    maxLength: 4000;
                },
            >;
            discount: Typed<
                number,
                {
                    attributes: { no_text_index: true };
                    label: [
                        {
                            hint: "Discount this vendor will provide on products covered by this contract";
                            label: "Discount";
                            language: "en";
                            plural: "Discounts";
                        },
                    ];
                    maxLength: 15;
                },
            >;
            ends: Typed<
                `${number}-${number}-${number}`,
                {
                    label: [
                        {
                            hint: "Date on which the contract expires";
                            label: "End date";
                            language: "en";
                            plural: "End dates";
                        },
                    ];
                },
            >;
            expiration: Typed<
                | string
                | Record<"clm_condition_checker">
                | ExplicitKey<"clm_condition_checker">
                | TableBrand<"clm_condition_checker">,
                {
                    attributes: {
                        encode_utf8: false;
                        no_text_index: true;
                        readonly_clickthrough: true;
                    };
                    cascadeRule: "clear";
                    label: [
                        {
                            hint: "Level of contract threshold breach if any occur";
                            label: "Expiration";
                            language: "en";
                            plural: "Expirations";
                        },
                    ];
                    referenceTable: "clm_condition_checker";
                },
            >;
            invoice_payment_terms: Typed<
                string,
                {
                    attributes: { no_text_index: true };
                    dropdown: "dropdown_with_none";
                    label: [
                        {
                            hint: "Invoice payment terms of the contract";
                            label: "Invoice payment terms";
                            language: "en";
                            plural: "Invoice payment terms";
                        },
                    ];
                },
            >;
            license_quantity_entitled: Typed<
                number,
                {
                    attributes: { no_text_index: true };
                    label: [
                        {
                            hint: "Number of license rights granted by the contract, when applicable";
                            label: "License quantity entitled";
                            language: "en";
                            plural: "License quantity entitled";
                        },
                    ];
                    readOnly: true;
                },
            >;
            license_type: Typed<
                string,
                {
                    dropdown: "dropdown_with_none";
                    label: [
                        {
                            hint: "License classification";
                            label: "Agreement type";
                            language: "en";
                            plural: "Agreement types";
                        },
                    ];
                },
            >;
            life_cycle_stage: Typed<
                | string
                | Record<"life_cycle_stage">
                | ExplicitKey<"life_cycle_stage">
                | TableBrand<"life_cycle_stage">,
                {
                    attributes: { encode_utf8: false; no_text_index: true };
                    label: "Life Cycle Stage";
                    maxLength: 40;
                    referenceKey: "name";
                    referenceQual: "javascript: new LifeCycleUtil().filterLifeCycleStage()";
                    referenceTable: "life_cycle_stage";
                },
            >;
            life_cycle_stage_status: Typed<
                | string
                | Record<"life_cycle_stage_status">
                | ExplicitKey<"life_cycle_stage_status">
                | TableBrand<"life_cycle_stage_status">,
                {
                    attributes: { encode_utf8: false; no_text_index: true };
                    label: "Life Cycle Stage Status";
                    maxLength: 40;
                    referenceKey: "name";
                    referenceQual: "javascript: new LifeCycleUtil().filterLifeCycleStageStatus()";
                    referenceTable: "life_cycle_stage_status";
                },
            >;
            lifetime_cost: Typed<
                string
                | number,
                {
                    attributes: { no_text_index: true; omit_sys_original: true };
                    columnType: "currency";
                    label: "Lifetime cost";
                    maxLength: 20;
                },
            >;
            location: Typed<
                | string
                | Record<"cmn_location">
                | ExplicitKey<"cmn_location">
                | TableBrand<"cmn_location">,
                {
                    attributes: {
                        encode_utf8: false;
                        no_text_index: true;
                        readonly_clickthrough: true;
                    };
                    cascadeRule: "clear";
                    label: [
                        {
                            hint: "Location covered by the contract";
                            label: "Location";
                            language: "en";
                            plural: "Locations";
                        },
                    ];
                    referenceTable: "cmn_location";
                },
            >;
            monthly_cost: Typed<
                string
                | number,
                {
                    attributes: { no_text_index: true; omit_sys_original: true };
                    columnType: "currency";
                    default: "0";
                    label: "Monthly cost";
                    maxLength: 20;
                },
            >;
            number: Typed<
                string,
                {
                    default: "javascript:getNextObjNumberPadded();";
                    label: [
                        {
                            hint: "Internal unique number identifying the contract";
                            label: "Number";
                            language: "en";
                            plural: "Numbers";
                        },
                    ];
                    readOnly: true;
                },
            >;
            parent_contract: Typed<
                | string
                | Record<"ast_contract">
                | ExplicitKey<"ast_contract">
                | TableBrand<"ast_contract">,
                {
                    attributes: { encode_utf8: false; readonly_clickthrough: true };
                    cascadeRule: "clear";
                    label: [
                        {
                            hint: "Parent contract or agreement for this contract";
                            label: "Parent contract";
                            language: "en";
                            plural: "Parent contracts";
                        },
                    ];
                    referenceTable: "ast_contract";
                },
            >;
            payment_amount: Typed<
                string
                | number,
                {
                    attributes: { no_text_index: true; omit_sys_original: true };
                    columnType: "currency";
                    default: "0";
                    label: [
                        {
                            hint: "Amount which has been paid so far";
                            label: "Payment amount";
                            language: "en";
                            plural: "Payment amounts";
                        },
                    ];
                    maxLength: 20;
                },
            >;
            payment_schedule: Typed<
                string,
                {
                    attributes: { no_text_index: true };
                    default: "Monthly";
                    dropdown: "dropdown_without_none";
                    label: [
                        {
                            hint: "Schedule defining payments";
                            label: "Payment schedule";
                            language: "en";
                            plural: "Payment schedules";
                        },
                    ];
                },
            >;
            po_number: Typed<
                string,
                {
                    label: [
                        {
                            hint: "Purchase order under which the contract was purchased";
                            label: "PO Number";
                            language: "en";
                            plural: "PO Numbers";
                        },
                    ];
                },
            >;
            process: Typed<
                string,
                {
                    attributes: { no_text_index: true };
                    dropdown: "dropdown_with_none";
                    label: [
                        {
                            hint: "Current operational process being performed on contract(ie. Extension or Renewal)";
                            label: "Process";
                            language: "en";
                            plural: "Process";
                        },
                    ];
                    readOnly: true;
                },
            >;
            process_non_contractual_slas: Typed<
                boolean,
                {
                    default: true;
                    label: [
                        {
                            hint: "Allows the processing of SLA Definitions that aren’t associated with a Contract";
                            label: "Process non-contractual SLAs";
                            language: "en";
                            plural: "Process non-contractual SLAs";
                        },
                    ];
                },
            >;
            ratecard: Typed<
                boolean,
                {
                    label: [
                        {
                            hint: "Flag to identify if this contract is being controlled from rate cards";
                            label: "Has rate card";
                            language: "en";
                            plural: "Has rate cards";
                        },
                    ];
                    readOnly: true;
                },
            >;
            renewable: Typed<
                boolean,
                {
                    default: true;
                    label: [
                        {
                            hint: "Indicates whether the contract includes the possibility for being renewed at the end of its term";
                            label: "Automatically renew";
                            language: "en";
                            plural: "Automatically renews";
                        },
                    ];
                },
            >;
            renewal_contact: Typed<
                | string
                | Record<"sys_user">
                | ExplicitKey<"sys_user">
                | TableBrand<"sys_user">,
                {
                    attributes: {
                        encode_utf8: false;
                        no_text_index: true;
                        readonly_clickthrough: true;
                    };
                    cascadeRule: "clear";
                    label: [
                        {
                            hint: "Person to be contacted for contract renewal/extension on the vendor side";
                            label: "Renewal/Extension contact";
                            language: "en";
                            plural: "Renewal/Extension contacts";
                        },
                    ];
                    referenceTable: "sys_user";
                },
            >;
            renewal_date: Typed<
                `${number}-${number}-${number}`,
                {
                    label: [
                        {
                            hint: "Date on which the contract renewal takes effect";
                            label: "Renewal start date";
                            language: "en";
                            plural: "Renewal start dates";
                        },
                    ];
                },
            >;
            renewal_end_date: Typed<
                `${number}-${number}-${number}`,
                {
                    label: [
                        {
                            hint: "Date on which the contract renewal ends";
                            label: "Renewal end date";
                            language: "en";
                            plural: "Renewal end dates";
                        },
                    ];
                },
            >;
            renewal_options: Typed<
                string,
                {
                    attributes: { no_text_index: true };
                    dropdown: "dropdown_with_none";
                    label: [
                        {
                            hint: "Renewal duration";
                            label: "Options";
                            language: "en";
                            plural: "Options";
                        },
                    ];
                },
            >;
            sales_tax: Typed<
                boolean,
                {
                    default: true;
                    label: [
                        {
                            hint: "Indicates whether sales tax should be applied to the total cost";
                            label: "Sales tax";
                            language: "en";
                            plural: "Sales taxes";
                        },
                    ];
                },
            >;
            short_description: Typed<
                string,
                {
                    label: [
                        {
                            hint: "Short description of the contract";
                            label: "Name";
                            language: "en";
                            plural: "Names";
                        },
                    ];
                    maxLength: 100;
                },
            >;
            starts: Typed<
                `${number}-${number}-${number}`,
                {
                    label: [
                        {
                            hint: "Date on which the contract takes effect";
                            label: "Start date";
                            language: "en";
                            plural: "Start dates";
                        },
                    ];
                },
            >;
            state: Typed<
                string,
                {
                    attributes: { ignore_filter_on_new: true };
                    default: "draft";
                    dropdown: "dropdown_with_none";
                    label: [
                        {
                            hint: "Current state of the contract";
                            label: "State";
                            language: "en";
                            plural: "States";
                        },
                    ];
                    readOnly: true;
                },
            >;
            sub_total_cost: Typed<
                string
                | number,
                {
                    attributes: { no_text_index: true; omit_sys_original: true };
                    columnType: "currency";
                    default: "0";
                    label: "Sub total cost";
                    maxLength: 20;
                },
            >;
            substate: Typed<
                string,
                {
                    attributes: { ignore_filter_on_new: true; no_text_index: true };
                    default: "awaiting_review";
                    dependent: "state";
                    dropdown: "dropdown_with_none";
                    label: [
                        {
                            hint: "Current substate of the contract";
                            label: "Substate";
                            language: "en";
                            plural: "Substates";
                        },
                    ];
                    readOnly: true;
                },
            >;
            sys_class_name: Typed<
                string,
                {
                    attributes: { no_text_index: true };
                    default: "javascript:current.getTableName();";
                    dropdown: "dropdown_without_none";
                    label: "Contract type";
                    maxLength: 80;
                },
            >;
            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_domain: Typed<
                Record<"domain">
                | "global",
                {
                    default: "global";
                    label: [
                        {
                            hint: "Domain to which the contract belongs";
                            label: "Domain";
                            language: "en";
                            plural: "Domains";
                        },
                    ];
                },
            >;
            sys_domain_path: Typed<
                string,
                {
                    attributes: { case_sensitive: true };
                    default: "/";
                    label: "Domain Path";
                },
            >;
            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" }] },
            >;
            tax_cost: Typed<
                string
                | number,
                {
                    attributes: { no_text_index: true; omit_sys_original: true };
                    columnType: "currency";
                    label: [
                        {
                            hint: "Total cost of the tax";
                            label: "Tax cost";
                            language: "en";
                            plural: "Tax costs";
                        },
                    ];
                    maxLength: 20;
                },
            >;
            tax_exempt: Typed<
                boolean,
                {
                    default: false;
                    label: [
                        {
                            hint: "Indicates whether the contract is exempt from tax";
                            label: "Tax exempt";
                            language: "en";
                            plural: "Tax exempts";
                        },
                    ];
                },
            >;
            tax_rate: Typed<
                number,
                {
                    attributes: { no_text_index: true };
                    default: "javascript:'7'+GlideLocale.get().getDecimalSeparator()+'75';";
                    label: [
                        {
                            hint: "Tax rate to be applied to the total cost if applicable";
                            label: "Effective tax rate";
                            language: "en";
                            plural: "Effective tax rates";
                        },
                    ];
                    maxLength: 15;
                },
            >;
            terms_and_conditions: Typed<
                string
                | number,
                {
                    attributes: {
                        encode_utf8: false;
                        no_text_index: true;
                        serializer: "com.glide.script.TranslatedTextXMLSerializer";
                    };
                    columnType: "translated_html";
                    label: [
                        {
                            hint: "Legally binding terms and conditions of the contract";
                            label: "Terms and conditions";
                            language: "en";
                            plural: "Terms and conditions";
                        },
                    ];
                    maxLength: 10000;
                    readOnly: true;
                },
            >;
            total_cost: Typed<
                string
                | number,
                {
                    attributes: { no_text_index: true; omit_sys_original: true };
                    columnType: "currency";
                    default: "0";
                    label: [
                        {
                            hint: "Final cost of the contract after adjustments have been applied";
                            label: "Total cost";
                            language: "en";
                            plural: "Total costs";
                        },
                    ];
                    maxLength: 20;
                },
            >;
            vendor: Typed<
                | string
                | Record<"core_company">
                | ExplicitKey<"core_company">
                | TableBrand<"core_company">,
                {
                    attributes: { encode_utf8: false; readonly_clickthrough: true };
                    cascadeRule: "clear";
                    label: [
                        {
                            hint: "Vendor of the contract";
                            label: "Vendor";
                            language: "en";
                            plural: "Vendors";
                        },
                    ];
                    referenceQual: "vendor=true^EQ";
                    referenceTable: "core_company";
                },
            >;
            vendor_account: Typed<
                string,
                {
                    label: [
                        {
                            hint: "Vendor account with which the contract is associated";
                            label: "Vendor account";
                            language: "en";
                            plural: "Vendor accounts";
                        },
                    ];
                },
            >;
            vendor_contract: Typed<
                string,
                {
                    label: [
                        {
                            hint: "Unique number identifying the contract, as assigned by the vendor";
                            label: "Contract number";
                            language: "en";
                            plural: "Contract numbers";
                        },
                    ];
                    mandatory: true;
                },
            >;
            yearly_cost: Typed<
                string
                | number,
                {
                    attributes: { no_text_index: true; omit_sys_original: true };
                    columnType: "currency";
                    default: "0";
                    label: "Yearly cost";
                    maxLength: 20;
                },
            >;
        };
        textIndex: true;
    } = ...

    Type Declaration

    • Readonlyactions: ["read", "update", "create"]
    • ReadonlyallowClientScripts: true
    • ReadonlyallowNewFields: true
    • ReadonlyallowUiActions: true
    • ReadonlyallowWebServiceAccess: true
    • Readonlyattributes: { "all_tables.text_index_translations": true }
    • ReadonlyautoNumber: { number: 10000; prefix: "CNTR" }
    • Readonlydisplay: "vendor_contract"
    • Readonlyextensible: true
    • Readonlylabel: "Contract"
    • Readonlyname: "ast_contract"
    • Readonlyschema: {
          active: Typed<
              boolean,
              {
                  default: true;
                  label: [
                      {
                          hint: "Indicates whether the contract is currently in use";
                          label: "Active";
                          language: "en";
                          plural: "Active";
                      },
                  ];
              },
          >;
          applicable_taxes: Typed<
              string,
              {
                  attributes: { no_text_index: true };
                  dropdown: "dropdown_with_none";
                  label: [
                      {
                          hint: "Tax applicable to this contract";
                          label: "Applicable taxes";
                          language: "en";
                          plural: "Applicable taxes";
                      },
                  ];
              },
          >;
          application_model: Typed<
              | string
              | Record<"cmdb_application_product_model">
              | ExplicitKey<"cmdb_application_product_model">
              | TableBrand<"cmdb_application_product_model">,
              {
                  attributes: { encode_utf8: false; no_text_index: true };
                  label: [
                      {
                          hint: "the application that this contract is used to support";
                          label: "Application model";
                          language: "en";
                          plural: "Application models";
                      },
                  ];
                  referenceTable: "cmdb_application_product_model";
              },
          >;
          approval_history: Typed<
              string
              | number,
              {
                  attributes: { no_text_index: true };
                  columnType: "journal";
                  label: "Approval History";
                  maxLength: 4000;
                  readOnly: true;
                  spellCheck: true;
              },
          >;
          approver: Typed<
              | string
              | Record<"sys_user">
              | ExplicitKey<"sys_user">
              | TableBrand<"sys_user">,
              {
                  attributes: { encode_utf8: false; readonly_clickthrough: true };
                  cascadeRule: "clear";
                  label: [
                      {
                          hint: "Person who is responsible for reviewing the contract";
                          label: "Approver";
                          language: "en";
                          plural: "Approvers";
                      },
                  ];
                  referenceQual: "roles=contract_manager";
                  referenceTable: "sys_user";
              },
          >;
          business_owner: Typed<
              | string
              | Record<"sys_user">
              | ExplicitKey<"sys_user">
              | TableBrand<"sys_user">,
              {
                  attributes: { encode_utf8: false };
                  label: [
                      {
                          hint: "Internal contact responsible for the ownership of goods or services";
                          label: "Business owner";
                          language: "en";
                          plural: "Business owners";
                      },
                  ];
                  referenceTable: "sys_user";
              },
          >;
          commitment: Typed<
              string
              | number,
              {
                  attributes: { no_text_index: true; omit_sys_original: true };
                  columnType: "currency";
                  label: [
                      {
                          hint: "Amount we agree to spend with this vendor, during the purchase agreement's span";
                          label: "Commitment";
                          language: "en";
                          plural: "Commitments";
                      },
                  ];
                  maxLength: 20;
              },
          >;
          contract_administrator: Typed<
              | string
              | Record<"sys_user">
              | ExplicitKey<"sys_user">
              | TableBrand<"sys_user">,
              {
                  attributes: { encode_utf8: false; readonly_clickthrough: true };
                  cascadeRule: "clear";
                  label: [
                      {
                          hint: "Internal contact for reviewing, interpreting and signing contracts";
                          label: "Contract administrator";
                          language: "en";
                          plural: "Contract administrators";
                      },
                  ];
                  referenceTable: "sys_user";
              },
          >;
          contract_model: Typed<
              | string
              | Record<"cmdb_model">
              | ExplicitKey<"cmdb_model">
              | TableBrand<"cmdb_model">,
              {
                  attributes: { encode_utf8: false; readonly_clickthrough: true };
                  cascadeRule: "restrict";
                  label: [
                      {
                          hint: "Type of contract being created such as Service or Purchase Agreement";
                          label: "Contract model";
                          language: "en";
                          plural: "Contract models";
                      },
                  ];
                  mandatory: true;
                  referenceQual: "javascript:new ContractManagementUtils().getContractModels();";
                  referenceTable: "cmdb_model";
              },
          >;
          cost_adjustment: Typed<
              number,
              {
                  attributes: { no_text_index: true };
                  default: "0";
                  label: [
                      {
                          hint: "Amount of cost change applied to the contract";
                          label: "Cost adjustment amount";
                          language: "en";
                          plural: "Cost adjustment amounts";
                      },
                  ];
                  maxLength: 15;
              },
          >;
          cost_adjustment_percentage: Typed<
              number,
              {
                  attributes: { no_text_index: true };
                  default: "0";
                  label: [
                      {
                          hint: "Percentage of cost change applied to the contract";
                          label: "Cost adjustment percentage";
                          language: "en";
                          plural: "Cost adjustment percentages";
                      },
                  ];
                  maxLength: 15;
              },
          >;
          cost_adjustment_reason: Typed<
              string,
              {
                  attributes: { no_text_index: true };
                  label: [
                      {
                          hint: "Justification for cost adjustment";
                          label: "Cost adjustment reason";
                          language: "en";
                          plural: "Cost adjustment reasons";
                      },
                  ];
              },
          >;
          cost_adjustment_type: Typed<
              string,
              {
                  attributes: { no_text_index: true };
                  dropdown: "dropdown_with_none";
                  label: [
                      {
                          hint: "Type of cost adjustment applied to the contract";
                          label: "Cost adjustment type";
                          language: "en";
                          plural: "Cost adjustment types";
                      },
                  ];
              },
          >;
          cost_center: Typed<
              | string
              | Record<"cmn_cost_center">
              | ExplicitKey<"cmn_cost_center">
              | TableBrand<"cmn_cost_center">,
              {
                  attributes: {
                      encode_utf8: false;
                      no_text_index: true;
                      readonly_clickthrough: true;
                  };
                  cascadeRule: "clear";
                  label: [
                      {
                          hint: "Cost center financially responsible for the asset";
                          label: "Cost center";
                          language: "en";
                          plural: "Cost centers";
                      },
                  ];
                  referenceTable: "cmn_cost_center";
              },
          >;
          cost_per_unit: Typed<
              string
              | number,
              {
                  attributes: { no_text_index: true; omit_sys_original: true };
                  columnType: "currency";
                  label: "Cost per unit";
                  maxLength: 20;
              },
          >;
          covers: Typed<string, { label: "Covers"; maxLength: 4000 }>;
          customer: Typed<
              | string
              | Record<"core_company">
              | ExplicitKey<"core_company">
              | TableBrand<"core_company">,
              {
                  attributes: { encode_utf8: false };
                  label: "Customer";
                  referenceQual: "customer=true";
                  referenceTable: "core_company";
              },
          >;
          description: Typed<
              string,
              {
                  label: [
                      {
                          hint: "Detailed description of the contract";
                          label: "Description";
                          language: "en";
                          plural: "Descriptions";
                      },
                  ];
                  maxLength: 4000;
              },
          >;
          discount: Typed<
              number,
              {
                  attributes: { no_text_index: true };
                  label: [
                      {
                          hint: "Discount this vendor will provide on products covered by this contract";
                          label: "Discount";
                          language: "en";
                          plural: "Discounts";
                      },
                  ];
                  maxLength: 15;
              },
          >;
          ends: Typed<
              `${number}-${number}-${number}`,
              {
                  label: [
                      {
                          hint: "Date on which the contract expires";
                          label: "End date";
                          language: "en";
                          plural: "End dates";
                      },
                  ];
              },
          >;
          expiration: Typed<
              | string
              | Record<"clm_condition_checker">
              | ExplicitKey<"clm_condition_checker">
              | TableBrand<"clm_condition_checker">,
              {
                  attributes: {
                      encode_utf8: false;
                      no_text_index: true;
                      readonly_clickthrough: true;
                  };
                  cascadeRule: "clear";
                  label: [
                      {
                          hint: "Level of contract threshold breach if any occur";
                          label: "Expiration";
                          language: "en";
                          plural: "Expirations";
                      },
                  ];
                  referenceTable: "clm_condition_checker";
              },
          >;
          invoice_payment_terms: Typed<
              string,
              {
                  attributes: { no_text_index: true };
                  dropdown: "dropdown_with_none";
                  label: [
                      {
                          hint: "Invoice payment terms of the contract";
                          label: "Invoice payment terms";
                          language: "en";
                          plural: "Invoice payment terms";
                      },
                  ];
              },
          >;
          license_quantity_entitled: Typed<
              number,
              {
                  attributes: { no_text_index: true };
                  label: [
                      {
                          hint: "Number of license rights granted by the contract, when applicable";
                          label: "License quantity entitled";
                          language: "en";
                          plural: "License quantity entitled";
                      },
                  ];
                  readOnly: true;
              },
          >;
          license_type: Typed<
              string,
              {
                  dropdown: "dropdown_with_none";
                  label: [
                      {
                          hint: "License classification";
                          label: "Agreement type";
                          language: "en";
                          plural: "Agreement types";
                      },
                  ];
              },
          >;
          life_cycle_stage: Typed<
              | string
              | Record<"life_cycle_stage">
              | ExplicitKey<"life_cycle_stage">
              | TableBrand<"life_cycle_stage">,
              {
                  attributes: { encode_utf8: false; no_text_index: true };
                  label: "Life Cycle Stage";
                  maxLength: 40;
                  referenceKey: "name";
                  referenceQual: "javascript: new LifeCycleUtil().filterLifeCycleStage()";
                  referenceTable: "life_cycle_stage";
              },
          >;
          life_cycle_stage_status: Typed<
              | string
              | Record<"life_cycle_stage_status">
              | ExplicitKey<"life_cycle_stage_status">
              | TableBrand<"life_cycle_stage_status">,
              {
                  attributes: { encode_utf8: false; no_text_index: true };
                  label: "Life Cycle Stage Status";
                  maxLength: 40;
                  referenceKey: "name";
                  referenceQual: "javascript: new LifeCycleUtil().filterLifeCycleStageStatus()";
                  referenceTable: "life_cycle_stage_status";
              },
          >;
          lifetime_cost: Typed<
              string
              | number,
              {
                  attributes: { no_text_index: true; omit_sys_original: true };
                  columnType: "currency";
                  label: "Lifetime cost";
                  maxLength: 20;
              },
          >;
          location: Typed<
              | string
              | Record<"cmn_location">
              | ExplicitKey<"cmn_location">
              | TableBrand<"cmn_location">,
              {
                  attributes: {
                      encode_utf8: false;
                      no_text_index: true;
                      readonly_clickthrough: true;
                  };
                  cascadeRule: "clear";
                  label: [
                      {
                          hint: "Location covered by the contract";
                          label: "Location";
                          language: "en";
                          plural: "Locations";
                      },
                  ];
                  referenceTable: "cmn_location";
              },
          >;
          monthly_cost: Typed<
              string
              | number,
              {
                  attributes: { no_text_index: true; omit_sys_original: true };
                  columnType: "currency";
                  default: "0";
                  label: "Monthly cost";
                  maxLength: 20;
              },
          >;
          number: Typed<
              string,
              {
                  default: "javascript:getNextObjNumberPadded();";
                  label: [
                      {
                          hint: "Internal unique number identifying the contract";
                          label: "Number";
                          language: "en";
                          plural: "Numbers";
                      },
                  ];
                  readOnly: true;
              },
          >;
          parent_contract: Typed<
              | string
              | Record<"ast_contract">
              | ExplicitKey<"ast_contract">
              | TableBrand<"ast_contract">,
              {
                  attributes: { encode_utf8: false; readonly_clickthrough: true };
                  cascadeRule: "clear";
                  label: [
                      {
                          hint: "Parent contract or agreement for this contract";
                          label: "Parent contract";
                          language: "en";
                          plural: "Parent contracts";
                      },
                  ];
                  referenceTable: "ast_contract";
              },
          >;
          payment_amount: Typed<
              string
              | number,
              {
                  attributes: { no_text_index: true; omit_sys_original: true };
                  columnType: "currency";
                  default: "0";
                  label: [
                      {
                          hint: "Amount which has been paid so far";
                          label: "Payment amount";
                          language: "en";
                          plural: "Payment amounts";
                      },
                  ];
                  maxLength: 20;
              },
          >;
          payment_schedule: Typed<
              string,
              {
                  attributes: { no_text_index: true };
                  default: "Monthly";
                  dropdown: "dropdown_without_none";
                  label: [
                      {
                          hint: "Schedule defining payments";
                          label: "Payment schedule";
                          language: "en";
                          plural: "Payment schedules";
                      },
                  ];
              },
          >;
          po_number: Typed<
              string,
              {
                  label: [
                      {
                          hint: "Purchase order under which the contract was purchased";
                          label: "PO Number";
                          language: "en";
                          plural: "PO Numbers";
                      },
                  ];
              },
          >;
          process: Typed<
              string,
              {
                  attributes: { no_text_index: true };
                  dropdown: "dropdown_with_none";
                  label: [
                      {
                          hint: "Current operational process being performed on contract(ie. Extension or Renewal)";
                          label: "Process";
                          language: "en";
                          plural: "Process";
                      },
                  ];
                  readOnly: true;
              },
          >;
          process_non_contractual_slas: Typed<
              boolean,
              {
                  default: true;
                  label: [
                      {
                          hint: "Allows the processing of SLA Definitions that aren’t associated with a Contract";
                          label: "Process non-contractual SLAs";
                          language: "en";
                          plural: "Process non-contractual SLAs";
                      },
                  ];
              },
          >;
          ratecard: Typed<
              boolean,
              {
                  label: [
                      {
                          hint: "Flag to identify if this contract is being controlled from rate cards";
                          label: "Has rate card";
                          language: "en";
                          plural: "Has rate cards";
                      },
                  ];
                  readOnly: true;
              },
          >;
          renewable: Typed<
              boolean,
              {
                  default: true;
                  label: [
                      {
                          hint: "Indicates whether the contract includes the possibility for being renewed at the end of its term";
                          label: "Automatically renew";
                          language: "en";
                          plural: "Automatically renews";
                      },
                  ];
              },
          >;
          renewal_contact: Typed<
              | string
              | Record<"sys_user">
              | ExplicitKey<"sys_user">
              | TableBrand<"sys_user">,
              {
                  attributes: {
                      encode_utf8: false;
                      no_text_index: true;
                      readonly_clickthrough: true;
                  };
                  cascadeRule: "clear";
                  label: [
                      {
                          hint: "Person to be contacted for contract renewal/extension on the vendor side";
                          label: "Renewal/Extension contact";
                          language: "en";
                          plural: "Renewal/Extension contacts";
                      },
                  ];
                  referenceTable: "sys_user";
              },
          >;
          renewal_date: Typed<
              `${number}-${number}-${number}`,
              {
                  label: [
                      {
                          hint: "Date on which the contract renewal takes effect";
                          label: "Renewal start date";
                          language: "en";
                          plural: "Renewal start dates";
                      },
                  ];
              },
          >;
          renewal_end_date: Typed<
              `${number}-${number}-${number}`,
              {
                  label: [
                      {
                          hint: "Date on which the contract renewal ends";
                          label: "Renewal end date";
                          language: "en";
                          plural: "Renewal end dates";
                      },
                  ];
              },
          >;
          renewal_options: Typed<
              string,
              {
                  attributes: { no_text_index: true };
                  dropdown: "dropdown_with_none";
                  label: [
                      {
                          hint: "Renewal duration";
                          label: "Options";
                          language: "en";
                          plural: "Options";
                      },
                  ];
              },
          >;
          sales_tax: Typed<
              boolean,
              {
                  default: true;
                  label: [
                      {
                          hint: "Indicates whether sales tax should be applied to the total cost";
                          label: "Sales tax";
                          language: "en";
                          plural: "Sales taxes";
                      },
                  ];
              },
          >;
          short_description: Typed<
              string,
              {
                  label: [
                      {
                          hint: "Short description of the contract";
                          label: "Name";
                          language: "en";
                          plural: "Names";
                      },
                  ];
                  maxLength: 100;
              },
          >;
          starts: Typed<
              `${number}-${number}-${number}`,
              {
                  label: [
                      {
                          hint: "Date on which the contract takes effect";
                          label: "Start date";
                          language: "en";
                          plural: "Start dates";
                      },
                  ];
              },
          >;
          state: Typed<
              string,
              {
                  attributes: { ignore_filter_on_new: true };
                  default: "draft";
                  dropdown: "dropdown_with_none";
                  label: [
                      {
                          hint: "Current state of the contract";
                          label: "State";
                          language: "en";
                          plural: "States";
                      },
                  ];
                  readOnly: true;
              },
          >;
          sub_total_cost: Typed<
              string
              | number,
              {
                  attributes: { no_text_index: true; omit_sys_original: true };
                  columnType: "currency";
                  default: "0";
                  label: "Sub total cost";
                  maxLength: 20;
              },
          >;
          substate: Typed<
              string,
              {
                  attributes: { ignore_filter_on_new: true; no_text_index: true };
                  default: "awaiting_review";
                  dependent: "state";
                  dropdown: "dropdown_with_none";
                  label: [
                      {
                          hint: "Current substate of the contract";
                          label: "Substate";
                          language: "en";
                          plural: "Substates";
                      },
                  ];
                  readOnly: true;
              },
          >;
          sys_class_name: Typed<
              string,
              {
                  attributes: { no_text_index: true };
                  default: "javascript:current.getTableName();";
                  dropdown: "dropdown_without_none";
                  label: "Contract type";
                  maxLength: 80;
              },
          >;
          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_domain: Typed<
              Record<"domain">
              | "global",
              {
                  default: "global";
                  label: [
                      {
                          hint: "Domain to which the contract belongs";
                          label: "Domain";
                          language: "en";
                          plural: "Domains";
                      },
                  ];
              },
          >;
          sys_domain_path: Typed<
              string,
              {
                  attributes: { case_sensitive: true };
                  default: "/";
                  label: "Domain Path";
              },
          >;
          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" }] },
          >;
          tax_cost: Typed<
              string
              | number,
              {
                  attributes: { no_text_index: true; omit_sys_original: true };
                  columnType: "currency";
                  label: [
                      {
                          hint: "Total cost of the tax";
                          label: "Tax cost";
                          language: "en";
                          plural: "Tax costs";
                      },
                  ];
                  maxLength: 20;
              },
          >;
          tax_exempt: Typed<
              boolean,
              {
                  default: false;
                  label: [
                      {
                          hint: "Indicates whether the contract is exempt from tax";
                          label: "Tax exempt";
                          language: "en";
                          plural: "Tax exempts";
                      },
                  ];
              },
          >;
          tax_rate: Typed<
              number,
              {
                  attributes: { no_text_index: true };
                  default: "javascript:'7'+GlideLocale.get().getDecimalSeparator()+'75';";
                  label: [
                      {
                          hint: "Tax rate to be applied to the total cost if applicable";
                          label: "Effective tax rate";
                          language: "en";
                          plural: "Effective tax rates";
                      },
                  ];
                  maxLength: 15;
              },
          >;
          terms_and_conditions: Typed<
              string
              | number,
              {
                  attributes: {
                      encode_utf8: false;
                      no_text_index: true;
                      serializer: "com.glide.script.TranslatedTextXMLSerializer";
                  };
                  columnType: "translated_html";
                  label: [
                      {
                          hint: "Legally binding terms and conditions of the contract";
                          label: "Terms and conditions";
                          language: "en";
                          plural: "Terms and conditions";
                      },
                  ];
                  maxLength: 10000;
                  readOnly: true;
              },
          >;
          total_cost: Typed<
              string
              | number,
              {
                  attributes: { no_text_index: true; omit_sys_original: true };
                  columnType: "currency";
                  default: "0";
                  label: [
                      {
                          hint: "Final cost of the contract after adjustments have been applied";
                          label: "Total cost";
                          language: "en";
                          plural: "Total costs";
                      },
                  ];
                  maxLength: 20;
              },
          >;
          vendor: Typed<
              | string
              | Record<"core_company">
              | ExplicitKey<"core_company">
              | TableBrand<"core_company">,
              {
                  attributes: { encode_utf8: false; readonly_clickthrough: true };
                  cascadeRule: "clear";
                  label: [
                      {
                          hint: "Vendor of the contract";
                          label: "Vendor";
                          language: "en";
                          plural: "Vendors";
                      },
                  ];
                  referenceQual: "vendor=true^EQ";
                  referenceTable: "core_company";
              },
          >;
          vendor_account: Typed<
              string,
              {
                  label: [
                      {
                          hint: "Vendor account with which the contract is associated";
                          label: "Vendor account";
                          language: "en";
                          plural: "Vendor accounts";
                      },
                  ];
              },
          >;
          vendor_contract: Typed<
              string,
              {
                  label: [
                      {
                          hint: "Unique number identifying the contract, as assigned by the vendor";
                          label: "Contract number";
                          language: "en";
                          plural: "Contract numbers";
                      },
                  ];
                  mandatory: true;
              },
          >;
          yearly_cost: Typed<
              string
              | number,
              {
                  attributes: { no_text_index: true; omit_sys_original: true };
                  columnType: "currency";
                  default: "0";
                  label: "Yearly cost";
                  maxLength: 20;
              },
          >;
      }
    • ReadonlytextIndex: true