|
Seeks a Production Document by its tick information. |
|
|
VARIANT_BOOL SeekByTick ( enum eSeekMode eSeekMode, enum eTickDocType eTickDocType, SHORT sTickYear, LONG lTickSysNum ) |
|
|
Key information | | This method uses key number 6 (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 Production Document you want to seek. | lTickSysNum | [in] The system number of the detail line that is ticked by the Production 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 data of the detail line used to tick the sales order detail line of financial year 2024 and system number 1428
if (pProduct->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 (oProduct.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 oProduct.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 oProduct.SeekByTick(eSeekMode.smEqual, eTickDocType.tdtSOrder, 2024, 1428) Then
' Process record data
End If
|
|