Venice
AnaProp::GetNumDetails
 
Gets the number of accounting details.
 
SHORT GetNumDetails ()
 
Return value
A SHORT containing the number of details of the current proposal.
 
See Also
CreateAnaProp
Handling analytical accounting proposals using the SDK
PrepareProposal
CancelProposal
 
Samples
 
C++
 
// Get the number of details of the current proposal
short sNumDets;

pAnaProp->PrepareProposal (paView);

sNumDets = pAnaProp->GetNumDetails ();
    
if (sNumDets != 0)
{
    // Process data
}

pAnaProp->CancelProposal ();

C#
 
// Get the number of details of the current proposal
short sNumDets;

oAnaProp.PrepareProposal (ePrepareAction.paView);

sNumDets = oAnaProp.GetNumDetails ();
    
if (sNumDets != 0)
{
    // Process data
}

oAnaProp.CancelProposal ();

VBS
 
' Get the number of details of the current proposal
Dim sNumDets

Call oAnaProp.PrepareProposal(paView)

sNumDets = oAnaProp.GetNumDetails()

If sNumDets <> 0 Then
    ' Process data
End If

Call oAnaProp.CancelProposal()

VB.NET
 
' Get the number of details of the current proposal
Dim sNumDets As Short

oAnaProp.PrepareProposal(ePrepareAction.paView)

sNumDets = oAnaProp.GetNumDetails()
    
If sNumDets <> 0 Then
    ' Process data
End If

oAnaProp.CancelProposal()