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

Открытые статические члены

static getProductsSoldAmountForStores ($filter=[])
 
static getProductsSoldAmountForProducts ($filter=[])
 
static getProductsSoldAmountForProductsOnStore (int $storeId, $filter=[])
 
static getProductsSoldPricesForStores (array $filter=[])
 
static getProductsSoldPricesForProducts ($filter=[])
 
static getProductsSoldPricesForProductsOnStore (int $storeId, $filter=[])
 
static getProductsSoldPricesForDeductedPeriod (array $filter=[])
 
static getStoreStockSaleData (bool $isOneField, array $filter)
 
static getDefaultReportInterval ()
 
static getShippedData (array $filter)
 
static getArrivedData (array $filter)
 
static computeSoldPercent (float $shippedSum, float $arrivedSum, int $precision=2)
 
static getReservedData (array $filter)
 

Защищенные статические члены

static formStoresListFromStoresData (array $filter, array $storesData)
 
static getShippedDataListParameters (array $filter)
 
static getArrivedDataListParameters (array $filter)
 
static formField (array $storeReservedData, int $storeId=null)
 
static getPositionPrice (int $productId, float $productCount)
 
static initProductPrice (array $productIds)
 

Защищенные данные

const DEFAULT_DATE_INTERVAL = '-30D'
 

Статические защищенные данные

static $defaultCurrency
 
static $productPrice
 

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

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

Методы

◆ computeSoldPercent()

static computeSoldPercent ( float $shippedSum,
float $arrivedSum,
int $precision = 2 )
static

Return computed percent of sold products from store

Аргументы
float$shippedSum
float$arrivedSum
int$precision
Возвращает
float

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

◆ formField()

static formField ( array $storeReservedData,
int $storeId = null )
staticprotected

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

◆ formStoresListFromStoresData()

static formStoresListFromStoresData ( array $filter,
array $storesData )
staticprotected

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

◆ getArrivedData()

static getArrivedData ( array $filter)
static

Return array of stores that was involved in arrived documents and match by filter $filter

Аргументы
array$filter
Возвращает
array array of instances ProductStorage
См. также
\Bitrix\Catalog\Integration\Report\StoreStock\Entity\ProductStorage

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

◆ getArrivedDataListParameters()

static getArrivedDataListParameters ( array $filter)
staticprotected

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

◆ getDefaultReportInterval()

static getDefaultReportInterval ( )
static

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

◆ getPositionPrice()

static getPositionPrice ( int $productId,
float $productCount )
staticprotected

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

◆ getProductsSoldAmountForProducts()

static getProductsSoldAmountForProducts ( $filter = [])
static

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

◆ getProductsSoldAmountForProductsOnStore()

static getProductsSoldAmountForProductsOnStore ( int $storeId,
$filter = [] )
static

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

◆ getProductsSoldAmountForStores()

static getProductsSoldAmountForStores ( $filter = [])
static

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

◆ getProductsSoldPricesForDeductedPeriod()

static getProductsSoldPricesForDeductedPeriod ( array $filter = [])
static

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

◆ getProductsSoldPricesForProducts()

static getProductsSoldPricesForProducts ( $filter = [])
static

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

◆ getProductsSoldPricesForProductsOnStore()

static getProductsSoldPricesForProductsOnStore ( int $storeId,
$filter = [] )
static

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

◆ getProductsSoldPricesForStores()

static getProductsSoldPricesForStores ( array $filter = [])
static

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

◆ getReservedData()

static getReservedData ( array $filter)
static

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

◆ getShippedData()

static getShippedData ( array $filter)
static

Return array of stores that was involved in realization documents and match by filter $filter

Аргументы
array$filter
Возвращает
array array of instances StoreInfo
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

◆ getShippedDataListParameters()

static getShippedDataListParameters ( array $filter)
staticprotected

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

◆ getStoreStockSaleData()

static getStoreStockSaleData ( bool $isOneField,
array $filter )
static

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

◆ initProductPrice()

static initProductPrice ( array $productIds)
staticprotected

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

Данные класса

◆ $defaultCurrency

$defaultCurrency
staticprotected

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

◆ $productPrice

$productPrice
staticprotected

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

◆ DEFAULT_DATE_INTERVAL

const DEFAULT_DATE_INTERVAL = '-30D'
protected

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