Venice
Suppl::SeekByVatNum
 
Seeks a Supplier card by its VAT number.
 
VARIANT_BOOL SeekByVatNum (
    enum eSeekMode eSeekMode,
    BSTR bsVatNum
)
 
Key information
This method uses key number 4 (See SwapKey).
This key allows duplicates.
 
Key segment information
Segment NameTypeOrderCollation
pVatNumBSTRAscendingCase insensitive
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
bsVatNum
[in] The VAT number of the supplier you want to seek.
 
Return value
True if the record with the given properties was found, otherwise false.
 
See Also
CreateSuppl
 
Samples
 
C++
 
// Seek the supplier with VAT number = 'BE 0427.604.308'
if (pSuppl->SeekByVatNum (smEqual, "BE 0427.604.308"))
    // Process record data

C#
 
// Seek the supplier with VAT number = 'BE 0427.604.308'
if (oSuppl.SeekByVatNum (eSeekMode.smEqual, "BE 0427.604.308"))
    // Process record data

VBS
 
' Seek the supplier with VAT number = 'BE 0427.604.308'
If oSuppl.SeekByVatNum(smEqual, "BE 0427.604.308") Then
    ' Process record data
End If

VB.NET
 
' Seek the supplier with VAT number = 'BE 0427.604.308'
If oSuppl.SeekByVatNum(eSeekMode.smEqual, "BE 0427.604.308") Then
    ' Process record data
End If