Метод addExpenses
Сигнатура метода
protected static function addExpenses($sourceId, Main\Type\Date $from, Main\Type\Date $to, $sum, $currencyId, $actions, $comment = null)
Параметры
7| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$sourceId
|
—
|
—
|
—
|
$from
|
Main\Type\Date
|
—
|
—
|
$to
|
Main\Type\Date
|
—
|
—
|
$sum
|
—
|
—
|
—
|
$currencyId
|
—
|
—
|
—
|
$actions
|
—
|
—
|
—
|
$comment
|
—
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/tracking/internals/expensespack.php
Расположение метода в файле
Строки
111–161