Documentation

crm.requisite.preset.field.update

crm.requisite.preset.field.update(preset, fields)

Updates field to a set of fields for a template, linked to requisite. Set can contain values fetched by the method crm.requisite.preset.field.fields.

Parameters

Parameter Description
presetLinked template set of fields.
fieldsDescription of fields from the set.

Example

BX24.callMethod(
	"crm.requisite.preset.field.update", 
	{ 
		ID:id,
		preset: 
		{
			"ID":1
		},
		fields:
		{
			"FIELD_TITLE":"Name",
			"IN_SHORT_LIST":"Y",
		}
	}, 
	function(result) 
	{
		if(result.error())
			console.error(result.error());
		else
		{
			console.info(result.data());						
		}
	}
);	



© «Bitrix24», 2001-2024