|
Seeks an Article Location card by its purchase location. |
|
|
VARIANT_BOOL SeekByPrcLoc ( enum eSeekMode eSeekMode, BSTR bsWarehouse, BSTR bsArtNum ) |
|
|
Key information | | This method uses key number 4 (See SwapKey). | | This is a unique key. | | This is a null key, only the records where pPurchaseLocation is true are in the index. |
| | Key segment information | Segment Name | Type | Order | Collation | pWarehouse | BSTR | Ascending | Case insensitive | pArtNum | BSTR | Ascending | Hierarchy | pPurchaseLocation | VARIANT_BOOL | Ascending | - |
| | Parameters | eSeekMode | [in] A value of the 'eSeekMode' enumeration. | bsWarehouse | [in] The warehouse of the article location card you want to seek. | bsArtNum | [in] The article number of the article location card you want to seek. | | Return value |
True if the record with the given properties was found, otherwise false. |
|
See Also |
|
|
|
Samples |
|
|
C++ |
|
// Seek the article location that can be used as purchase location for the article with number 'Art_001' in warehouse 'Wrh_01'
if (pArtLoc->SeekByPrcLoc (smEqual, "Wrh_01", "Art_001"))
{
// Process data
}
|
|
|
C# |
|
// Seek the article location that can be used as purchase location for the article with number 'Art_001' in warehouse 'Wrh_01'
if (oArtLoc.SeekByPrcLoc (eSeekMode.smEqual, "Wrh_01", "Art_001"))
{
// Process data
}
|
|
|
VBS |
|
' Seek the article location that can be used as purchase location for the article with number 'Art_001' in warehouse 'Wrh_01'
If oArtLoc.SeekByPrcLoc(smEqual, "Wrh_01", "Art_001") Then
' Process data
End If
|
|
|
VB.NET |
|
' Seek the article location that can be used as purchase location for the article with number 'Art_001' in warehouse 'Wrh_01'
If oArtLoc.SeekByPrcLoc(eSeekMode.smEqual, "Wrh_01", "Art_001") Then
' Process data
End If
|
|