| |
| Seeks a Production Document by its print status. |
| |
 |
VARIANT_BOOL SeekByPrnStatus ( enum eSeekMode eSeekMode, DATE dStartDate, BSTR bsArtNum ) |
|
| |
| Key information |  | This method uses key number 4 (See SwapKey). |  | This key allows duplicates. |  | This is a null key, only the records where pToPrint is true are in the index. |
| | | | Key segment information | | Segment Name | Type | Order | Collation | | pStartDate | DATE (date) | Ascending | - | | pArtNum | BSTR | Ascending | Hierarchy | | pToPrint | VARIANT_BOOL | Ascending | - |
| | | | Parameters | | eSeekMode | | [in] A value of the 'eSeekMode' enumeration. | | dStartDate | | [in] The start date of the Production Document you want to seek. | | bsArtNum | | [in] The article number of 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++ |
| |
// Process all records that still need to be printed
pProduct->SeekByPrnStatus (smFirst, COleDateTime (0, 0, 0, 0, 0, 0).m_dt, "");
while (pProduct->GetDBStatus () == 0)
{
// Process record data
pProduct->GetNext ();
}
|
|
 |
C# |
| |
// Process all records that still need to be printed
oProduct.SeekByPrnStatus (eSeekMode.smFirst, new DateTime (), "");
while (oProduct.GetDBStatus () == 0)
{
// Process record data
oProduct.GetNext ();
}
|
|
 |
VBS |
| |
' Process all records that still need to be printed
Dim dtStartDate
Call oProduct.SeekByPrnStatus(smFirst, dtStartDate, "")
While oProduct.GetDBStatus() = 0
' Process record data
Call oProduct.GetNext()
Wend
|
|
 |
VB.NET |
| |
' Process all records that still need to be printed
Dim dtStartDate As Date
oProduct.SeekByPrnStatus(eSeekMode.smFirst, dtStartDate, "")
While oProduct.GetDBStatus() = 0
' Process record data
oProduct.GetNext()
End While
|
|