ISRecallVisitFilter.PosID

Description

This filter property is used to load the interventions by ID of the place of service.

Syntax

object.PosID

Part Attribute Type Description
object Required
The object always implements the ISRecallVisitFilter interface

Return Value

int

Example

Display the number of the interventions filtered by ID of the place of service.

sub main   
  Dim aPOS
  Dim aFilter
  Dim aVisits
  Dim aMessage
    
  Set aPOS = Profile.LoadProvider("POS")
  set aFilter = Profile.CreateRecallVisitFilter
  
  aFilter.DateFrom = #04/03/2018#    
  aFilter.DateTo = #05/05/2019#
  aFilter.PosId = aPOS.Id
  
  set aVisits = Profile.LoadRecallVisits(aFilter)  
   
  aMessage = "The number of the interventions " &_
    "filtered by POS ID is " & aVisits.Count
    
  Profile.MsgBox(aMessage)  
end sub  
Note:

In Profile Client v8 on User Interface Pos ID cannot be found.

Version information

Added in v7.8.0