|
Seeks a Sales Delivery by its customer reference. |
|
 |
VARIANT_BOOL SeekByCstRefer ( enum eSeekMode eSeekMode, LONG lCstNum, BSTR bsReferenceCst ) |
|
|
Key information | | | Key segment information | | | Parameters | eSeekMode | [in] A value of the 'eSeekMode' enumeration. | lCstNum | [in] The customer number of the Sales Delivery you want to seek. | bsReferenceCst | [in] The customer reference of the Sales Delivery 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 Customer with number 25 and with customer reference = 'Customer reference'
if (pSDeliv->SeekByCstRefer (smEqual, 25, "Customer reference"))
// Process record data
|
|
 |
C# |
|
// Seek the document for the Customer with number 25 and with customer reference = 'Customer reference'
if (oSDeliv.SeekByCstRefer (eSeekMode.smEqual, 25, "Customer reference"))
// Process record data
|
|
 |
VBS |
|
' Seek the document for the Customer with number 25 and with customer reference = 'Customer reference'
If oSDeliv.SeekByCstRefer(smEqual, 25, "Customer reference") Then
' Process record data
End If
|
|
 |
VB.NET |
|
' Seek the document for the Customer with number 25 and with customer reference = 'Customer reference'
If oSDeliv.SeekByCstRefer(eSeekMode.smEqual, 25, "Customer reference") Then
' Process record data
End If
|
|