The CReferenceData type exposes the following members.

Methods

  NameDescription
CheckLookupCode
Checks to see if the code supplied exists in the lookup table referenced in lookupKey. If so, and a substitute is defined for the code, the substitute is returned in the substitute parameter.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetAddressFormula
Given the Address Format "key", returns the associated formula used to build the Full Address
GetBadAddressReasonDescription
Given the BadAddressReasonCode (key to the reference table of bad address reasons) returns the matching description
GetCashAccount
Given a Cash Account Code, returns the associated CCashAccount object, or NULL if the cash account name is not found
GetCountry
Given a country name, returns the associated CCountry object, or NULL if the country name is not found
GetCustomerType
Given a customer type code (key to the customer/member type), returns the associated CCustomerType object, or NULL if the customer type is not found
GetExtTableDefinition
Given the name of an EXTTable gets a CExtTable object containing its definition, but no instance data.
GetExtViewDefinition
Given the name of an EXTView gets a CExtView object containing its definition, but no instance data.
GetFinancialEntity
Given the organizationCode (key to the financial entity), returns the associated CFinancialEntity object, or NULL if the financial entity is not found
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetLookupCodeDescription
Given the tableName (really the general look up table Table Name) returns a KeyValuePair array of all of the Codes and Values in that "table".
GetLookupDescription
Given the tableName (really the general look up table Table Name) and the Code returns the description.
GetLookupValues
Given the lookup key (really the general look up table Table Name) returns a string array of all of the Code values in that "table". Also handles other reference "tables" like Countries, Customer/Member Types, Chapters, Actity Types and Cash Accounts.
GetLookupValuesForDropDown
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.
GetModuleDefaultFinEntity
Returns the default financial entity for the supplied iMIS module. If the module financial entity is not defined, then the System Default Financial Entity is returned.
GetNameIndex
Given a property name, in the form Table_Name.COLUMN_NAME, returns the number of the custom index which indexes that property (1 thru 4), or 0 if the property is not indexed. For example, if the 2nd custom index is on Name_Demo.CERTIFICATE_NUMBER, and "Name_Demo.CERTIFICATE_NUMBER" is supplied, 2 will be returned.
GetSecurityGroup
Given a security group code, returns the associated CSecurityGroup object, or NULL if the security group is not found
GetSenderDescription
Given the sender code, returns the description.
GetSystemParameterValueOverloaded.
GetSystemParameterValueBool
Gets the value associated with the given system parameter
GetTaxAuthority
Given a tax authority code (key to the tax authority), returns the associated CTaxAuthority object, or NULL if the tax authority is not found
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
PeriodicRefresh
Refreshes the cached variable values if the supplied interval has passed since the last refresh.
Refresh
Refreshes the cached variable values.
RefreshSystemParameters
Refreshes the cached system parameter values.
SetSystemParameterValueOverloaded.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
ValidateActivityType
Checks to see if the supplied Activity Type is valid
ValidateFinancialTerms
Checks to see if the supplied terms code is valid
ValidateOrderType
Checks to see if the supplied Order Type is valid

See Also