CustomFields.Insert

Syntax:

Insert(<Name>, <Representation>, <Type>, <TheListOfAllowedValues>, <Position>)

Parameters:

<Name> (required)

Type: String.
Field name.

<Representation> (required)

Type: String.
Field representation.
If not specified, then is obtained from the <Name> parameter.

<Type> (optional)

Type: TypeDescription.
Field type.
Default value: Arbitrary.

<TheListOfAllowedValues> (optional)

Type: ValueList.
The list of possible values for a field.

<Position> (required)

Type: Number.
Position where field is to be inserted.

Returned value:

Type: CustomField.

Description:

Inserts field into the specified collection position.

Availability:

Server, thick client, external connection, Mobile application (server).

    

1C:Enterprise Developer's Community