AccProp::PrepareProposal (Interface: AccProp)
 
Prepares the object for handling a proposal and its details.
 
void PrepareProposal (
    enum ePrepareAction ePrepareAction
)
 
Parameters
ePrepareAction
[in] A value of the 'ePrepareAction' enumeration.
 
See Also
CreateAccProp
Handling accounting proposals using the SDK
WriteProposal
CancelProposal
 
Samples
 
C++
 
// Change the description of the current proposal to 'Updated by SDK!'
pAccProp->PrepareProposal (paUpdate);

pAccProp->pDescription = "Updated by SDK!";

pAccProp->WriteProposal (rmFullReport);

C#
 
// Change the description of the current proposal to 'Updated by SDK!'
oAccProp.PrepareProposal (ePrepareAction.paUpdate);

oAccProp.pDescription = "Updated by SDK!";

oAccProp.WriteProposal (eReportMode.rmFullReport);

VBS
 
' Change the description of the current proposal to 'Updated by SDK!'
Call oAccProp.PrepareProposal(paUpdate)

oAccProp.pDescription = "Updated by SDK!"

Call oAccProp.WriteProposal(rmFullReport)

VB.NET
 
' Change the description of the current proposal to 'Updated by SDK!'
oAccProp.PrepareProposal(ePrepareAction.paUpdate)

oAccProp.pDescription = "Updated by SDK!"

oAccProp.WriteProposal (eReportMode.rmFullReport)