Table Name:contract
Table Number:86
Group:Sales Mgr
Description:Contract Manager Contract, Service Contract, Sales Quote, eOrder, and Shopping List header object
Flags:CACHEOBJIDS, ALLOW_FLEX 
Baseline/Custom:Baseline
Fields:
Field NameCommon TypeDatabase TypeGeneric Field IDArray SizeDefaultFlagsCommentField Used in Views
alert_indLONGtinyint   DIRECT When set to 1, indicates there is an alert related to the site  
arch_indLONGint   DIRECT, ALLOW_NULL When set to 1, indicates the object is ready for purge/archive  
close_crdt_indLONGtinyint  DIRECT Indicates whether or not to issue credit upon premature close; i.e., 0=no, 1=yes, default=0  
close_eff_dtCLK_TIMEdatetime   CHANGE_FIELD The date the object was closed  
contr_durCHARvarchar 40  The user defined duration for the object. This is from a user-defined popup  
create_dtCLK_TIMEdatetime    The create date of the object Search (4)
devLONGint151 DIRECT, ALLOW_NULL Row version number for mobile distribution purposes  
dflt_end_dtCLK_TIMEdatetime    The default last day of contracted service for all line items  
dflt_start_dtCLK_TIMEdatetime    The default start date of contracted service for all line items  
evergreen_indLONGtinyint  DIRECT Indicates whether the object is to be auto-renewed; i.e., 0=no, 1=yes, default=0  
expire_dateCLK_TIMEdatetime    The date the object ends. Where line items are involved, this is the ending service date of the latest line item Search (7)
fsvc_end_dateCLK_TIMEdatetime    The end date of earliest ending renewable service under the contract. Used for renewal of contracts. Accommodates non-coterminous contracts Search (1)
handling_costDECIMALdecimal (19,4)   CURRENCY The sum of all handling costs for the object  
hours_for_pmCHARvarchar 30  Specific hours that preventative maintenance procedures may be performed  
idCHARvarchar440  Unique Identifier of the contract/quote/order/shipping list Search (23)
last_save_dtCLK_TIMEdatetime    Date the object was last saved  
last_updateCLK_TIMEdatetime   CHANGE_DATE Date time of last update to the object  
last_xferCLK_TIMEdatetime    Date time of last transfer to trans_record. Reserved; obsolete  
notesCHARvarchar 255  Notes that pertain to the object; used with special considerations flag  
objidLONGint3  DIRECT Internal record number Search (39)
onsite_respLONGint   DIRECT The elapsed time within which a field engineer is required by the object to arrive at the customer site in seconds  
ord_submit_dtCLK_TIMEdatetime    Date the order was submitted Search (4)
order_statusCHARvarchar 30 ALLOW_NULL Quote/Order status Search (2)
pay_optionsCHARvarchar 30  Specifies the method of payment for the object  
phone_respLONGint   DIRECT The elapsed time within which a service rep is required by the object to contact the customer via phone in seconds Search (2)
po_numberCHARvarchar 40  The purchase order number that was used to originally start the contract coverage Search (1)
q_end_dateCLK_TIMEdatetime    The end date for the object. This is the last date the offer or agreement is effective Search (6)
q_issue_dtCLK_TIMEdatetime    The date the object was issued to the prospect Search (6)
q_start_dateCLK_TIMEdatetime    The start date for the object. This is the date the offer becomes effective Search (6)
quote_durLONGsmallint   DIRECT The length of time from the start_date in seconds that the object prices are effective  
ready_to_billLONGtinyint  DIRECT If the contract is ready for new billing record generation it will be set to 1  
renew_notf_indLONGtinyint  DIRECT Indicates whether the object needs renewal notification; i.e., 0=no, 1=yes, default=1  
renew_ntfy_dtCLK_TIMEdatetime    Date on which renewal notification is to be sent. Calculated from renew_cycle and fsvc_end_date  
renew_priorLONGsmallint  DIRECT Number of days to be subtracted from fsvc_end_date to yield renew_ntfy_dt  
sched_indLONGtinyint  DIRECT Indicates whether the object has exactly one schedule; i.e., 0=no, 1=yes, default=1. Reserved; not used  
spec_considLONGint   DIRECT Flag that indicates special circumstances; causes contract form to be automatically posted when contract is selected for a new case  
start_dateCLK_TIMEdatetime    The date the object becames/became effective. Where line items are involved, this is the begin effective date of the earliest line item Search (7)
statusCHARvarchar 40  The current status of the object. This is a user-defined pop up with name depending on struct_type Search (4)
struct_typeLONGtinyint  DIRECT The record type of the object; i.e., 0=service contract, 1=sales item, 2=eOrder, 3=shopping list Search (11)
terms_condCHARvarchar 40  User-defined terms and conditions. This is a user-defined popup with default name Terms and Conditions  
titleCHARvarchar280  Title of the object Search (10)
tot_ship_amtDECIMALdecimal (19,4)   CURRENCY The sum of all shipping charges for the object  
total_grossDECIMALdecimal (19,4)   CURRENCY Total gross price for the object  
total_netDECIMALdecimal (19,4)   CURRENCY Total net price for the object (see struct_type) Search (5)
total_tax_amtDECIMALdecimal (19,4)   CURRENCY The sum of all taxes applied to the object  
typeCHARvarchar 40  The specific nature of the contract-standard. This is a user-defined pop up list with default name of CONTRACT_TYPE Search (5)
unit_typeCHARvarchar 30  The type of units the object is delivered in; e.g., days, calls, hours, visits, etc Search (1)
units_availFLOATreal    The number of units that are currently available for use Search (1)
units_purchFLOATreal    The number of units that were purchased in the object Search (1)
units_usedFLOATreal    The number of units that have been used by the object Search (1)
versionCHARvarchar 10  Version number of the object  
warr_set_indLONGtinyint  DIRECT Indicates whether or not te set line item start dates to end of part warranty date; i.e., 0=no, 1=yes, default=0  
Relations:
RelationTypeTarget ObjectInverse RelationCommentFlagsMTM TableUsed in ViewsSet NameType ID Stored inObjid Stored In
 Exclusive Set Relations
