SQL View Name:installed_all_view
SQL View Number:5750
Group:Support
Base Table:site_part
Description:Display site parts and service parts
Flags:VIEW_OPTIMIZED 
Baseline/Custom:Baseline

Fields:

Field NameCommon TypeDatabase TypeGeneric Field IDArray SizeDefaultFlagsComment
descriptionCHARvarchar 255  Description of the product 
devLONGint151  DIRECT Row version number for mobile distribution purposes 
dom_is_serviceLONGint   DIRECT Indicates the part is a service part, if selected, sit_prt_role will be set when installed; i.e., 0=not a service, 1=a service, default=0 
domainCHARvarchar 40  Name of the domain for the part num. See object prt_domain 
level_to_partLONGint   DIRECT Relative installation hierarchy level to a part 
mod_levelCHARvarchar 10  Name of the part revision 
mod_objidLONGint   DIRECT Internal record number 
model_numCHARvarchar 20  Marketing model number of the part; within family and line 
objidLONGint3  DIRECT Internal record number 
part_numberCHARvarchar 30  Part number/name 
partnum_objidLONGint   DIRECT Internal record number 
serial_noCHARvarchar 30  Installed part serial number 
site_idCHARvarchar 80  Unique site number assigned according to auto-numbering definition 
site_nameCHARvarchar 80  Name of the site 
site_objidLONGint   DIRECT Site internal record number 
warranty_dateCLK_TIMEdatetime    The warranty date of site part 

SQL:

(
select table_site_part.objid as objid,
table_site.objid as site_objid,
table_part_num.part_number as part_number,
table_mod_level.mod_level as mod_level,
table_part_num.domain as domain,
table_site_part.serial_no as serial_no,
table_site.name as site_name,
table_site.site_id as site_id,
table_site_part.level_to_part as level_to_part,
table_mod_level.objid as mod_objid,
table_part_num.model_num as model_num,
table_part_num.description as description,
table_part_num.dom_is_service as dom_is_service,
table_part_num.objid as partnum_objid,
table_site_part.dev as dev,
table_site_part.warranty_date as warranty_date
from table_site_part, table_site, table_part_num, table_mod_level, table_sit_prt_role
where table_mod_level.objid = table_site_part.site_part2part_info
AND table_part_num.objid = table_mod_level.part_info2part_num
AND table_site_part.objid = table_sit_prt_role.prt_role2site_part
AND table_site.objid = table_sit_prt_role.prt_role2site
UNION
select table_site_part.objid as objid,
table_site.objid as site_objid,
table_part_num.part_number as part_number,
table_mod_level.mod_level as mod_level,
table_part_num.domain as domain,
table_site_part.serial_no as serial_no,
table_site.name as site_name,
table_site.site_id as site_id,
table_site_part.level_to_part as level_to_part,
table_mod_level.objid as mod_objid,
table_part_num.model_num as model_num,
table_part_num.description as description,
table_part_num.dom_is_service as dom_is_service,
table_part_num.objid as partnum_objid,
table_site_part.dev as dev,
table_site_part.warranty_date as warranty_date
from table_site_part, table_site, table_part_num, table_mod_level, table_address
where table_mod_level.objid = table_site_part.site_part2part_info
AND table_site.objid = table_site_part.all_site_part2site
AND table_address.objid = table_site.cust_primaddr2address
AND table_part_num.objid = table_mod_level.part_info2part_num
)
My Recent Objects
installed_all_view