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

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

static isUsed ()
 
static isUsedOneC ()
 
static enableOnec ()
 
static disableOnec ()
 
static isPlanRestricted ()
 
static enable ()
 
static enableWithoutResetting ()
 
static installCatalogStores ()
 
static disable ()
 
static resetDocuments ()
 
static isQuantityInconsistent ()
 
static conductedDocumentsExist ()
 
static isEmpty ()
 
static getCodesStoreByZone ()
 
static setNeedShowSlider ($need)
 
static needShowSlider ()
 
static clearNeedShowSlider ()
 
static isPortal ()
 
static isCloud ()
 
static isBitrixSiteManagement ()
 
static installPreset (array $list)
 
static resetPreset ()
 
static enableWithPreset (array $preset)
 

Открытые атрибуты

const URL_PARAM_STORE_MASTER_HIDE = "STORE_MASTER_HIDE"
 

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

static isCrmExists ()
 
static shouldManageQuantityTrace ()
 
static isSeparateSku ()
 
static checkEnablingConditions ()
 
static enableOptions ()
 
static registerEventsHandlers ()
 
static unRegisterEventsHandlers ()
 
static hasDefaultCatalogStore ()
 
static getFirstCatalogStore ()
 
static setDefaultCatalogStore ($storeId)
 
static createDefaultCatalogStore ()
 
static resetQuantity ()
 
static resetQuantityTrace ()
 
static resetQuantityTraceMainTypes ()
 
static resetQuantityTraceSku ()
 
static resetQuantityTraceEmptySku ()
 
static resetQuantityTraceSets ()
 
static resetSaleReserve ()
 
static disableQuantityTraceMainTypes ()
 
static disableQuantityTraceSku ()
 
static disableQuantityTraceEmptySku ()
 
static disableQuantityTraceSets ()
 

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

const CATEGORY_NAME = "use_store"
 
const OPTION_NAME = "catalog.warehouse.master.clear"
 
const STORE_WILDBERRIES = "WILDBERRIES"
 
const STORE_SBERMEGAMARKET = "SBERMEGAMARKET"
 
const STORE_OZON = "OZON"
 
const STORE_ALIEXPRESS = "ALIEXPRESS"
 

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

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

Методы

◆ checkEnablingConditions()

static checkEnablingConditions ( )
staticprotected

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

◆ clearNeedShowSlider()

static clearNeedShowSlider ( )
static

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

◆ conductedDocumentsExist()

static conductedDocumentsExist ( )
static

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

◆ createDefaultCatalogStore()

static createDefaultCatalogStore ( )
staticprotected

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

◆ disable()

static disable ( )
static

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

◆ disableOnec()

static disableOnec ( )
static

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

◆ disableQuantityTraceEmptySku()

static disableQuantityTraceEmptySku ( )
staticprotected

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

◆ disableQuantityTraceMainTypes()

static disableQuantityTraceMainTypes ( )
staticprotected

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

◆ disableQuantityTraceSets()

static disableQuantityTraceSets ( )
staticprotected

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

◆ disableQuantityTraceSku()

static disableQuantityTraceSku ( )
staticprotected

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

◆ enable()

static enable ( )
static

Enables inventory management and resets all the reserves and quantities

Возвращает
bool

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

◆ enableOnec()

static enableOnec ( )
static

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

◆ enableOptions()

static enableOptions ( )
staticprotected

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

◆ enableWithoutResetting()

static enableWithoutResetting ( )
static

Enables inventory management without resetting any reserves or quantities

Возвращает
bool

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

◆ enableWithPreset()

static enableWithPreset ( array  $preset)
static

Scenario switch-on inventory-management + Install preset check Plan check CRM-module included check CRM-mode (order or deal) check Lead-mode check integration with 1C Quantity trace set - Y Can buy zero set - Y Allow negative amount set - Y Use store control set - Y Enable reservation set - Y Reset sale reserve Installation trading platform Set main.interface.grid Set user options for inventory-management slider

Аргументы
array$preset
Возвращает
bool

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

◆ getCodesStoreByZone()

static getCodesStoreByZone ( )
static

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

◆ getFirstCatalogStore()

static getFirstCatalogStore ( )
staticprotected

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

◆ hasDefaultCatalogStore()

static hasDefaultCatalogStore ( )
staticprotected

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

◆ installCatalogStores()

static installCatalogStores ( )
static

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

◆ installPreset()

static installPreset ( array  $list)
static

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

◆ isBitrixSiteManagement()

static isBitrixSiteManagement ( )
static

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

◆ isCloud()

static isCloud ( )
static

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

◆ isCrmExists()

static isCrmExists ( )
staticprotected
Возвращает
bool

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

◆ isEmpty()

static isEmpty ( )
static

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

◆ isPlanRestricted()

static isPlanRestricted ( )
static

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

◆ isPortal()

static isPortal ( )
static

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

◆ isQuantityInconsistent()

static isQuantityInconsistent ( )
static

Checks for:

  • products with inconsistencies between their QUANTITY field and their actual amount between stores
  • products that are not in any store but have something in their QUANTITY field
    Возвращает
    bool

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

◆ isSeparateSku()

static isSeparateSku ( )
staticprotected
Возвращает
bool

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

◆ isUsed()

static isUsed ( )
static

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

◆ isUsedOneC()

static isUsedOneC ( )
static

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

◆ needShowSlider()

static needShowSlider ( )
static

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

◆ registerEventsHandlers()

static registerEventsHandlers ( )
staticprotected

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

◆ resetDocuments()

static resetDocuments ( )
static

Delete all warehouse documents.

Возвращает
void

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

◆ resetPreset()

static resetPreset ( )
static

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

◆ resetQuantity()

static resetQuantity ( )
staticprotected

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

◆ resetQuantityTrace()

static resetQuantityTrace ( )
staticprotected

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

◆ resetQuantityTraceEmptySku()

static resetQuantityTraceEmptySku ( )
staticprotected

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

◆ resetQuantityTraceMainTypes()

static resetQuantityTraceMainTypes ( )
staticprotected

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

◆ resetQuantityTraceSets()

static resetQuantityTraceSets ( )
staticprotected

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

◆ resetQuantityTraceSku()

static resetQuantityTraceSku ( )
staticprotected

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

◆ resetSaleReserve()

static resetSaleReserve ( )
staticprotected

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

◆ setDefaultCatalogStore()

static setDefaultCatalogStore (   $storeId)
staticprotected

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

◆ setNeedShowSlider()

static setNeedShowSlider (   $need)
static

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

◆ shouldManageQuantityTrace()

static shouldManageQuantityTrace ( )
staticprotected
Возвращает
bool

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

◆ unRegisterEventsHandlers()

static unRegisterEventsHandlers ( )
staticprotected

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

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

◆ CATEGORY_NAME

const CATEGORY_NAME = "use_store"
protected

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

◆ OPTION_NAME

const OPTION_NAME = "catalog.warehouse.master.clear"
protected

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

◆ STORE_ALIEXPRESS

const STORE_ALIEXPRESS = "ALIEXPRESS"
protected

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

◆ STORE_OZON

const STORE_OZON = "OZON"
protected

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

◆ STORE_SBERMEGAMARKET

const STORE_SBERMEGAMARKET = "SBERMEGAMARKET"
protected

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

◆ STORE_WILDBERRIES

const STORE_WILDBERRIES = "WILDBERRIES"
protected

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

◆ URL_PARAM_STORE_MASTER_HIDE

const URL_PARAM_STORE_MASTER_HIDE = "STORE_MASTER_HIDE"

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