|
Gets the index of the first manual accounting detail. |
|
![](Trans1P.gif) |
SHORT GetManualIndex () |
|
|
Return value |
Returns the index of the first manual detail if one is present, otherwise -1. |
|
See Also |
|
|
|
Samples |
|
![](Box12412.gif) |
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 ();
|
|
![](Box12412.gif) |
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 ();
|
|
![](Box12412.gif) |
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()
|
|
![](Box12412.gif) |
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()
|
|