PInvceDet::SeekByTick (Interface: PInvceDet)
 
Seeks a Purchase Invoice Detail line by its ticking reference.
 
VARIANT_BOOL SeekByTick (
    enum eSeekMode eSeekMode,
    enum eTickDocType eTickDocType,
    SHORT sTickYear,
    LONG lTickSysNum
)
 
Key information
This method uses key number 11 (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 Purchase Invoice Detail line you want to seek.
lTickSysNum
[in] The system number of the detail line that is ticked by the Purchase Invoice Detail line you want to seek.
 
Return value
True if the record with the given properties was found, otherwise false.
 
See Also
CreatePInvceDet
 
Samples
 
C++
 
// Seek the data of the detail line used to tick the Purchase Delivery Detail line of financial year 2024 and system number 1428
if (pPInvceDet->SeekByTick (smEqual, tdtPDeliv, 2024, 1428))
    // Process record data

C#
 
// Seek the data of the detail line used to tick the Purchase Delivery Detail line of financial year 2024 and system number 1428
if (oPInvceDet.SeekByTick (eSeekMode.smEqual, eTickDocType.tdtPDeliv, 2024, 1428))
    // Process record data

VBS
 
' Seek the data of the detail line used to tick the Purchase Delivery Detail line of financial year 2024 and system number 1428
If oPInvceDet.SeekByTick(smEqual, tdtPDeliv, 2024, 1428) Then
    ' Process record data
End If

VB.NET
 
' Seek the data of the detail line used to tick the Purchase Delivery Detail line of financial year 2024 and system number 1428
If oPInvceDet.SeekByTick(eSeekMode.smEqual, eTickDocType.tdtPDeliv, 2024, 1428) Then
    ' Process record data
End If