Venice
Sndry::GetManualIndex
 
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
CreateSndry
Handling accounting documents using the SDK
PrepareDocument
CancelDocument
 
Samples
 
C++
 
// Get the index of the first manual detail of the current document
short sManualIndex;

pSndry->PrepareDocument (paView);

sManualIndex = pSndry->GetManualIndex ();

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

pSndry->CancelDocument ();

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

oSndry.PrepareDocument (ePrepareAction.paView);

sManualIndex = oSndry.GetManualIndex ();

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

oSndry.CancelDocument ();

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

Call oSndry.PrepareDocument(paView)

sManualIndex = oSndry.GetManualIndex()

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

Call oSndry.CancelDocument()

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

oSndry.PrepareDocument(ePrepareAction.paView)

sManualIndex = oSndry.GetManualIndex()

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

oSndry.CancelDocument()