Siebel Service Handheld Guide for Windows-Powered Devices > User Properties and Methods >

Methods


The following details methods you can use for your Siebel Handheld application.

Table 26.  Siebel Service Handheld Supported Methods
Business Component
Method
Description
Action
AcceptStatus
Sets the Status field of an activity to Acknowledged.

Method is enabled when Status is not set to Acknowledged, On Hold, In Progress, Done, or Cancelled.
 
ArrivedStatus
Sets the Start field of an activity to the current time.

Method is enabled when Status = In Progress and the Start field is not set.
 
EnRouteStatus
Sets the Status field of an activity to In Progress.

Method is enabled when Status = In Progress.
 
DeclineStatus
Sets the Status field of an activity to Declined.

Method is enabled when the Status field is not set to In Progress, On Hold, Done, Cancelled, or Declined.
 
SuspendStatus
Sets the Status field of an activity to On Hold.

Method is enabled when Status = In Progress and the Start field has been set.
 
ResumeStatus
Sets the Status field of an activity to In Progress.

Method is enabled when Status = On Hold.
 
FinishedStatus
Sets the Status field of an activity to Done, sets the End field to the current time, and sets the % Complete field to 100.

Method is enabled when Status = In Progress and Start field is not empty.
 
Start
Sets the Start field of an activity to the current time.

Method is enabled when Status = In Progress and the Start field is not set.
 
End
Sets the Status field of an activity to Done, sets the End field to the current time, and sets the % Complete field to 100. (Did not update % Complete field.)

Method is enabled when Status = In Progress and Start field is not empty.
FS Recommended Parts & Tools
OrderParts
Method is used in the SHCE Service FS Activity Recommended Parts Tools view, SHCE Service FS Activity Recommended Parts & Tools List Applet applet.

For any record in the view, if there are insufficient parts—that is, Available Quantity is less than Recommended Quantity—executing this method orders additional parts. The method generates an AutoOrder for the selected products with the Recommended Quantity equal to the quantity in the order line item.
 
CheckTrunk
Method is used in the SHCE Service FS Activity Recommended Parts Tools view, SHCE Service FS Activity Recommended Parts_Tools List Applet.

Checks each record in the view and verifies the quantity (Qty field) against the inventory. It updates the Available Quantity (Avail) field with the number of items in the end user's trunk.
FS Activity Parts Movement
CommitPartMvmtClient
Method is used in the SHCE Service FS Activity Part Movements view, SHCE Service FS Activity Part Movements List Applet applet.

This method commits a part movement—that is, it sets the Commit flag on the record, and once this flag is set, the Object Manager updates the inventory levels and the transaction table.
 
OrderPartsRMA
Generates an order for a part movement and sets the order type to RMA.
 
OrderPartsRMARepair
Generates an order for a part movement and sets the order type to RMA Repair.
FS Invoice
GenerateInvoice
Generates an invoice for an activity and creates line items for parts movement, time, expenses, entitlements, discounts, and totals.
When the method is used in the Activity screen, the Action GenerateInvoice method is executed for a single activity.

When the method is used in the Service Request screen, the Service Request GenerateInvoice method executes for each activity in the service request, it compiles one total for each line item, and generates one invoice for the entire service request.
Time Sheet Daily Hours
SetEndTime
Sets the end time in the SHCE FS Time View view, SHCE Activity Time Daily Hours List Applet applet.
 
SetStartTime
Creates a new record and sets the start time in the SHCE FS Time View view, SHCE Activity Time Daily Hours List Applet applet.


 Siebel Service Handheld Guide for Windows-Powered Devices 
 Published: 18 July 2003