IEstimateVersion Interface

Represents a version in an estimate in QDV.
Public Interface IEstimateVersion
This language is not supported or no code example is available.
public interface IEstimateVersion
This language is not supported or no code example is available.
Name Description
Public property Boq Gets the B.o.Q. of this estimate version.
Public property DatabaseOfEstimate Gets the database of the estimate.
Public property DatabaseOfEstimateMinute Gets the minute with rows of 'Database of the estimate'. This is just an alias for IDatabaseOfEstimate.DatabaseOfEstimateMinute.
Public property Estimate Gets the estimate to which this version belongs.
Public property GlobalVariables Gets the global variables of this estimate version.
Public property Nomenclatures Gets the nomenclatures of this estimate version.
Public property Overhead Gets the overhead of this estimate version.
Public property OverheadCostsMinute Gets the Overhead costs minute.
Public property Version Gets the version number of this estimate version.
Public property VersionLetter Gets the letter of the version (A, B, C, etc.) of this estimate version.
Public property Wbs Gets the WBS of this estimate version.
Top
Methods
 
Name Description
Public method ComputeAll(bool, bool) Computes costs and selling prices.
Public method ComputeCostsOnly() Computes costs.
Public method CreateWordDocument(string, string, bool, string) Creates either Docx, Docm, PDF or XPS documents from the current estimate.
Public method EmptyCompleteEstimate(bool, bool) Removes all tasks and branches from WBS, including associated minute rows. It leaves only one parent node (001000000000000000000000) and one blank sub-task (001001000000000000000000).
Public method ExtractWordTemplate(string, string) Exports a Word template stored in the estimate to a file. Can be either Docx or Docm.
Public method ForceSellingPrices(ForceSellingPricesKind) Performs the forcing of the selling prices in the estimate.
Public method GetAnalyticReportingTools() Gets the reporting tools for this estimate version.
Public method GetCalculationMode() Gets the calculation mode.
Public method GetGantt() Gets the IGantt for this version in an estimate.
Public method GetItemTotalQuantity(string, bool) Returns the total quantity (the sum of quantities of each occurrence) of the specified item in the estimate.
Public method GetLargestDescriptionForReference(string)

Gets the largest description field available in the estimate for the reference.

Public method GetTargetValueFlag() Gets the target value flag (tell if the version uses a target value).
Public method IsProgress() Indicates whether this version is a progress statement.
Public method MakeGroupsSets(bool) Transforms groups into 1st level sets. Useful for IDIQ contracts (formerly known as call-off contracts). Apply always to whole estimate.
Public method RefreshAll(bool) Refreshes all WBS mappings, minutes mapping, WBS tree structure, global variables and internal cache of WBS and Minutes data.
Public method ReleaseLocksOnAllWorkbooks() Releases locks on all workbooks in this estimate version (Overhead, WBS, BOQ, ...).
Public method RemoveAllLinksToDatabaseOfEstimate(bool, bool) Removes all links to the database of the estimate and makes a copy of the corresponding rows in the minutes.
Public method RemoveAllRowsHavingNoSellingPrice()

Removes all minute rows having no selling price. Dangerous! Always apply to whole estimate!

YOU MUST COMPUTE SELLING PRICES FIRST to avoid deletion of all rows.

Public method RemoveTotalModeEverywhere() Divides all quantities in minutes by WBS quantity when the Total mode is activated and removes the Total mode at WBS level.
Public method SetCalculationMode(CalculationMode, RestoreWhatOnCalculationChange) Sets the calculation mode.
Public method SetMinuteColumnFormula(string, string) Obsolete. Sets a formula in a minute column.
Public method SetMinuteColumnVisibleMode(string, bool, bool) Obsolete. Defines if a minute column is visible in estimate mode or/and in progress mode.
Public method SetMinuteFieldValueUponCriteria(Dictionary<StringObject>, Dictionary<StringObject>, Dictionary<StringObject>, bool) Sets value to fields in minutes, globally, according to a criteria.
Public method SetUseTargetValue(bool) Sets the flag for the target value.
Public method SetValueToWholeMinuteColumn(string, object) Sets a fixed value to all cells of a column in the minutes. Useful for IDIQ contracts (formerly known as call-off contracts).
Public method SetVatRate(double) Sets VAT rate for the estimate.
Public method UpdateMinuteValues(string, object, string, object, WhereConditionType, bool) Updates a field value of multiple minutes based on a test condition. The search is performed on all WBS tasks.
Public method UpdateMinuteValues(string, object, string, object, WhereConditionType, bool, string, WhereConditionType) Updates a field value of multiple minutes based on a test condition. The search is performed in the specified WBS branches.
Public method UpdateMinuteValues(string, object, string, object, WhereConditionType, bool, IEnumerable<ITask>) Updates a field value of multiple minutes based on a test condition. The search is performed on the specified WBS tasks.
Public method UpdateSets(bool, IEnumerable<String>, bool, bool) Updates the sets in the estimate.
Public method UpdateSets(string, int, int, IEnumerable<String>, bool, bool) Updates the sets in the estimate.
Public method UpdateWholeEstimateFromDatabases(List<String>, List<String>, List<String>) Updates all rows coming from article databases in whole estimate.
Top
Version
 
Available since QDV 7.13.0001.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition