QDVWBS.PushNewVersion Method

NOTE: This member is now obsolete. Use Qdv.UserApi.IEstimate.PushNewVersion instead.

Pushes a new version derived from the current WBS.
[Obsolete("Use Qdv.UserApi.IEstimate.PushNewVersion instead.")] 
public bool PushNewVersion( 
string ClosingComment = "", 
string OpeningComment = "", 
bool SaveBoQ = True, 
bool SaveWordTemplates = False, 
ref int ErrorNumber = 0, 
ref string ErrorMessage = "" 
)
This language is not supported or no code example is available.

Parameters

ClosingComment
string

Optional. The closing comment of the previous version/progress.

OpeningComment
string

Optional. The opening comment of the new version.

SaveBoQ
bool

Optional. Default true. If set to true, then the BoQ if any will be copied to the old version ; otherwise, the BoQ of the current version will be used for all versions/progresses.

SaveWordTemplates
bool

Optional. Default is false. If set to true, then Word templates if any will be copied to the old version; otherwise, the Word templates of the current version will be used for all versions/progresses.

ErrorNumber
int

Optional: Returns a number identifying the error. 0 means no error.

ErrorMessage
string

Optional: Returns a localized text message identifying the error if any. Bank when no error.

Return Value

bool

true if successFull.

Remarks
 

Message can be given in error cases; 
No Messages or promptings are given when everything is ok. 
No user events are fired indicating the start and end of create version.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition