| |
| Seeks an Analytical Accounting Proposal by its code. |
| |
 |
VARIANT_BOOL SeekByCode ( enum eSeekMode eSeekMode, enum eAnaPropAccType eAnaPropAccType, BSTR bsCode ) |
|
| |
| Key information |  | This method uses key number 1 (See SwapKey). |  | This is a unique key. |
| | | | Key segment information | | Segment Name | Type | Order | Collation | | pAnaAccType | BYTE | Ascending | - | | pCode | BSTR | Ascending | Case insensitive |
| | | | Parameters | | eSeekMode | | [in] A value of the 'eSeekMode' enumeration. | | eAnaPropAccType | | [in] A value of the 'eAnaPropAccType' enumeration. | | bsCode | | [in] The code of the analytical accounting proposal you want to seek. | | | | Return value |
| True if the record with the given properties was found, otherwise false. |
| |
| See Also |
|
|
|
| |
| Samples |
| |
 |
C++ |
| |
// Seek the analytical accounting proposal of type 'Unit' with code = 'UNIT'
if (pAnaProp->SeekByCode (smEqual, apatUnit, "UNIT"))
// Process record data
|
|
 |
C# |
| |
// Seek the analytical accounting proposal of type 'Unit' with code = 'UNIT'
if (oAnaProp.SeekByCode (eSeekMode.smEqual, eAnaPropAccType.apatUnit, "UNIT"))
// Process record data
|
|
 |
VBS |
| |
' Seek the analytical accounting proposal of type 'Unit' with code = 'UNIT'
If oAnaProp.SeekByCode(smEqual, apatUnit, "UNIT") Then
' Process record data
End If
|
|
 |
VB.NET |
| |
' Seek the analytical accounting proposal of type 'Unit' with code = 'UNIT'
If oAnaProp.SeekByCode(eSeekMode.smEqual, eAnaPropAccType.apatUnit, "UNIT") Then
' Process record data
End If
|
|