Create a Code/Description List representation from a Standard Range.

User Filters for Clients, Accounts etc will be respected.

Syntax

finUtilities.CreateCodeDescriptionListFromStandardRange(standardRange, codeDescriptionList, [sqlWhere], [includeInactive], [alwaysIncludeId])

Parameters

NameTypeOptionalByRefDescription
standardRange isefinStandardRange The Standard Range.
codeDescriptionList ISCodeDescriptionList ByRef The Code/ Description List.
sqlWhere String Optional An SQL Where clause to filter by. Depending on whether this Standard Range is based on a global collection or not this may filter either the DataView itself or be applied when querying the database.
includeInactive Boolean Optional Indicates whether to Include Inactive records. This will be ignored if it is not applicable to a particular Standard Range. If omitted, a value of False is assumed.
alwaysIncludeId String Optional The Id of a record to include regardless of whether it is inactive (if the concept of 'Inactive' records applies to this Standard Range).

Return Value

Boolean

A Boolean value indicating success.

Member of:
finUtilities
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0