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

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

static getProductsSoldAmountForStores ($filter=[])
 
static getProductsSoldAmountForProductsOnStore (int $storeId, $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 строка 28

Методы

◆ 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 строка 341

◆ formField()

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

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

◆ formStoresListFromStoresData()

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

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

◆ 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 строка 327

◆ getArrivedDataListParameters()

static getArrivedDataListParameters ( array  $filter)
staticprotected

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

◆ getDefaultReportInterval()

static getDefaultReportInterval ( )
static

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

◆ getPositionPrice()

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

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

◆ getProductsSoldAmountForProductsOnStore()

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

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

◆ getProductsSoldAmountForStores()

static getProductsSoldAmountForStores (   $filter = [])
static

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

◆ getReservedData()

static getReservedData ( array  $filter)
static

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

◆ 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 строка 209

◆ getShippedDataListParameters()

static getShippedDataListParameters ( array  $filter)
staticprotected

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

◆ getStoreStockSaleData()

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

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

◆ initProductPrice()

static initProductPrice ( array  $productIds)
staticprotected

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

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

◆ $defaultCurrency

$defaultCurrency
staticprotected

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

◆ $productPrice

$productPrice
staticprotected

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

◆ DEFAULT_DATE_INTERVAL

const DEFAULT_DATE_INTERVAL = '-30D'
protected

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