GatherSIP()

Examples


The GatherSIP() function retrieves the SIP address (messenger address) for the specified entity in Microsoft Dynamics GP.

Syntax

GatherSIP(master_type, master_ID, address_code)

Parameters

master_type – A string that specifies the type of entity from which to retrieve the SIP address. The following table lists the possible values:

[spacer]

Value

Constant

Description

CUS

CO_INETADDRS_CUSTOMER

Customer

EMP

CO_INETADDRS_EMPLOYEE

Employee

SLP

CO_INETADDRS_SALESPERSON

Salesperson

VEN

CO_INETADDRS_VENDOR

Vendor


master_ID – A string that contains the ID of the entity. For instance, when retrieving the SIP address for a salesperson, this is the Salesperson ID.

address_code – If multiple addresses can be defined for the entity, specifies the ID of the set of address information from which the SIP address will be retrieved. If the entity does not support multiple addresses, use the empty string ("").

Return value

A string containing the SIP address for the entity.


Documentation Feedback