SOrderDet::SeekBySysNum
 
Seeks a Sales Order Detail line by its system number.
 
VARIANT_BOOL SeekBySysNum (
    enum eSeekMode eSeekMode,
    LONG lSysNum
)
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
lSysNum
[in] The system number of the record you want to seek.
 
Return value
True if the record with the given properties was found, otherwise false.
 
Remarks
This method seeks the file using the key 'SRD_SYS' (key number 0).
 
See Also
CreateSOrderDet
The UNIT4 C-Logic Description File 'Isr_d.cld' in the Cld-directory in the system path of your Venice installation.
 
Samples
 
C++
 
// Seek the record with system number = 56
if (pSOrderDet->SeekBySysNum (smEqual, 56))
{
    // Process record data
}

C#
 
// Seek the record with system number = 56
if (oSOrderDet.SeekBySysNum (eSeekMode.smEqual, 56))
{
    // Process record data
}

VBS
 
' Seek the record with system number = 56
If oSOrderDet.SeekBySysNum(smEqual, 56) Then
    ' Process record data
End If

VB.NET
 
' Seek the record with system number = 56
If oSOrderDet.SeekBySysNum(eSeekMode.smEqual, 56) Then
    ' Process record data
End If