|
Seeks an Article card by supplier + reference. |
|
|
VARIANT_BOOL SeekBySupRef ( enum eSeekMode eSeekMode, LONG lSupNum, BSTR bsSupRef ) |
|
|
Key information | | | Key segment information | | | Parameters | eSeekMode | [in] A value of the 'eSeekMode' enumeration. | lSupNum | [in] The supplier number of the Article you want to seek. | bsSupRef | [in] The supplier reference of the Article you want to seek. | | Return value |
True if the record with the given properties was found, otherwise false. |
|
See Also |
|
|
|
Samples |
|
|
C++ |
|
// Seek the article with supplier reference = 'Sup_Ref' purchased from supplier with number = 125
if (pArtcl->SeekBySupRef (smEqual, 125, "Sup_Ref"))
// Process record data
|
|
|
C# |
|
// Seek the article with supplier reference = 'Sup_Ref' purchased from supplier with number = 125
if (oArtcl.SeekBySupRef (eSeekMode.smEqual, 125, "Sup_Ref"))
// Process record data
|
|
|
VBS |
|
' Seek the article with supplier reference = 'Sup_Ref' purchased from supplier with number = 125
If oArtcl.SeekBySupRef(smEqual, 125, "Sup_Ref") Then
' Process record data
End If
|
|
|
VB.NET |
|
' Seek the article with supplier reference = 'Sup_Ref' purchased from supplier with number = 125
If oArtcl.SeekBySupRef(eSeekMode.smEqual, 125, "Sup_Ref") Then
' Process record data
End If
|
|