Class UDefHelper
Helper class for user defined fields used with 'contact', 'person', 'project' or 'sale'.
Inherited Members
Namespace: SuperOffice.CRM.Rows.Util
Assembly: SoDataBase.dll
Syntax
[Obsolete("No longer in use", true)]
public sealed class UDefHelper
Methods
GetUDefColumnId(string, EUDefType)
Get the ColumnId for the user defined value
Declaration
public static int GetUDefColumnId(string fieldLabel, EUDefType ownerTableId)
Parameters
Type | Name | Description |
---|---|---|
string | fieldLabel | label of user defined field |
EUDefType | ownerTableId | The table the user defined value belongs to. |
Returns
Type | Description |
---|---|
int | ColumnId (e.g. Win32: SodbifId) for the user defined field. |
GetUDefOwnerTableName(EUDefType)
Helper function to retrieve the name of a owner table, given its enum value
Declaration
public static string GetUDefOwnerTableName(EUDefType ownerTableId)
Parameters
Type | Name | Description |
---|---|---|
EUDefType | ownerTableId | Enumvalue for owner table |
Returns
Type | Description |
---|---|
string | The name of the table. |