1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс StoreDocumentTable
Граф наследования:StoreDocumentTable:
DataManager StoreDocumentSpecificTable StoreDocumentArrivalTable StoreDocumentDeductTable StoreDocumentMovingTable StoreDocumentReturnTable StoreDocumentStoreAdjustmentTable StoreDocumentUndoReserveTable

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

static getTableName ()
static getMap ()
static validateDocNumber ()
static validateTitle ()
static validateSiteId ()
static validateCurrency ()
static validateCommentary ()
static getTypeList (bool $description=false)
static getStatusList ()
static getStatusName (string $status)
static getOrmFilterByStatus (string $status)
static withProduct (Main\ORM\Query\Query $query, $productId)
static withProductList (Main\ORM\Query\Query $query, array $productIds)
static withStore (Main\ORM\Query\Query $query, $storeId)
static withStoreList (Main\ORM\Query\Query $query, array $storeIds)
static withStoreFromList (Main\ORM\Query\Query $query, array $storeIds)
static withStoreToList (Main\ORM\Query\Query $query, array $storeIds)
Открытые статические члены унаследованные от DataManager
static getEntity ()
static unsetEntity ($class)
static getConnectionName ()
static getTitle ()
static getObjectClass ()
static getObjectClassName ()
static getCollectionClass ()
static getCollectionClassName ()
static getObjectParentClass ()
static getCollectionParentClass ()
static getQueryClass ()
static getEntityClass ()
static createObject ($setDefaultValues=true)
static createCollection ()
static wakeUpObject ($row)
static wakeUpCollection ($rows)
static getUfId ()
static isUts ()
static isUtm ()
static setDefaultScope ($query)
static postInitialize (Entity $entity)
static getByPrimary ($primary, array $parameters=array())
static getById ($id)
static getRowById ($id, array $parameters=[])
static getRow (array $parameters)
static getList (array $parameters=array())
static getCount ($filter=array(), array $cache=array())
static query ()
static checkFields (Result $result, $primary, array $data)
static add (array $data)
static addMulti ($rows, $ignoreEvents=false)
static update ($primary, array $data)
static delete ($primary)
static enableCrypto ($field, $table=null, $mode=true)
static cryptoEnabled ($field, $table=null)
static setCurrentDeletingObject ($object)
static cleanCache ()
static isCacheable ()
static onBeforeAdd (Event $event)
static onAdd (Event $event)
static onAfterAdd (Event $event)
static onBeforeUpdate (Event $event)
static onUpdate (Event $event)
static onAfterUpdate (Event $event)
static onBeforeDelete (Event $event)
static onDelete (Event $event)
static onAfterDelete (Event $event)

Поля данных

const TYPE_ARRIVAL = 'A'
const TYPE_STORE_ADJUSTMENT = 'S'
const TYPE_MOVING = 'M'
const TYPE_RETURN = 'R'
const TYPE_DEDUCT = 'D'
const TYPE_UNDO_RESERVE = 'U'
const TYPE_SALES_ORDERS = 'W'
const STATUS_CONDUCTED = 'Y'
const STATUS_DRAFT = 'N'
const STATUS_CANCELLED = 'C'
Поля данных унаследованные от DataManager
const EVENT_ON_BEFORE_ADD = "OnBeforeAdd"
const EVENT_ON_ADD = "OnAdd"
const EVENT_ON_AFTER_ADD = "OnAfterAdd"
const EVENT_ON_BEFORE_UPDATE = "OnBeforeUpdate"
const EVENT_ON_UPDATE = "OnUpdate"
const EVENT_ON_AFTER_UPDATE = "OnAfterUpdate"
const EVENT_ON_BEFORE_DELETE = "OnBeforeDelete"
const EVENT_ON_DELETE = "OnDelete"
const EVENT_ON_AFTER_DELETE = "OnAfterDelete"

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

