sale.property.getFieldsByType
sale.property.getFieldsByType()
The method returns order property fields and settings for specific property type.
Returned fields:
Field | Description |
---|---|
id | Property ID. |
personTypeId | Payer type ID to which property is binded. |
name | Property name. |
type | Type. |
required | Flag sets parameter as required. |
defaultValue | Default value. |
sort | Sorting. |
userProps | Whether included into the profile. |
isLocation | Whether it is a location. |
propsGroupId | Group ID. |
description | Description. |
isemail | Whether it is mail. |
isProfileName | Whether it is user profile name. |
isPayer | Whether it is used as payer name. |
isLocation4Tax | Whether it is used as location for taxes. |
isFiltered | Whether it is available in the order filter. |
code | System code. |
isZip | Whether it is used as zip code. |
isPhone | Whether it is a phone number. |
isAddress | Whether it is an address. |
active | Active status flag. |
util | Service flag. |
inputFieldLocation | input field location. |
multiple | Multiple flag. |
settings | Settings. |
Parameters
No parameters
Examples
BX24.callMethod( 'sale.property.getFieldsByType', {}, function(result) { if(result.error()) console.error(result.error().ex); else console.log(result.data()); });
© «Bitrix24», 2001-2023