Documentation

crm.requisite.preset.field.get

Scope: catalog Permissions to execute: for all

crm.requisite.preset.field.get(id, preset)

Returns field description from the template set of fields for specified requisite. Set can contain values fetched by the method crm.requisite.preset.field.fields.

Parameters

Parameter Description
idField ID.
presetLinked template set of fields.

Example

var id = prompt("Enter ID");
BX24.callMethod(
	"crm.requisite.preset.field.get",
	{
		ID:id,
		preset:
		{
			"ID":1
		}
	},
	function(result) 
	{
		if(result.error())
			console.error(result.error());
		else
			console.dir(result.data());
	}
);


© «Bitrix24», 2001-2024