Documentation

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

ParameterDescriptionVersion
$entityTypeIdEntity type ID.
$entityIdEntity ID for import.
$dupControlTypeDuplicate control type ("NO_CONTROL", "REPLACE", "MERGE", "SKIP").
$presetIdPreset ID for import.
$fieldsRequisite fields for import.

Example



© «Bitrix24», 2001-2024
Up