Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс Doctor

Открытые члены

 printProblems ()
 
 printInfo ()
 
 fixQuantitiesFromStores (int ... $productIds)
 
 fixReservesFromStores (int ... $productIds)
 
 fixReservesLessZero ()
 

Подробное описание

Doctor for inventory management.

См. определение в файле Doctor.php строка 35

Методы

◆ fixQuantitiesFromStores()

fixQuantitiesFromStores ( int ... $productIds)

Sets value to b_catalog_product.QUANTITY from stores amount.

Аргументы
int...$productIds
Возвращает
void

См. определение в файле Doctor.php строка 212

◆ fixReservesFromStores()

fixReservesFromStores ( int ... $productIds)

Sets value to b_catalog_product.QUANTITY_RESERVE from stores amount.

Аргументы
int...$productIds
Возвращает
void

См. определение в файле Doctor.php строка 278

◆ fixReservesLessZero()

fixReservesLessZero ( )

Sets values to b_catalog_product.QUANTITY_RESERVE and b_catalog_store_product.QUANTITY_RESERVE as 0 if quantity less than 0.

Возвращает
void

См. определение в файле Doctor.php строка 343

◆ printInfo()

printInfo ( )

Print info about catalog and sale actual quantities.

Возвращает
void

См. определение в файле Doctor.php строка 159

◆ printProblems()

printProblems ( )

Print catalog and sale problems.

Возвращает
void

См. определение в файле Doctor.php строка 98