importOldRequisiteAddresses
\Bitrix\Main\Result public static \Bitrix\Crm\Requisite\ImportHelper::importOldRequisiteAddresses( integer $entityTypeId, integer $entityId, string $dupControlType, integer $presetId, array $fields );
Imports old addresses or requisites for company. Replaces old method EntityRequisite :: importEntityRequisite. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$entityTypeId | Entity type ID. | |
$entityId | Entity ID for import. | |
$dupControlType | Duplicate control type ("NO_CONTROL", "REPLACE", "MERGE", "SKIP"). | |
$presetId | Preset ID for import. | |
$fields | Requisite fields for import. |
Example
© «Bitrix24», 2001-2024
Up