Documentation

crm.requisite.preset.field.delete

Scope: catalog Permissions to execute: for all

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

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

Parameters

Parameter Description
id ID of the field from the template set.
presetLinked template set of fields.

Example

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


© «Bitrix24», 2001-2024