|
Seeks a Purchase Order 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 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 Name | Type | Order | Collation | pTickDocType | BYTE | Ascending | - | pTickYear | SHORT (unsigned) | Ascending | - | pTickSysNum | LONG | Ascending | - |
| | 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 Order Detail line you want to seek. | lTickSysNum | [in] The system number of the detail line that is ticked by the Purchase Order Detail line you want to seek. | | Return value |
True if the record with the given properties was found, otherwise false. |
|
See Also |
|
|
|
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 (pPOrderDet->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 (oPOrderDet.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 oPOrderDet.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 oPOrderDet.SeekByTick(eSeekMode.smEqual, eTickDocType.tdtSOrder, 2024, 1428) Then
' Process record data
End If
|
|