Documentation

sale.statusLang.add

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-2022
Up