1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CCatalogDocsTypes
Граф наследования:CCatalogDocsTypes:
CCatalogArrivalDocs CCatalogDeductDocs CCatalogMovingDocs CCatalogReturnsDocs CCatalogUnReservedDocs CCatalogStoreAdjustmentDocs

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

static getFields ()
static getDocumentFields ()
static getElementFields ()
static conductDocument ($documentId, $userId, $currency, $contractorId)
static cancellationDocument ($documentId, $userId)
static getTypeId ()

Поля данных

const TYPE_ARRIVAL = StoreDocumentTable::TYPE_ARRIVAL
const TYPE_STORE_ADJUSTMENT = StoreDocumentTable::TYPE_STORE_ADJUSTMENT
const TYPE_MOVING = StoreDocumentTable::TYPE_MOVING
const TYPE_RETURN = StoreDocumentTable::TYPE_RETURN
const TYPE_DEDUCT = StoreDocumentTable::TYPE_DEDUCT
const TYPE_UNDO_RESERVE = StoreDocumentTable::TYPE_UNDO_RESERVE
const TYPE_INVENTORY = 'I'

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

static getDocumentCommonFields ()
static getDocumentSpecificFields ()
static checkConductDocument (array $document)
static checkCancellationDocument (array $document)
static setErrors (array $errors)
static load (int $documentId, array $options=[])
static loadDocument (int $documentId, array $options=[])
static loadProducts (array $document)
static checkDocumentProducts (array $document)
static loadProductStores (array $document)
static loadDocumentBarcodes (array $document)
static checkDocumentBarcodes (array $document)
static getDocumentBarcodes (array $document)
static loadBarcodes (array $document)
static checkBarcodes (array $document)
static getProductCount (array $positions)
static getRowBarcodeCount (int $rowId, array $barcodes)
static getStoreList ()
static checkDocumentStores (array $document, array $options)
static getProductListError (array $errors, array $products)
static getStoreDestinationErrors ()
static getStoreSourceErrors ()
static checkStoreDestination (array $document)
static checkStoreSource (array $document)
static getDocumentActions (string $action, array $document, int $userId)
static checkDocumentActions (array $actions)
static executeActions (array $actions)
static distributeElementsToStores ($arFields, $userId)
static applyBarCode ($arFields, $userId)
static checkTotalAmount ($elementId, $name='')
static checkAmountField ($arDocElement, $name='')
static checkParamsForConduction (int $documentId, int $userId, ?string $currency, int $contractorId)
static checkParamsForCancellation (int $documentId, int $userId)

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

const ACTION_CONDUCTION = 'Y'
const ACTION_CANCEL = 'N'
const ALL_STORES = 'ALL'
const DISABLED_STORES = 'DISABLE'
const ACTIVE_STORES = 'ACTIVE'
const ERR_STORE_ABSENT = 'ABSENT'
const ERR_STORE_UNKNOWN = 'UNKNOWN'
const ERR_STORE_DISABLED = 'DISABLED'

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

@global CMain $APPLICATION

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

Методы

◆ applyBarCode()

applyBarCode ( $arFields,
$userId )
staticprotected

The method works with barcodes. If necessary, check the uniqueness of multiple barcodes.

Аргументы
$arFields
$userId
Возвращает
bool|int

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

◆ cancellationDocument()

cancellationDocument ( $documentId,
$userId )
static

Method cancels an instrument and perform the reverse action of conducting a document.

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

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

◆ checkAmountField()

checkAmountField ( $arDocElement,
$name = '' )
staticprotected
См. также
\CCatalogDocsTypescheckDocumentProducts

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

◆ checkBarcodes()

checkBarcodes ( array $document)
staticprotected

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

◆ checkCancellationDocument()

checkCancellationDocument ( array $document)
staticprotected

Переопределяется в CCatalogArrivalDocs, CCatalogDeductDocs, CCatalogMovingDocs и CCatalogReturnsDocs.

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

◆ checkConductDocument()

checkConductDocument ( array $document)
staticprotected

Переопределяется в CCatalogArrivalDocs, CCatalogDeductDocs, CCatalogMovingDocs и CCatalogReturnsDocs.

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

◆ checkDocumentActions()

checkDocumentActions ( array $actions)
staticprotected

Check document actions.

Аргументы
Action[]$actions
Возвращает
bool

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

◆ checkDocumentBarcodes()

checkDocumentBarcodes ( array $document)
staticprotected

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

◆ checkDocumentProducts()

checkDocumentProducts ( array $document)
staticprotected

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

◆ checkDocumentStores()

checkDocumentStores ( array $document,
array $options )
staticprotected

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

◆ checkParamsForCancellation()

checkParamsForCancellation ( int $documentId,
int $userId )
staticprotected

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

◆ checkParamsForConduction()

checkParamsForConduction ( int $documentId,
int $userId,
?string $currency,
int $contractorId )
staticprotected

Переопределяется в CCatalogArrivalDocs и CCatalogStoreAdjustmentDocs.

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

◆ checkStoreDestination()

checkStoreDestination ( array $document)
staticprotected

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

◆ checkStoreSource()

checkStoreSource ( array $document)
staticprotected

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

