Finan::GetManualIndex (Interface: Finan)
 
Gets the index of the first manual accounting detail.
 
SHORT GetManualIndex ()
 
Return value
Returns the index of the first manual detail if one is present, otherwise -1.
 
See Also
CreateFinan
Handling accounting documents using the SDK
PrepareDocument
CancelDocument
 
Samples
 
C++
 
// Get the index of the first manual detail of the current document
short sManualIndex;

pFinan->PrepareDocument (paView);

sManualIndex = pFinan->GetManualIndex ();

if (sManualIndex != -1)
{
    // Process data
}

pFinan->CancelDocument ();

C#
 
// Get the index of the first manual detail of the current document
short sManualIndex;

oFinan.PrepareDocument (ePrepareAction.paView);

sManualIndex = oFinan.GetManualIndex ();

if (sManualIndex != -1)
{
    // Process data
}

oFinan.CancelDocument ();

VBS
 
' Get the index of the first manual detail of the current document
Dim sManualIndex

Call oFinan.PrepareDocument(paView)

sManualIndex = oFinan.GetManualIndex()

If sManualIndex <> -1 Then
    ' Process data
End If

Call oFinan.CancelDocument()

VB.NET
 
' Get the index of the first manual detail of the current document
Dim sManualIndex As Short

oFinan.PrepareDocument(ePrepareAction.paView)

sManualIndex = oFinan.GetManualIndex()

If sManualIndex <> -1 Then
    ' Process data
End If

oFinan.CancelDocument()