This filter property is used to load case sub-referrals with the specified provider ID.
object.ProviderID
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISCaseServiceFilter interface |
int
Display the number of the case sub-referrals loaded on the basis of the selected filter and some information about them.
Dim aFilter
Dim aCaseServices
Dim aCaseService
Dim aMessage
Dim i
Dim aProvider
Set aProvider = Profile.LoadProvider("PROV")
set aFilter = Profile.CreateCaseServiceFilter
aFilter.ProviderID = aProvider.Id
set aCaseServices = Profile.LoadCaseServices(aFilter)
aMessage = "Case Sub-Referrals Count = " & aCaseServices.Count
for i = 0 to aCaseServices.Count - 1
set aCaseService = aCaseServices.Item(i)
aMessage = aMessage & vbNewLine &_
"Reason: " & aCaseService.Reason & vbNewLine &_
"Comment: " & aCaseService.Comment & vbNewLine &_
"Opened: " & aCaseService.Opened & vbNewLine &_
"Closed: " & aCaseService.Closed & vbNewLine &_
"PosCode: " & aCaseService.PosCode & vbNewLine &_
"Subreferral Status: " & aCaseService.SubreferralStatus & vbNewLine
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Provider ID cannot be found, but Provider can be and found in
.