static addSingleStoreFilterToQuery (Main\ORM\Query\Query $query, string $fieldName, array $storeIds)
Защищенные статические члены унаследованные от DataManager
static getObjectClassByDataClass ($dataClass)
static getCollectionClassByDataClass ($dataClass)
static replaceFieldName ($data=array())
static validatePrimary ($primary)
static checkUfFields ($object, $ufdata, $result)
static getAddStrategy ()
static sysAddInternal (AddStrategy $strategy, array $data, bool $ignoreEvents=false,)
static sysAddMultiInternal (AddStrategy $strategy, array $multiData, bool $ignoreEvents=false,)
static callOnBeforeAddEvent ($object, $fields, $result)
static callOnAddEvent ($object, $fields, $ufdata)
static callOnAfterAddEvent ($object, $fields, $id)
static callOnBeforeUpdateEvent ($object, $fields, $result)
static callOnUpdateEvent ($object, $fields, $ufdata)
static callOnAfterUpdateEvent ($object, $fields)
static callOnBeforeDeleteEvent ($object, $entity, $result)
static callOnDeleteEvent ($object, $entity)
static callOnAfterDeleteEvent ($object, $entity)

Дополнительные унаследованные члены

Статические защищенные данные унаследованные от DataManager
static $entity
static $objectClass
static $collectionClass
static $currentDeletingObjects

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

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

Методы

◆ addSingleStoreFilterToQuery()

addSingleStoreFilterToQuery ( Main\ORM\Query\Query $query,
string $fieldName,
array $storeIds )
staticprotected

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

◆ getMap()

getMap ( )
static

Returns entity map definition.

Возвращает
array

Переопределяет метод предка DataManager.

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

◆ getOrmFilterByStatus()

getOrmFilterByStatus ( string $status)
static

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

◆ getStatusList()

getStatusList ( )
static

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

◆ getStatusName()

getStatusName ( string $status)
static

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

◆ getTableName()

getTableName ( )
static

Returns DB table name for entity.

Возвращает
string

Переопределяет метод предка DataManager.

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

◆ getTypeList()

getTypeList ( bool $description = false)
static

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

◆ validateCommentary()

validateCommentary ( )
static

Returns validators for COMMENTARY field.

Возвращает
array

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

◆ validateCurrency()

validateCurrency ( )
static

Returns validators for CURRENCY field.

Возвращает
array

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

◆ validateDocNumber()

validateDocNumber ( )
static

Returns validators for DOC_NUMBER field.

Возвращает
array

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

◆ validateSiteId()

validateSiteId ( )
static

Returns validators for SITE_ID field.

Возвращает
array

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

◆ validateTitle()

validateTitle ( )
static

Returns validators for TITLE field.

Возвращает
array

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

◆ withProduct()

withProduct ( Main\ORM\Query\Query $query,
$productId )
static

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

◆ withProductList()

withProductList ( Main\ORM\Query\Query $query,
array $productIds )
static

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

◆ withStore()

withStore ( Main\ORM\Query\Query $query,
$storeId )
static

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

◆ withStoreFromList()

withStoreFromList ( Main\ORM\Query\Query $query,
array $storeIds )
static

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

◆ withStoreList()

withStoreList ( Main\ORM\Query\Query $query,
array $storeIds )
static

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

◆ withStoreToList()

withStoreToList ( Main\ORM\Query\Query $query,
array $storeIds )
static

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

Поля

◆ STATUS_CANCELLED

const STATUS_CANCELLED = 'C'

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

◆ STATUS_CONDUCTED

const STATUS_CONDUCTED = 'Y'

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

◆ STATUS_DRAFT

const STATUS_DRAFT = 'N'

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

◆ TYPE_ARRIVAL

const TYPE_ARRIVAL = 'A'

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

◆ TYPE_DEDUCT

const TYPE_DEDUCT = 'D'

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

◆ TYPE_MOVING

const TYPE_MOVING = 'M'

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

◆ TYPE_RETURN

const TYPE_RETURN = 'R'

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

◆ TYPE_SALES_ORDERS

const TYPE_SALES_ORDERS = 'W'

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

◆ TYPE_STORE_ADJUSTMENT

const TYPE_STORE_ADJUSTMENT = 'S'

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

◆ TYPE_UNDO_RESERVE

const TYPE_UNDO_RESERVE = 'U'

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


Объявления и описания членов класса находятся в файле: