Documentation

crm.invoice.userfield.add

crm.invoice.userfield.add(fields)

Created a new user field for invoices.

System limitation for field name - 20 characters. Prefix UF_CRM_is always added to the user field name. As a result, the actual name length - 13 characters.

Parameters

Parameter Description
fieldsSet of fields - is an array (“updated field"=>”value”[, ...]), containing description of a user field. Full field description can be returned via the crm.userfield.fields method.

Example

	BX24.callMethod(
		"crm.paysystem.list", {
			order: {"SORT": "ASC"},
			filter: {
				"%NAME": "Quote",
			}
		},
		function (result)
		{
			if (result.error())
			{
				console.error(result.error());
			}
			else
			{
				console.dir(result.data());
				if (result.more())
					result.next();
			}
		}
	);





User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2021, «Bitrix Inc.», 2021