◆ checkTotalAmount()

checkTotalAmount ( $elementId,
$name = '' )
staticprotected

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

◆ conductDocument()

conductDocument ( $documentId,
$userId,
$currency,
$contractorId )
static

The method of conducting a document, distributes products to warehouses, according to the document type.

Аргументы
$documentId
$userId
$currency
$contractorId
Возвращает
array|bool

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

◆ distributeElementsToStores()

distributeElementsToStores ( $arFields,
$userId )
staticprotected

The method checks the correctness of the data warehouse. If successful, enrolling \ debits to the storage required amount of product.

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

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

◆ executeActions()

executeActions ( array $actions)
staticprotected

Execute document actions.

Аргументы
Action[]$actions
Возвращает
bool

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

◆ getDocumentActions()

getDocumentActions ( string $action,
array $document,
int $userId )
staticprotected
Аргументы
string$action
array$document
int$userId
Возвращает
array|null

Переопределяется в CCatalogArrivalDocs, CCatalogDeductDocs, CCatalogMovingDocs, CCatalogReturnsDocs и CCatalogUnReservedDocs.

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

◆ getDocumentBarcodes()

getDocumentBarcodes ( array $document)
staticprotected

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

◆ getDocumentCommonFields()

getDocumentCommonFields ( )
staticprotected

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

◆ getDocumentFields()

getDocumentFields ( )
static

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

◆ getDocumentSpecificFields()

getDocumentSpecificFields ( )
staticprotected

Переопределяется в CCatalogArrivalDocs, CCatalogDeductDocs, CCatalogMovingDocs и CCatalogStoreAdjustmentDocs.

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

◆ getElementFields()

getElementFields ( )
static

Переопределяется в CCatalogArrivalDocs, CCatalogDeductDocs, CCatalogMovingDocs, CCatalogReturnsDocs, CCatalogStoreAdjustmentDocs и CCatalogUnReservedDocs.

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

◆ getFields()

getFields ( )
static

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

◆ getProductCount()

getProductCount ( array $positions)
staticprotected

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

◆ getProductListError()

getProductListError ( array $errors,
array $products )
staticprotected

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

◆ getRowBarcodeCount()

getRowBarcodeCount ( int $rowId,
array $barcodes )
staticprotected

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

◆ getStoreDestinationErrors()

getStoreDestinationErrors ( )
staticprotected

Переопределяется в CCatalogArrivalDocs, CCatalogMovingDocs, CCatalogReturnsDocs и CCatalogStoreAdjustmentDocs.

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

◆ getStoreList()

getStoreList ( )
staticprotected

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

◆ getStoreSourceErrors()

getStoreSourceErrors ( )
staticprotected

Переопределяется в CCatalogDeductDocs и CCatalogMovingDocs.

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

◆ getTypeId()

◆ load()

load ( int $documentId,
array $options = [] )
staticprotected

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

◆ loadBarcodes()

loadBarcodes ( array $document)
staticprotected

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

◆ loadDocument()

loadDocument ( int $documentId,
array $options = [] )
staticprotected

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

◆ loadDocumentBarcodes()

loadDocumentBarcodes ( array $document)
staticprotected

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

◆ loadProducts()

loadProducts ( array $document)
staticprotected

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

◆ loadProductStores()

loadProductStores ( array $document)
staticprotected

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

◆ setErrors()

setErrors ( array $errors)
staticprotected

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

Поля

◆ ACTION_CANCEL

const ACTION_CANCEL = 'N'
protected

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

◆ ACTION_CONDUCTION

const ACTION_CONDUCTION = 'Y'
protected

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

◆ ACTIVE_STORES

const ACTIVE_STORES = 'ACTIVE'
protected

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

◆ ALL_STORES

const ALL_STORES = 'ALL'
protected

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

◆ DISABLED_STORES

const DISABLED_STORES = 'DISABLE'
protected

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

◆ ERR_STORE_ABSENT

const ERR_STORE_ABSENT = 'ABSENT'
protected

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

◆ ERR_STORE_DISABLED

const ERR_STORE_DISABLED = 'DISABLED'
protected

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

◆ ERR_STORE_UNKNOWN

const ERR_STORE_UNKNOWN = 'UNKNOWN'
protected

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

◆ TYPE_ARRIVAL

const TYPE_ARRIVAL = StoreDocumentTable::TYPE_ARRIVAL

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

◆ TYPE_DEDUCT

const TYPE_DEDUCT = StoreDocumentTable::TYPE_DEDUCT

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

◆ TYPE_INVENTORY

const TYPE_INVENTORY = 'I'

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

◆ TYPE_MOVING

const TYPE_MOVING = StoreDocumentTable::TYPE_MOVING

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

◆ TYPE_RETURN

const TYPE_RETURN = StoreDocumentTable::TYPE_RETURN

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

◆ TYPE_STORE_ADJUSTMENT

const TYPE_STORE_ADJUSTMENT = StoreDocumentTable::TYPE_STORE_ADJUSTMENT

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

◆ TYPE_UNDO_RESERVE

const TYPE_UNDO_RESERVE = StoreDocumentTable::TYPE_UNDO_RESERVE

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


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