ServicePRO SDK Help

RequestServicesManager..::..PrintWorkspaceRequests Method

Retrieve the printable information of the requests in workspace.(can be exported to a file)

Namespace:  ServicePRO.Sdk.Windows.Managers
Assembly:  ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)

Syntax


public void PrintWorkspaceRequests(
	string userSessionKey,
	stcListItem selectedUser,
	clsEnumeration..::..hsQueueView queueView,
	HierarchyItem selectedNode,
	clsEnumeration..::..hsListFilter listFilter,
	clsEnumeration..::..hsListServiceRequestType listType,
	clsEnumeration..::..hsStatus requestStatus,
	int filterOptions,
	bool includeSubFolders,
	bool showInDispatch,
	bool showInService,
	bool showInQueue,
	string orderByClause,
	string whereClause,
	string reportTitle,
	Action<stcQueryField[], stcListItem, Exception> callbackAction
)
Public Sub PrintWorkspaceRequests ( _
	userSessionKey As String, _
	selectedUser As stcListItem, _
	queueView As clsEnumeration..::..hsQueueView, _
	selectedNode As HierarchyItem, _
	listFilter As clsEnumeration..::..hsListFilter, _
	listType As clsEnumeration..::..hsListServiceRequestType, _
	requestStatus As clsEnumeration..::..hsStatus, _
	filterOptions As Integer, _
	includeSubFolders As Boolean, _
	showInDispatch As Boolean, _
	showInService As Boolean, _
	showInQueue As Boolean, _
	orderByClause As String, _
	whereClause As String, _
	reportTitle As String, _
	callbackAction As Action(Of stcQueryField(), stcListItem, Exception) _
)

Parameters

userSessionKey
Type: String
User’s Session Key.
Key property of the User Session Object of type stcSession.
The User Session has to be established by making a call to InitializeSystemAndSession() method in CoreServicesManager class as a first step with using ServicePRO SDK.
selectedUser
Type: HelpSTAR.PCL.Common..::..stcListItem
The selected user information.
queueView
Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..hsQueueView
The queue view type.
selectedNode
Type: HelpSTAR.Hybrid.Common..::..HierarchyItem
The selected node.
listFilter
Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..hsListFilter
The list filter.
listType
Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..hsListServiceRequestType
Type of the service request list.
requestStatus
Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..hsStatus
The request status.
filterOptions
Type: Int32
The filter options.
includeSubFolders
Type: Boolean
set to true if include the request in sub folders.
showInDispatch
Type: Boolean
set to true if show the request in dispatch.
showInService
Type: Boolean
set to true if show the request in "service queue".
showInQueue
Type: Boolean
set to true if show the request in queue.
orderByClause
Type: String
The "order by" clause in query string.
whereClause
Type: String
The where clause.
reportTitle
Type: String
The report title.
callbackAction
Type: Action<(Of <(<'array<stcQueryField>[]()[][], stcListItem, Exception>)>)>
The callback action.