|
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 |
|
|
|
Samples |
|
|
C++ |
|
// Get the index of the first manual detail of the current document
short sManualIndex;
pSales->PrepareDocument (paView);
sManualIndex = pSales->GetManualIndex ();
if (sManualIndex != -1)
{
// Process data
}
pSales->CancelDocument ();
|
|
|
C# |
|
// Get the index of the first manual detail of the current document
short sManualIndex;
oSales.PrepareDocument (ePrepareAction.paView);
sManualIndex = oSales.GetManualIndex ();
if (sManualIndex != -1)
{
// Process data
}
oSales.CancelDocument ();
|
|
|
VBS |
|
' Get the index of the first manual detail of the current document
Dim sManualIndex
Call oSales.PrepareDocument(paView)
sManualIndex = oSales.GetManualIndex()
If sManualIndex <> -1 Then
' Process data
End If
Call oSales.CancelDocument()
|
|
|
VB.NET |
|
' Get the index of the first manual detail of the current document
Dim sManualIndex As Short
oSales.PrepareDocument(ePrepareAction.paView)
sManualIndex = oSales.GetManualIndex()
If sManualIndex <> -1 Then
' Process data
End If
oSales.CancelDocument()
|
|