contr_act2act_entryOTMact_entryact_entry2contractActivity log entries for the object       
contract2alertOTMalertalert2contractAlerts for the object       
sell_to2bus_orgMTObus_orgbuyer2contractThe sell-to account   Search (8)   
contract2caseOTMcaseentitlement2contractCases covered by the object       
order2caseOTMcasecase2orderCases raised related to this order       
contract2conditionOTOPconditioncondition2contractState in the life-cycle of the object   Search (11)   
contract2contactMTMcontactcaller2contractContacts related to the object  mtm_contact2_
contract1
Search (3)   
primary2contactMTOcontactprimary2contractPrimary contact for the sale   Search (10)   
contract2contr_scheduleOTMcontr_scheduleschedule2contractSchedules related to the object       
contract2cr_person_roleOTMcr_person_rolecr_person_role2contractPerson role for the contract. Reserved; not used       
contract2currencyMTOcurrencycurrency2contractCurrency object is denominated in   Search (5)   
contract_attch2doc_instOTMdoc_instdoc_inst2contractDocuments attached to the object       
contr_email2email_logOTMemail_logcontr_email2contractObject email logs       
contract2exchangeOTMexchangeexchange2contractExchanges using the contract for entitlement       
contract2fa_contractOTMfa_contractfa_contract2contract       
status2gbst_elmMTOgbst_elmstatus2contractStatus of the object   Search (9)   
contr_notes2notes_logOTMnotes_logcontr_notes2contractObject notes logs       
contr_quote2opportunityMTOopportunityopp_quote2contractRelated opportunities   Search (1)   
contract2order_actionOTMorder_actionorder_action2contractOrder action for an order       
contract2phone_logOTMphone_logcontr_phone2contractRelated phone logs       
contract2price_progMTOprice_progprice_prog2contractPrice program covering the order       
contract2purchase_ordOTMpurchase_ordpurchase_ord2contractPO or credit card to be used to pay for immediate charges for an order       
contract2qq_commentOTMqq_commentcomment2contractComments appearing on the object       
contr_prevq2queueMTOqueueprevq2contractUsed to record which queue the object was accepted from; for temporary accept       
contr_currq2queueMTOqueuequeue2contractQueue the object is dispatched to   Search (1)   
contract2r_rqstOTMr_rqstr_rqst2contractRouting requests for which the object is the subject    route_for source_type source_lowid 
contr_rej_rsn2reject_msgOTMreject_msgreject_msg2contractReject messages for an object that has been rejected       
contract2scr_runOTMscr_runscr_run2contractScript runs initiated by the object       
contract2siteMTMsitecust_loc2contractSites covered by the contract. Valid only for Contract Manager  mtm_site5_
contract0
Search (3)   
contract2dir_sitepartMTMsite_partdir_sitepart2contractTop-level parts covered by the service contract. Note: to be visible, relation contract2site must also be set  mtm_site_part24_
contract5
    
contract2site_partMTMsite_partsite_part2contractSubordinate installed parts covered by the contract. Note: to be visible, relation contract2site must also be set. Valid only for Contract Manager  mtm_site_part4_
contract2
    
