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

Properties

  NameDescription
ActivityTypes
Gets a list of all of the Activity Types defined in the iMIS instance
Appeals
Gets the list of Appeals defined in the iMIS instance. Key is the AppealCode, Value is the Appeal's title
BadAddressReasons
Gets the list of possible reasons that an address might be bad
Campaigns
Gets the list of Campaigns defined in the iMIS instance. Key is the CampaignCode, Value is the campaing's title
CashAccounts
Gets the list of Cash Accounts defined in the iMIS instance, as CCashAccount objects
Chapters
Gets a list of all of the "chapters" (a.k.a., affiliates, subsidiaries, etc.) defined in the iMIS instance
CommitteePositions
Gets the list of Committee Positions defined in the iMIS instance. Key is the position code, Value is the position title
ContactStatus
Gets ahe list of statuses assignable to a Contact.
Countries
Gets the list of Countries defined in the iMIS instance, as CCountry objects
CustomerTypes
Gets the list of Customer types defined in the iMIS instance as CCustomerType objects
ExtTableNames
Gets an array listing the names of all of the ExtTables (User Defined Tables) defined in the system
ExtViewNames
Gets an array listing the names of all of the ExtViews (User Defined Windows) defined in the system
FinancialEntities
Gets the list of Financial Entities defined in the iMIS instance as CFinancialEntity objects
FinancialTerms
Gets the list of Terms defined in the iMIS instance. Key is the TermsCode, Value is a human meaningful description
FundraisingDistributions
Gets the list of fundraising Distributions defined in the iMIS instance. Key is the ProductCode, Value is the product's title
Funds
Gets the list of Financial Entities defined in the iMIS instance that are funds, as CFinancialEntity objects
LastRefreshDateTime
Gets the date and time that the cached object was lasted refreshed.
NavMenuTable
Gets a DataTable that contains all the Nav_Menu rows.
OrderTypes
Gets the list of Order Types defined in the iMIS instance
PaymentAuthorizationAccounts
Gets the list of Payment Authorization Accounts (CCAuthAccts) defined in the iMIS instance, as CPaymentAuthorizationAccount objects
Prefixes
Gets the list of name prefixes defined in the iMIS instance. For example, Mr., Mrs., Dr. etc.
SecurityGroups
Gets the list of Security groups defined in the iMIS instance as CSecurityGroup objects
Senders
Gets the list of fundraising Senders defined in the iMIS instance. Key is the SenderCode, Value is the sebder's description
Solicitors
Gets the list of Solicitors defined in the iMIS instance. Key is the SolicitorID, Value is the Solicitor's name
StateProvinceLookup
Gets a list of all of the states/provinces defined in the iMIS instance
StatesProvinces
Gets a list of all of the states/provinces defined in the iMIS instance
Suffixes
Gets the list of name suffixes defined in the iMIS instance. For example, Jr., Sr., III, etc
SystemDefaultFinancialEntity
Gets the default financial entity defined for the iMIS instance or NULL if no default financial entity is defined
TaxAuthorities
Gets the list of Taxing Authorities defined in the iMIS instance, as CTaxAuthority objects
WebsiteTable
Gets a DataTable that contains all the Website rows.
WorkflowStatus
Gets an array of WorkflowStatus defined in the iMIS instance as CWorkflowStatus objects

See Also