Documentation

sale.property.getFieldsByType

sale.property.getFieldsByType()

The method returns order property fields and settings for specific property type.

Returned fields:

Field Description
idProperty ID.
personTypeIdPayer type ID to which property is binded.
nameProperty name.
typeType.
requiredFlag sets parameter as required.
defaultValueDefault value.
sortSorting.
userPropsWhether included into the profile.
isLocationWhether it is a location.
propsGroupIdGroup ID.
descriptionDescription.
isemailWhether it is mail.
isProfileNameWhether it is user profile name.
isPayerWhether it is used as payer name.
isLocation4TaxWhether it is used as location for taxes.
isFilteredWhether it is available in the order filter.
codeSystem code.
isZipWhether it is used as zip code.
isPhoneWhether it is a phone number.
isAddressWhether it is an address.
activeActive status flag.
utilService flag.
inputFieldLocationinput field location.
multipleMultiple flag.
settingsSettings.

Parameters

No parameters

Examples

BX24.callMethod(
    'sale.property.getFieldsByType', 
    {}, 
    function(result)
    {
        if(result.error())
            console.error(result.error().ex);
        else
            console.log(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.
© «Bitrix24», 2001-2021, «Bitrix24», 2021