contract2status_chgOTMstatus_chgcontr_status_chg2contractStatus changes for the object       
contract2taskOTMtasksm_task2contractAction item for the contract/quote. Reserved; future       
contract2topicOTMtopictopic2contractOrder/Quote/Contract related to this topic    interaction_for focus_type focus_lowid 
owner2userMTOuserowner2contractCurrent owner of the object   Search (4)   
contract2adminMTOuseradmin2contractCurrent administrator of the object   Search (2)   
contr_originator2userMTOuseroriginator2contractUser that originated the object       
contr_wip2wipbinMTOwipbinwipbin2contractWIPbin for the object   Search (1)   
Indexes: (Defined in Clarify Schema)
Index NameFieldsFlags
id_indexid:versionUNIQUE 
Indexes (Defined in Database):
Index NameFieldsAdditional Information
c2c0086contract2condition, sell_to2bus_org, contract2currency, owner2user, status2gbst_elm, primary2contact, contract2adminnonclustered located on PRIMARY
cc2q0086contr_currq2queue, objidnonclustered, unique located on PRIMARY
cw2w0086contr_wip2wipbin, objidnonclustered, unique located on PRIMARY
id_indexid, versionnonclustered, unique located on PRIMARY
ind_contr_quote2opportunitycontr_quote2opportunitynonclustered located on PRIMARY
ind_expire_dateexpire_datenonclustered located on PRIMARY
ind_owner2userowner2user, contr_wip2wipbinnonclustered located on PRIMARY
ind_po_numberpo_numbernonclustered located on PRIMARY
objindexobjidclustered, unique located on PRIMARY
p2c0086primary2contactnonclustered located on PRIMARY
st2bo0086sell_to2bus_orgnonclustered located on PRIMARY
Referenced in Views:
View IDView NameTables
104contr_to_cont contact, contract, site
106alert2objects alert, contact, contract, site, user
4616fc_contract_view bus_org, bus_site_role, contract, site
4627fc_quote_view bus_org, contact, contract, currency, gbst_elm, user
4631fc_cm_contact contact, contact_role, contract, site
4632fc_cm_site contract, site
4662dt_cm_contact contract
5037wipelm_contr condition, contract, gbst_elm, wipbin
5038queelm_contr condition, contract, gbst_elm, queue
5042contr_alst act_entry, contract, gbst_elm, user
5050qry_ccn_hdr_view bus_org, condition, contact, contract, gbst_elm, user
5063contr_sp_chk condition, contr_itm, contr_schedule, contract, mod_level, site, site_part
5066c_schedule_view contr_schedule, contract, price_prog, site
5109ccn_bill_view bus_org, condition, contr_schedule, contract, currency, site, user
5162busorg_quote_v bus_org, contract
5163contact_quote_v contact, contract
5182site_svc_itm condition, contr_itm, contr_schedule, contract, site
5183prod_svc_itm condition, contr_itm, contr_schedule, contract, site_part
5192contrconpart contact, contr_itm, contract, part_num
5193contrconsite address, contact, contact_role, contract, country, site
5197pd_amt_sched contr_schedule, contract, period_amt
5201rol_cntrct con_csc_role, contact, contr_schedule, contract
5217ccc_rundsply bug, bus_org, campaign, case, contact, contr_itm, contract, demand_dtl, employee, lead_source, opportunity, probdesc, scr_run, site, site_part, subcase, task
5343sfa_quote_v bus_org, contact, contract, currency, gbst_elm, user
5372v_e_order condition, contact, contract, gbst_elm
5462wap_case_info address, case, condition, contact, contract, employee, gbst_elm, queue, site, site_part, user, wipbin
5478sales_quote_v bus_org, condition, contact, contract, currency, gbst_elm, opportunity, user
5685cm_contact contact, contact_role, contract, site
5687contr_attch contract, doc_inst, doc_path
5739case_overview address, case, condition, contact, contact_role, contract, country, gbst_elm, mod_level, queue, site, site_part, user, workaround
5783order_list_v bus_org, condition, contact, contract, gbst_elm
5787order_modify_v contact, contract, order_line, part_action, part_num
5796order_shipping_view address, contact, contract, country, order_action, order_shipping, site
5798sp_order_line_actions_v contract, order_action, order_line, site_part
5801sp_order_actions_v contract, order_action, site_part
5807order_line_v contract, mod_level, offr_prod, order_action, order_line, price_qty
5842po_curr_contr_v contract, currency, pay_means, purchase_ord
5856order_line_parts_v contract, mod_level, offr_prod, order_action, order_line, part_num, price_qty
6031sp_orders_v bus_org, condition, contact, contract, gbst_elm, order_action, order_line, site_part
6032order_line_view contract, mod_level, offr_prod, order_action, order_line, part_num, price_qty
6055order_shipping_vw address, contract, country, order_action, order_shipping, site
6066contr_itm_lst_vw contr_itm, contr_schedule, contract, currency, mod_level, part_num, price_inst, purchase_ord, site, site_part
My Recent Objects
contract