Documentation

sale.statusLang.add

Scope: sale Permissions to execute: for all

sale.statusLang.add(fields)

The method adds a localization.

When successful, returns status localization resource in response body.

Parameters

ParameterType Description
fieldsobject FIelds, corresponding to available list of getFields.


Examples

BX24.callMethod(
    'sale.statusLang.add', 
    {
	  fields: {
		statusId: 'XX',
		lid: 'en',
		name: 'Final'		
	    }
	  }
	}, 
    function(result)
    {
        if(result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
});


© «Bitrix24», 2001-2024