Given the lookup key (really the general look up table Table Name) returns a string array of the distinct code value in that "table". Distinct means that two code values that substitute to the same substitute value would only return the one substitute. However, code value without a substitute would be returned as is. This is useful for drop down lists. Also handles other reference "tables" like Countries, Customer/Member Types, Chapters, Actity Types and Cash Accounts.

Namespace: Asi.iBO.SystemConfig
Assembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0

Syntax

C#
public string[] GetLookupValuesForDropDown(
	string lookupKey
)
Visual Basic
Public Function GetLookupValuesForDropDown ( _
	lookupKey As String _
) As String()
Visual C++
public:
array<String^>^ GetLookupValuesForDropDown(
	String^ lookupKey
)

Parameters

lookupKey
Type: System..::..String
The name of the general lookup table.

Return Value

A string array of all of the Code values in the supplied "table"

See Also