Connector
Connector class for associating locations to other entities, such as deliveries, groups, taxes.
Class methods
Method | Description | Available from version |
---|---|---|
add | Adds new association between location and entity. | |
checkConnectionExists | Checks if indicated location is associated with specified entity. | |
delete | Deletes association between location and entity. | |
getConnectedGroups | Returns set of location groups associated with specified entity. | |
getConnectType | Returns type of association for current entity (string constant L or G ). |
|
getLinkField | Returns name for a table column, containing associations for location tables and entities. For example, returns DELIVERY_ID for a delivery . Limitation: this mechanism doesn't support composite primary keys. |
|
getLocationLinkField | Returns name for the field containing a location ID or code. Majority of entities use LOCATION_ID by default. For newly created entities, must have LOCATION_CODE (string). |
|
update | Updates parameters for association between location and entity. |
© «Bitrix24», 2001-2024