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
Parameter | Description | Version |
---|---|---|
$limit | Maximum number of orders archived at once. | |
$timeExecution | Maximum archiving executing time. |
Exceptions
- \Bitrix\Main\SystemException
Example
© «Bitrix24», 2001-2024
Up