The place of service where the case sub-referral was made.
object.FromPosID
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISCaseService interface |
int
Display the number of the case sub-referrals loaded on the basis of the selected filter and some information about them, including the POSes.
Dim aFilter
Dim aCaseServices
Dim aCaseService
Dim aMessage
Dim i
Dim aShortCode
Dim aPos
Set aShortCode = Profile.LoadShortCodeByCodeType("CC", 56) 'sscCaseOutcome
set aFilter = Profile.CreateCaseServiceFilter
aFilter.OutcomeID = aShortCode.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 &_
"Pos Code: " & aCaseService.PosCode & vbNewLine &_
"Source Ref: " & aCaseService.SourceRef & vbNewLine &_
"Subreferral Status: " & aCaseService.SubreferralStatus & vbNewLine
if aCaseService.FromPosID > 0 then
set aPos = Profile.LoadProviderById(aCaseService.FromPosID)
aMessage = aMessage & "From Pos: " & aPos.FullName & vbNewLine
end if
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface From POS ID cannot be found, but From POS be found in
.