Siebel Field Service Guide > Preventive Maintenance > The Preventive Maintenance Engine >

Parameters for the Preventive Maintenance Engine


Siebel Business Process Designer or the client can invoke all engines. These engines require certain parameters to be passed. Table 127 contains the parameters for the Preventive Maintenance Engine, and what they mean.

Table 127.  Preventive Maintenance Engine Parameters
Parameter
Values
Explanation
Mode
{SQL, Id, TempTbl}
This required parameter specifies how the engine locates the entities to process. Only SQL or ID is intended to be specified in user requests. TempTbl is used by the client applications for submitting requests.
Sub-mode
{Assets, Plans, Assets&Plans, Agreements}
This required parameter specifies what entities are specified. A SubMode of Assets implies ALL PM Plans, and a SubMode of Plans implies ALL Assets.
EndDT
YYYY-MM-DD format
This required parameter specifies the date furthest into the future for which the engine will generate PM Actions. Note that currently, only time-based triggers can fire for a future date.
AssetID
Row ID of an asset
This parameter specifies a specific asset. It is required when the Mode is Id and the SubMode is either Assets or Assets&Plans.
PlanID
Row ID of a PM Plan
This parameter specifies a specific PM Plan. It is required when the Mode is Id and the SubMode is either Plans or Assets&Plans.
AgreementID
Row ID of an agreement
This parameter specifies a specific Agreement. It is required when the Mode is Id and the SubMode is Agreements.
AssetSQL
Where clause in the form [BusComp Field Name] = `Value'
This parameter specifies a search specification for assets. It is required when the Mode is SQL and the SubMode is either Assets or Assets&Plans.
PlanSQL
Where clause in the form [BusComp Field Name] = `Value'
This parameter specifies a search specification for PM plans. It is required when the Mode is SQL and the SubMode is either Plans or Assets&Plans.
AgreementSQL
Where clause in the form [BusComp Field Name] = `Value'
This parameter specifies a search specification for agreements. It is required when the Mode is SQL and the SubMode is Agreements.


 Siebel Field Service Guide 
 Published: 21 April 2003