|
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) |
@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.
- Аргументы
-
- Возвращает
- 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.
- Аргументы
-
- Возвращает
- array|bool
См. определение в файле store_docs_type.php строка 222
◆ checkAmountField()
checkAmountField |
( |
| $arDocElement, |
|
|
| $name = '' ) |
|
staticprotected |
◆ checkBarcodes()
checkBarcodes |
( |
array | $document | ) |
|
|
staticprotected |
◆ checkCancellationDocument()
checkCancellationDocument |
( |
array | $document | ) |
|
|
staticprotected |
◆ checkConductDocument()
checkConductDocument |
( |
array | $document | ) |
|
|
staticprotected |
◆ checkDocumentActions()
checkDocumentActions |
( |
array | $actions | ) |
|
|
staticprotected |
◆ checkDocumentBarcodes()
checkDocumentBarcodes |
( |
array | $document | ) |
|
|
staticprotected |
◆ checkDocumentProducts()
checkDocumentProducts |
( |
array | $document | ) |
|
|
staticprotected |
◆ checkDocumentStores()
checkDocumentStores |
( |
array | $document, |
|
|
array | $options ) |
|
staticprotected |
◆ checkParamsForCancellation()
checkParamsForCancellation |
( |
int | $documentId, |
|
|
int | $userId ) |
|
staticprotected |
◆ checkParamsForConduction()
checkParamsForConduction |
( |
int | $documentId, |
|
|
int | $userId, |
|
|
?string | $currency, |
|
|
int | $contractorId ) |
|
staticprotected |
◆ checkStoreDestination()
checkStoreDestination |
( |
array | $document | ) |
|
|
staticprotected |
◆ checkStoreSource()
checkStoreSource |
( |
array | $document | ) |
|
|
staticprotected |
◆ checkTotalAmount()
checkTotalAmount |
( |
| $elementId, |
|
|
| $name = '' ) |
|
staticprotected |
◆ 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.
- Аргументы
-
- Возвращает
- bool
См. определение в файле store_docs_type.php строка 1091
◆ executeActions()
executeActions |
( |
array | $actions | ) |
|
|
staticprotected |
◆ getDocumentActions()
getDocumentActions |
( |
string | $action, |
|
|
array | $document, |
|
|
int | $userId ) |
|
staticprotected |
◆ getDocumentBarcodes()
getDocumentBarcodes |
( |
array | $document | ) |
|
|
staticprotected |
◆ getDocumentCommonFields()
getDocumentCommonFields |
( |
| ) |
|
|
staticprotected |
◆ getDocumentFields()
◆ getDocumentSpecificFields()
getDocumentSpecificFields |
( |
| ) |
|
|
staticprotected |
◆ getElementFields()
◆ getFields()
◆ getProductCount()
getProductCount |
( |
array | $positions | ) |
|
|
staticprotected |
◆ getProductListError()
getProductListError |
( |
array | $errors, |
|
|
array | $products ) |
|
staticprotected |
◆ getRowBarcodeCount()
getRowBarcodeCount |
( |
int | $rowId, |
|
|
array | $barcodes ) |
|
staticprotected |
◆ getStoreDestinationErrors()
getStoreDestinationErrors |
( |
| ) |
|
|
staticprotected |
◆ getStoreList()
◆ getStoreSourceErrors()
◆ getTypeId()
◆ load()
load |
( |
int | $documentId, |
|
|
array | $options = [] ) |
|
staticprotected |
◆ loadBarcodes()
loadBarcodes |
( |
array | $document | ) |
|
|
staticprotected |
◆ loadDocument()
loadDocument |
( |
int | $documentId, |
|
|
array | $options = [] ) |
|
staticprotected |
◆ loadDocumentBarcodes()
loadDocumentBarcodes |
( |
array | $document | ) |
|
|
staticprotected |
◆ loadProducts()
loadProducts |
( |
array | $document | ) |
|
|
staticprotected |
◆ loadProductStores()
loadProductStores |
( |
array | $document | ) |
|
|
staticprotected |
◆ setErrors()
setErrors |
( |
array | $errors | ) |
|
|
staticprotected |
◆ ACTION_CANCEL
const ACTION_CANCEL = 'N' |
|
protected |
◆ ACTION_CONDUCTION
const ACTION_CONDUCTION = 'Y' |
|
protected |
◆ ACTIVE_STORES
const ACTIVE_STORES = 'ACTIVE' |
|
protected |
◆ ALL_STORES
◆ DISABLED_STORES
const DISABLED_STORES = 'DISABLE' |
|
protected |
◆ ERR_STORE_ABSENT
const ERR_STORE_ABSENT = 'ABSENT' |
|
protected |
◆ ERR_STORE_DISABLED
const ERR_STORE_DISABLED = 'DISABLED' |
|
protected |
◆ ERR_STORE_UNKNOWN
const ERR_STORE_UNKNOWN = 'UNKNOWN' |
|
protected |
◆ TYPE_ARRIVAL
const TYPE_ARRIVAL = StoreDocumentTable::TYPE_ARRIVAL |
◆ TYPE_DEDUCT
const TYPE_DEDUCT = StoreDocumentTable::TYPE_DEDUCT |
◆ TYPE_INVENTORY
const TYPE_INVENTORY = 'I' |
◆ TYPE_MOVING
const TYPE_MOVING = StoreDocumentTable::TYPE_MOVING |
◆ TYPE_RETURN
const TYPE_RETURN = StoreDocumentTable::TYPE_RETURN |
◆ TYPE_STORE_ADJUSTMENT
const TYPE_STORE_ADJUSTMENT = StoreDocumentTable::TYPE_STORE_ADJUSTMENT |
◆ TYPE_UNDO_RESERVE
const TYPE_UNDO_RESERVE = StoreDocumentTable::TYPE_UNDO_RESERVE |
Объявления и описания членов класса находятся в файле: