SDelivDet::SeekByTick (Interface: SDelivDet)
 
Seeks a Sales Delivery Detail line by its tick information.
 
VARIANT_BOOL SeekByTick (
    enum eSeekMode eSeekMode,
    enum eTickDocType eTickDocType,
    SHORT sTickYear,
    LONG lTickSysNum
)
 
Key information
This method uses key number 2 (See SwapKey).
This key allows duplicates.
This is a null key, only the records where pTickDocType is not 0 and pTickYear is not 0 and pTickSysNum is not 0 are in the index.
 
Key segment information
Segment NameTypeOrderCollation
pTickDocTypeBYTEAscending-
pTickYearSHORT (unsigned)Ascending-
pTickSysNumLONGAscending-
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
eTickDocType
[in] A value of the 'eTickDocType' enumeration.
sTickYear
[in] The financial year of the detail line that is ticked by the Sales Delivery Detail line you want to seek.
lTickSysNum
[in] The system number of the detail line that is ticked by the Sales Delivery Detail line you want to seek.
 
Return value
True if the record with the given properties was found, otherwise false.
 
See Also
CreateSDelivDet
GetDBStatus
GetNext
 
Samples
 
C++
 
// Seek the data of the detail line used to tick the sales order detail line of financial year 2024 and system number 1428
if (pSDelivDet->SeekByTick (smEqual, tdtSOrder, 2024, 1428))
    // Process record data

C#
 
// Seek the data of the detail line used to tick the sales order detail line of financial year 2024 and system number 1428
if (oSDelivDet.SeekByTick (eSeekMode.smEqual, eTickDocType.tdtSOrder, 2024, 1428))
    // Process record data

VBS
 
' Seek the data of the detail line used to tick the sales order detail line of financial year 2024 and system number 1428
If oSDelivDet.SeekByTick(smEqual, tdtSOrder, 2024, 1428) Then
    ' Process record data
End If

VB.NET
 
' Seek the data of the detail line used to tick the sales order detail line of financial year 2024 and system number 1428
If oSDelivDet.SeekByTick(eSeekMode.smEqual, eTickDocType.tdtSOrder, 2024, 1428) Then
    ' Process record data
End If