|
Gets the number of accounting details. |
|
 |
SHORT GetNumDetails () |
|
|
Return value |
A SHORT containing the number of details of the current document. |
|
See Also |
|
|
|
Samples |
|
 |
C++ |
|
// Get the number of details of the current document
short sNumDets;
pSales->PrepareDocument (paView);
sNumDets = pSales->GetNumDetails ();
if (sNumDets != 0)
{
// Process data
}
pSales->CancelDocument ();
|
|
 |
C# |
|
// Get the number of details of the current document
short sNumDets;
oSales.PrepareDocument (ePrepareAction.paView);
sNumDets = oSales.GetNumDetails ();
if (sNumDets != 0)
{
// Process data
}
oSales.CancelDocument ();
|
|
 |
VBS |
|
' Get the number of details of the current document
Dim sNumDets
Call oSales.PrepareDocument(paView)
sNumDets = oSales.GetNumDetails()
If sNumDets <> 0 Then
' Process data
End If
Call oSales.CancelDocument()
|
|
 |
VB.NET |
|
' Get the number of details of the current document
Dim sNumDets As Short
oSales.PrepareDocument(ePrepareAction.paView)
sNumDets = oSales.GetNumDetails()
If sNumDets <> 0 Then
' Process data
End If
oSales.CancelDocument()
|
|