QDVWBS.RemoveAllRowsHavingNoSellingPrice Method

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

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.

[Obsolete("Use Qdv.UserApi.IEstimateVersion.RemoveAllRowsHavingNoSellingPrice instead.")] 
public int RemoveAllRowsHavingNoSellingPrice( 
string ErrorMessage = "" 
)
This language is not supported or no code example is available.

Parameters

ErrorMessage
string

Returns an empty string when no error. Otherwise returns text of error message.

Return Value

int

The error number. 0 when no error.

Remarks
 
Usually, this function is called from the event which creates the first progress statement, after selling prices are properly forced so that progress statements contain only lines having selling prices. Used when user doesn't need costs in progress statements.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition