- - CustomFieldObj
  - Sorting custom fields applications
    - MoveUp
    - MoveDown
  - id
  - CustomField
  - SetCustomField VALUE
  - ObjectId
  - SetObjectId VALUE
  - SortOrder
  - SetSortOrder VALUE
  - Creator
  - Created
  - LastUpdatedBy
  - LastUpdated

## CustomFieldObj

Returns the CustomField Object which has the id returned by CustomField

## Sorting custom fields applications

Custom fields sorted on multiple layers. First of all custom fields with different lookup type are sorted independently. All global custom fields have fixed order for all objects, but you can insert object specific custom fields between them. Object specific custom fields can be applied to several objects and be on different place. For example you have GCF1, GCF2, LCF1, LCF2 and LCF3 that applies to tickets. You can place GCF2 above GCF1, but they will be in the same order in all queues. However, LCF1 and other local can be placed at any place for particular queue: above global, between them or below.

### MoveUp

Moves custom field up. See </Sorting custom fields applications>.

### MoveDown

Moves custom field down. See </Sorting custom fields applications>.

## id

Returns the current value of id. (In the database, id is stored as int(11).)

## CustomField

Returns the current value of CustomField. (In the database, CustomField is stored as int(11).)

## SetCustomField VALUE

Set CustomField to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, CustomField will be stored as a int(11).)

## ObjectId

Returns the current value of ObjectId. (In the database, ObjectId is stored as int(11).)

## SetObjectId VALUE

Set ObjectId to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, ObjectId will be stored as a int(11).)

## SortOrder

Returns the current value of SortOrder. (In the database, SortOrder is stored as int(11).)

## SetSortOrder VALUE

Set SortOrder to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, SortOrder will be stored as a int(11).)

## Creator

Returns the current value of Creator. (In the database, Creator is stored as int(11).)

## Created

Returns the current value of Created. (In the database, Created is stored as datetime.)

## LastUpdatedBy

Returns the current value of LastUpdatedBy. (In the database, LastUpdatedBy is stored as int(11).)

## LastUpdated

Returns the current value of LastUpdated. (In the database, LastUpdated is stored as datetime.)

← Back to index