QDVWBS.UpdateRowsFromDatabases Method

NOTE: This member is now obsolete. Use Qdv.UserApi.IMinute.UpdateRowsFromDatabases instead.

Updates specified rows when they come from article databases.
[Obsolete("Use Qdv.UserApi.IMinute.UpdateRowsFromDatabases instead.")] 
public int UpdateRowsFromDatabases( 
string HexIndex
int FromRow
int ToRow
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

HexIndex
string

The 24 characters hexadecimal index identifying the task (the minute).

FromRow
int

The first row to update in the minute (1-9999).

ToRow
int

The last row to update in the minute (1-9999).

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 the database and the 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