|
Seeks a Financial Document by its document date. |
|
|
VARIANT_BOOL SeekByDocDate ( enum eSeekMode eSeekMode, DATE dDocDate ) |
|
|
Key information | | | Key segment information | | | Parameters | eSeekMode | [in] A value of the 'eSeekMode' enumeration. | dDocDate | [in] The document date of the Financial Document you want to seek. | | Return value |
True if the record with the given properties was found, otherwise false. |
|
See Also |
|
|
|
Samples |
|
|
C++ |
|
// Seek all Financial Documents with document date = 28/06/2024
COleDateTime odtDocDate;
odtDocDate.SetDate (2024, 6, 28);
pFinan->SeekByDocDate (smEqual, odtDocDate);
while (pFinan->GetDBStatus () == 0 && (DATE)pFinan->pDocDate == odtDocDate)
{
// Process record data
pFinan->GetNext ();
}
|
|
|
C# |
|
// Seek all Financial Documents with document date = 28/06/2024
DateTime dtDocDate = new DateTime (2024, 6, 28);
oFinan.SeekByDocDate (eSeekMode.smEqual, dtDocDate);
while (oFinan.GetDBStatus () == 0 && (DateTime)oFinan.pDocDate == dtDocDate)
{
// Process record data
oFinan.GetNext ();
}
|
|
|
VBS |
|
' Seek all Financial Documents with document date = 28/06/2024
Dim dtDocDate
dtDocDate = #6/28/2024#
Call oFinan.SeekByDocDate(smEqual, dtDocDate)
While oFinan.GetDBStatus() = 0 And oFinan.pDocDate = dtDocDate
' Process record data
Call oFinan.GetNext()
Wend
|
|
|
VB.NET |
|
' Seek all Financial Documents with document date = 28/06/2024
Dim dtDocDate As Date
dtDocDate = #6/28/2024#
oFinan.SeekByDocDate(eSeekMode.smEqual, dtDocDate)
While oFinan.GetDBStatus() = 0 And oFinan.pDocDate = dtDocDate
' Process record data
oFinan.GetNext()
End While
|
|