Documentation

crm.requisite.bankdetail.add

crm.requisite.bankdetail.add(fields)

Creates new bank details.

Parameters

Attention! ENTITY_ID does not specify contact/company ID, but a requisite ID.

Parameter Description
fieldsSet of fields - is an array ("field"=>"value"[, ...]), containing values of address fields. Where "field" can have values, returned by the crm.requisite.bankdetail.fields method.

Example



BX24.callMethod(
    "crm.requisite.bankdetail.add", 
    {
        fields:
        { 
			"ENTITY_ID":2,
			"COUNTRY_ID":1,
			"NAME":"Bank details",
			"XML_ID":"1e4641fd-2dd9-31e6-b2f2-105056c00008",
			"ACTIVE":"Y",
			"SORT":100			
        }
    }, 
    function(result) 
    {
        if(result.error())
            console.error(result.error());
        else
            console.info("Bank details with ID are created" + result.data());
    }
);


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-2020, «Bitrix Inc.», 2020