|
Gets the number of Intrastat details. |
|
 |
SHORT GetNumItrDetails () |
|
|
Return value |
A SHORT containing the number of Intrastat details of the current document. | | Remarks |
 | If the option 'Intrastat' is not active in the dossier, this method returns 0. |
|
|
See Also |
|
|
|
Samples |
|
 |
C++ |
|
// Get the number of Intrastat details of the current document
short sNumItrDets;
pPurch->PrepareDocument (paView);
sNumItrDets = pPurch->GetNumItrDetails ();
if (sNumItrDets != 0)
{
// Process data
}
pPurch->CancelDocument ();
|
|
 |
C# |
|
// Get the number of Intrastat details of the current document
short sNumItrDets;
oPurch.PrepareDocument (ePrepareAction.paView);
sNumItrDets = oPurch.GetNumItrDetails ();
if (sNumItrDets != 0)
{
// Process data
}
oPurch.CancelDocument ();
|
|
 |
VBS |
|
' Get the number of Intrastat details of the current document
Dim sNumItrDets
Call oPurch.PrepareDocument(paView)
sNumItrDets = oPurch.GetNumItrDetails()
If sNumItrDets <> 0 Then
' Process data
End If
Call oPurch.CancelDocument()
|
|
 |
VB.NET |
|
' Get the number of Intrastat details of the current document
Dim sNumItrDets As Short
oPurch.PrepareDocument(ePrepareAction.paView)
sNumItrDets = oPurch.GetNumItrDetails()
If sNumItrDets <> 0 Then
' Process data
End If
oPurch.CancelDocument()
|
|