AnaProp::PrepareProposal (Interface: AnaProp)
 
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
CreateAnaProp
Handling analytical accounting proposals using the SDK
WriteProposal
CancelProposal
 
Samples
 
C++
 
// Change the description of the current proposal to 'Updated by SDK!'
pAnaProp->PrepareProposal (paUpdate);

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

pAnaProp->WriteProposal (rmFullReport);

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

oAnaProp.pDescription = "Updated by SDK!";

oAnaProp.WriteProposal (eReportMode.rmFullReport);

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

oAnaProp.pDescription = "Updated by SDK!"

Call oAnaProp.WriteProposal(rmFullReport)

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

oAnaProp.pDescription = "Updated by SDK!"

oAnaProp.WriteProposal (eReportMode.rmFullReport)