Custm::SeekByPeppolId (Interface: Custm)
 
Seeks a Customer card by its Peppol identification.
 
VARIANT_BOOL SeekByPeppolId (
    enum eSeekMode eSeekMode,
    BSTR bsPeppolId
)
 
Key information
This method uses key number 15 (See SwapKey).
This key allows duplicates.
 
Key segment information
Segment NameTypeOrderCollation
pPeppolIdBSTRAscendingCase insensitive
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
bsPeppolId
[in] The Peppol identification of the Customer you want to seek.
 
Return value
True if the record with the given properties was found, otherwise false.
 
See Also
CreateCustm
 
Samples
 
C++
 
// Seek the customer with Peppol identification = '0208:0427604308'
if (pCustm->SeekByPeppolId (smEqual, "0208:0427604308"))
    // Process record data

C#
 
// Seek the customer with Peppol identification = '0208:0427604308'
if (oCustm.SeekByPeppolId (eSeekMode.smEqual, "0208:0427604308"))
    // Process record data

VBS
 
' Seek the customer with Peppol identification = '0208:0427604308'
If oCustm.SeekByPeppolId(smEqual, "0208:0427604308") Then
    ' Process record data
End If

VB.NET
 
' Seek the customer with Peppol identification = '0208:0427604308'
If oCustm.SeekByPeppolId(eSeekMode.smEqual, "0208:0427604308") Then
    ' Process record data
End If