Documentation

archiveByOptions

\Bitrix\Sale\Result public static
\Bitrix\Sale\Archive\Manager::archiveByOptions(
 integer $limit = null,
 integer $timeExecution = null
);

Method for archiving orders selected by module settings.

Used by archiving agent.

Parameters

ParameterDescriptionVersion
$limitMaximum number of orders archived at once.
$timeExecutionMaximum archiving executing time.

Exceptions

  • \Bitrix\Main\SystemException

Example



© «Bitrix24», 2001-2024
Up