|
Seeks a Purchase Document by its TSM number. |
|
|
VARIANT_BOOL SeekByTsmNum ( enum eSeekMode eSeekMode, BSTR bsTsmNum ) |
|
|
Key information | | This method uses key number 10 (See SwapKey). | | This key allows duplicates. | | This is a null key, only the records where pTsmNumber is not blank are in the index. |
| | Key segment information | | | Parameters | eSeekMode | [in] A value of the 'eSeekMode' enumeration. | bsTsmNum | [in] The TSM number of the Purchase Document you want to seek. | | Return value |
True if the record with the given properties was found, otherwise false. |
|
See Also |
|
|
|
Samples |
|
|
C++ |
|
// Seek the document with (unformatted) TSM number = '001500001532'
if (pPurch->SeekByTsmNum (smEqual, "001500001532"))
// Process record data
|
|
|
C# |
|
// Seek the document with (unformatted) TSM number = '001500001532'
if (oPurch.SeekByTsmNum (eSeekMode.smEqual, "001500001532"))
// Process record data
|
|
|
VBS |
|
' Seek the document with (unformatted) TSM number = '001500001532'
If oPurch.SeekByTsmNum(smEqual, "001500001532") Then
' Process record data
End If
|
|
|
VB.NET |
|
' Seek the document with (unformatted) TSM number = '001500001532'
If oPurch.SeekByTsmNum(eSeekMode.smEqual, "001500001532") Then
' Process record data
End If
|
|