Venice
Sndry::GetNumDetails
 
Gets the number of accounting details.
 
SHORT GetNumDetails ()
 
Return value
A SHORT containing the number of details of the current document.
 
See Also
CreateSndry
Handling accounting documents using the SDK
PrepareDocument
CancelDocument
 
Samples
 
C++
 
// Get the number of details of the current document
short sNumDets;

pSndry->PrepareDocument (paView);

sNumDets = pSndry->GetNumDetails ();
    
if (sNumDets != 0)
{
    // Process data
}

pSndry->CancelDocument ();

C#
 
// Get the number of details of the current document
short sNumDets;

oSndry.PrepareDocument (ePrepareAction.paView);

sNumDets = oSndry.GetNumDetails ();
    
if (sNumDets != 0)
{
    // Process data
}

oSndry.CancelDocument ();

VBS
 
' Get the number of details of the current document
Dim sNumDets

Call oSndry.PrepareDocument(paView)

sNumDets = oSndry.GetNumDetails()

If sNumDets <> 0 Then
    ' Process data
End If

Call oSndry.CancelDocument()

VB.NET
 
' Get the number of details of the current document
Dim sNumDets As Short

oSndry.PrepareDocument(ePrepareAction.paView)

sNumDets = oSndry.GetNumDetails()
    
If sNumDets <> 0 Then
    ' Process data
End If

oSndry.CancelDocument()