|
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;
pSInvce->PrepareDocument (paView);
sNumItrDets = pSInvce->GetNumItrDetails ();
if (sNumItrDets != 0)
{
// Process data
}
pSInvce->CancelDocument ();
|
|
|
C# |
|
// Get the number of Intrastat details of the current document
short sNumItrDets;
oSInvce.PrepareDocument (ePrepareAction.paView);
sNumItrDets = oSInvce.GetNumItrDetails ();
if (sNumItrDets != 0)
{
// Process data
}
oSInvce.CancelDocument ();
|
|
|
VBS |
|
' Get the number of Intrastat details of the current document
Dim sNumItrDets
Call oSInvce.PrepareDocument(paView)
sNumItrDets = oSInvce.GetNumItrDetails()
If sNumItrDets <> 0 Then
' Process data
End If
Call oSInvce.CancelDocument()
|
|
|
VB.NET |
|
' Get the number of Intrastat details of the current document
Dim sNumItrDets As Short
oSInvce.PrepareDocument(ePrepareAction.paView)
sNumItrDets = oSInvce.GetNumItrDetails()
If sNumItrDets <> 0 Then
' Process data
End If
oSInvce.CancelDocument()
|
|