guideSheetObject

A helper object which represents the data that the guidesheet contains. You can retrieve these objects for a given inspection. Each guide item is represented as a separate object.

You can use this object with Inspection Guidesheets to simplify the interaction with the various guidesheet items and to expose the Applications Specific Information and Application Specific Information Tables for use.

Version

2.0

Constructors

Loads the guideSheetObject for the provided guideSheet and guideSheetItem.

Constructor Type Description
gguidesheetModel gguideSheetModel Guidesheet object to retrieve.
gguidesheetItemModel gguidesheetItemModel Guidesheet item to retrieve.

Example

var guideObj = guideSheetObject(guideSheet, guideItem);

Parameters

Name Description
gsType Guidesheet type.
gsSequence Guidesheet system sequence number.
gsDescrption Guidesheet description.
gsIdentifier Guidesheet identifier.
item Guidesheet item model object.
text Guidesheet item text identifier.
status Guidesheet item status value.
comment Guidesheet item comments.
score Guidesheet item score value.
info Guidesheet item application specific information values. Use the loadInfo method to load.
infoTables Guidesheet Item application specific information table values. Use the loadInfoTables method to load.
validTables Boolean value that determines if valid tables exist in the guideSheetObject. True if infoTables has data (item has ASIT).
validInfo Boolean value that determines if valid application specific information exist in the guideSheetObject. True if info has data (item has ASI)

Methods

Name Parameters Description
loadInfo None This method populates the info parameter with the Application Specific Information contained in the guidesheet item model.
infoTables None This method populates the infoTables parameter with the Application Specific Information Table data that the guidesheet item model contains.