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

pFinan->PrepareDocument (paView);

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

pFinan->CancelDocument ();

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

oFinan.PrepareDocument (ePrepareAction.paView);

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

oFinan.CancelDocument ();

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

Call oFinan.PrepareDocument(paView)

sNumDets = oFinan.GetNumDetails()

If sNumDets <> 0 Then
    ' Process data
End If

Call oFinan.CancelDocument()

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

oFinan.PrepareDocument(ePrepareAction.paView)

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

oFinan.CancelDocument()