|
Seeks a Purchase Order by its supplier reference. |
|
|
VARIANT_BOOL SeekBySupRefer ( enum eSeekMode eSeekMode, LONG lSupNum, BSTR bsReferenceSup ) |
|
|
Key information | | | Key segment information | | | Parameters | eSeekMode | [in] A value of the 'eSeekMode' enumeration. | lSupNum | [in] The supplier number of the Purchase Order you want to seek. | bsReferenceSup | [in] The supplier reference of the Purchase Order you want to seek. | | Return value |
True if the record with the given properties was found, otherwise false. |
|
See Also |
|
|
|
Samples |
|
|
C++ |
|
// Seek the document for the supplier with number 125 and with supplier reference = 'Supplier reference'
if (pPOrder->SeekBySupRefer (smEqual, 125, "Supplier reference"))
// Process record data
|
|
|
C# |
|
// Seek the document for the supplier with number 125 and with supplier reference = 'Supplier reference'
if (oPOrder.SeekBySupRefer (eSeekMode.smEqual, 125, "Supplier reference"))
// Process record data
|
|
|
VBS |
|
' Seek the document for the supplier with number 125 and with supplier reference = 'Supplier reference'
If oPOrder.SeekBySupRefer(smEqual, 125, "Supplier reference") Then
' Process record data
End If
|
|
|
VB.NET |
|
' Seek the document for the supplier with number 125 and with supplier reference = 'Supplier reference'
If oPOrder.SeekBySupRefer(eSeekMode.smEqual, 125, "Supplier reference") Then
' Process record data
End If
|
|