QDVWBS.UpdateWholeEstimateFromDatabases Method

NOTE: This member is now obsolete. Use Qdv.UserApi.IEstimateVersion.UpdateWholeEstimateFromDatabases instead.

Updates all rows coming from article databases in whole estimate.
[Obsolete("Use Qdv.UserApi.IEstimateVersion.UpdateWholeEstimateFromDatabases instead.")] 
public int UpdateWholeEstimateFromDatabases( 
List<string> FieldsToBeUpdated
List<string> CheckFields = Nothing, 
List<string> RestrictToDatabases = Nothing, 
ref string ErrorMessage = "" 
)
This language is not supported or no code example is available.

Parameters

FieldsToBeUpdated
List<string>

A list containing mnemonics of fields to be updated. They will be updated when they also exist in article databases.

CheckFields
List<string>

A list of fields which must be identical in database and estimate to enable the update. When omitted, only reference field is taken into account. You can add Description, Manufacturer, Family and UserDefinedField. Only those fields are supported.

RestrictToDatabases
List<string>

When omitted, rows coming from any database is updated. You can list databases which should be taken into account as they appear in DatabaseSource field of the minute.

ErrorMessage
string

The error message. An empty string when no error.

Return Value

int

Returns error number. 0 means no error.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition