| |
| Seeks a Sales Document by its TSM number. |
| |
 |
VARIANT_BOOL SeekByTsmNum ( enum eSeekMode eSeekMode, BSTR bsTsmNum ) |
|
| |
| Key information |  | This method uses key number 12 (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 Sales 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 (pSales->SeekByTsmNum (smEqual, "001500001532"))
// Process record data
|
|
 |
C# |
| |
// Seek the document with (unformatted) TSM number = '001500001532'
if (oSales.SeekByTsmNum (eSeekMode.smEqual, "001500001532"))
// Process record data
|
|
 |
VBS |
| |
' Seek the document with (unformatted) TSM number = '001500001532'
If oSales.SeekByTsmNum(smEqual, "001500001532") Then
' Process record data
End If
|
|
 |
VB.NET |
| |
' Seek the document with (unformatted) TSM number = '001500001532'
If oSales.SeekByTsmNum(eSeekMode.smEqual, "001500001532") Then
' Process record data
End If
|
|