📚 SAP Business One SDK Help

GetBPList Method
See Also 
CardType

Specifies a value for filtering the business partners list, as described below. Set to (-1) to get a full list with no filtering.

Description

Returns a Recordset object that contains a list of business partners keys that can be used as a parameter in many business objects.

See Get Business Partners List sample.

Syntax

Visual Basic
Public Function GetBPList( _
   ByVal CardType As BoCardTypes _
) As Recordset

Parameters

CardType
ValueDescription
cCustomerThe business partner is a customer.
cSupplierThe business partner is a vendor.
cLidThe business partner is a potential customer/vendor.

Specifies a value for filtering the business partners list, as described below. Set to (-1) to get a full list with no filtering.

Return Type

A Recordset object containing three fields : CardCode, CardName, and CardType.

Example

See Also