This filter property is used to load the interventions by ID of the service.
object.ServiceID
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISRecallVisitFilter interface |
int
Display the number of the interventions filtered by ID of the service.
sub main
Dim aFilter
Dim aService
Dim aVisits
Dim aMessage
Set aFilter = Profile.CreateRecallVisitFilter
set aService = Profile.LoadService("108")
aFilter.ServiceID = aService.ID
set aVisits = Profile.LoadRecallVisits(aFilter)
aMessage = aMessage & vbNewLine & "The number of the interventions " &_
"filtered by ID of the service (" & aFilter.ServiceID & ") is " & aVisits.Count
Profile.MsgBox(aMessage)
end sub
In Profile Client v8 on User Interface Service ID cannot be found.