Venice
Artcl::SeekByPriceCat
 
Seeks an Article card by its price category.
 
VARIANT_BOOL SeekByPriceCat (
    enum eSeekMode eSeekMode,
    BSTR bsPriceCategory,
    BSTR bsNumber
)
 
Key information
This method uses key number 12 (See SwapKey).
This is a unique key.
 
Key segment information
Segment NameTypeOrderCollation
pPriceCategoryBSTRAscendingCase insensitive
pNumberBSTRAscendingHierarchy
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
bsPriceCategory
[in] The price category of the Article you want to seek.
bsNumber
[in] The number of the Article you want to seek.
 
Return value
True if the record with the given properties was found, otherwise false.
 
See Also
CreateArtcl
 
Samples
 
C++
 
// Check if the article with number = 'Art_001' can use the prices defined in the price category 'CHEAP'
if (pArtcl->SeekByPriceCat (smEqual, "CHEAP", "Art_001"))
    // Use 'CHEAP'-prices for this article

C#
 
// Check if the article with number = 'Art_001' can use the prices defined in the price category 'CHEAP'
if (oArtcl.SeekByPriceCat (eSeekMode.smEqual, "CHEAP", "Art_001"))
    // Use 'CHEAP'-prices for this article

VBS
 
' Check if the article with number = 'Art_001' can use the prices defined in the price category 'CHEAP'
If oArtcl.SeekByPriceCat(smEqual, "CHEAP", "Art_001") Then
    ' Use 'CHEAP'-prices for this article
End If

VB.NET
 
' Check if the article with number = 'Art_001' can use the prices defined in the price category 'CHEAP'
If oArtcl.SeekByPriceCat(eSeekMode.smEqual, "CHEAP", "Art_001") Then
    ' Use 'CHEAP'-prices for this article
End If