ISProvider.GetTeleplanReferences

Description

The search of Teleplan references is implemented among the provider's places of service by POS ID, Service Date and Core Service. The function returns Service ID and Payee ID if the search was successful, otherwise the other search is implemented among the provider's aliases by alias code and the function returns Ref 1 and Ref 2 of the provider's alias.

Syntax

object.GetTeleplanReferences(aPOSID, aAliasCode, aServiceDate, aIsCoreService)

Part Attribute Type Description
object Required
The object always implements the ISProvider interface
aPOSID In, Required
int
ID of the POS
aAliasCode In, Required
string
The provider's alias code
aServiceDate In, Required
DateTime
The date of the service
aIsCoreService In, Required
bool
if aIsCoreService = true, this function returns Payee ID from the provider's POS, otherwise it uses Payee ID Overrides

Return Value

ISStrings

Returns the string list that contains the references found.

Example

Display the Teleplan references.

Dim aProvider
Dim aPosId
Dim aAliasCode
Dim aDate
Dim aIsCoreService
Dim aReferences

Set aProvider = Profile.LoadProvider("VE3")
aPosId = Profile.CurrentPosId
aAliasCode = "ACC"
aDate = #06/18/2019#
aIsCoreService = true

Set aReferences = aProvider.GetTeleplanReferences(aPosId, aAliasCode, aDate, aIsCoreService)

MsgBox(aReferences.Text)  
Note:

In Profile Client v8 on User Interface Teleplan References can be found in Organisation > People&Places > People and Places > Open the selected Provider > Member of or in Organisation > People&Places > People and Places > Open the selected Provider > Reference.

Version information

Added in v7.8.0