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

pAccProp->PrepareProposal (paView);

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

pAccProp->CancelProposal ();

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

oAccProp.PrepareProposal (ePrepareAction.paView);

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

oAccProp.CancelProposal ();

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

Call oAccProp.PrepareProposal(paView)

sNumDets = oAccProp.GetNumDetails()

If sNumDets <> 0 Then
    ' Process data
End If

Call oAccProp.CancelProposal()

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

oAccProp.PrepareProposal(ePrepareAction.paView)

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

oAccProp.CancelProposal()