1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CAllSaleOrder
Граф наследования:CAllSaleOrder:
CSaleOrder

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

static DoCalculateOrder ($siteId, $userId, $arShoppingCart, $personTypeId, $arOrderPropsValues, $deliveryId, $paySystemId, $arOptions, &$arErrors, &$arWarnings)
static makeOrderArray ($siteId, $userId=null, array $shoppingCart=[], array $options=[])
static CalculateOrderPrices ($arBasketItems)
static TranslateLocationPropertyValues ($personTypeId, &$orderProps, $direct=true)
static CanUserViewOrder ($ID, $arUserGroups=false, $userID=0)
static CanUserUpdateOrder ($ID, $arUserGroups=false, $siteID=false)
static CanUserCancelOrder ($ID, $arUserGroups=false, $userID=0)
static CanUserMarkOrder ($ID, $arUserGroups=false, $userID=0)
static CanUserChangeOrderFlag ($ID, $flag, $arUserGroups=false)
static CanUserChangeOrderStatus ($ID, $statusID, $arUserGroups=false)
static CanUserDeleteOrder ($ID, $arUserGroups=false, $userID=0)
static CheckFields ($ACTION, &$arFields, $ID=0)
static _Delete ($ID)
static GetFilterOperation ($key)
static PrepareSql (&$arFields, $arOrder, &$arFilter, $arGroupBy, $arSelectFields, $obUserFieldsSql=false, $callback=false, $arOptions=array())
static OnBeforeCurrencyDelete ($currency)
static OnBeforeUserDelete ($userID)
static DeductOrder ($ID, $val, $description="", $bAutoDeduction=true, $arStoreBarcodeOrderFormData=array(), $recurringID=0)
static CancelOrder ($ID, $val, $description="")
static StatusOrder ($ID, $val)
static CommentsOrder ($ID, $val)
static Lock ($ID)
static UnLock ($ID)
static IsLocked ($ID, &$lockedBY, &$dateLock)
static GetLockStatus ($ID, &$lockedBY, &$dateLock)
static GetNextAccountNumber ($orderID, $templateType, $param)
static __SaleOrderCount ($arFilter, $strCurrency='')
static GetHistoryList ($arOrder=array("ID"=>"DESC"), $arFilter=array(), $arGroupBy=false, $arNavStartParams=false, $arSelectFields=array())
static SetMark ($ID, $comment="", $userID=0)
static UnsetMark ($ID, $userID=0)
static ClearProductReservedQuantity ()
static getLocationPropertyInfo ()
static getRoundFields ()

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

static ProcessCompleteOrdersParam ($values, $key, $op, $opNegative, $field, $fields, $filter)

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

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

Методы

◆ __SaleOrderCount()

__SaleOrderCount ( $arFilter,
$strCurrency = '' )
static

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

◆ _Delete()

_Delete ( $ID)
static

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

◆ CalculateOrderPrices()

CalculateOrderPrices ( $arBasketItems)
static

calculate the cost according to the order basket

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

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

◆ CancelOrder()

CancelOrder ( $ID,
$val,
$description = "" )
static

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

◆ CanUserCancelOrder()

CanUserCancelOrder ( $ID,
$arUserGroups = false,
$userID = 0 )
static
Аргументы
int$ID
bool | array$arUserGroups
int$userID
Возвращает
bool

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

◆ CanUserChangeOrderFlag()

CanUserChangeOrderFlag ( $ID,
$flag,
$arUserGroups = false )
static
Аргументы
int$ID
string$flag
bool | array$arUserGroups
Возвращает
bool

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

◆ CanUserChangeOrderStatus()

CanUserChangeOrderStatus ( $ID,
$statusID,
$arUserGroups = false )
static
Аргументы
int$ID
string$statusID
bool | array$arUserGroups
Возвращает
bool

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

◆ CanUserDeleteOrder()

CanUserDeleteOrder ( $ID,
$arUserGroups = false,
$userID = 0 )
static
Аргументы
int$ID
bool | array$arUserGroups
int$userID
Возвращает
bool

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

◆ CanUserMarkOrder()

CanUserMarkOrder ( $ID,
$arUserGroups = false,
$userID = 0 )
static
Аргументы
int$ID
bool | array$arUserGroups
int$userID
Возвращает
bool

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

◆ CanUserUpdateOrder()

CanUserUpdateOrder ( $ID,
$arUserGroups = false,
$siteID = false )
static
Аргументы
int$ID
bool | array$arUserGroups
bool$siteID
Возвращает
bool

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

◆ CanUserViewOrder()

CanUserViewOrder ( $ID,
$arUserGroups = false,
$userID = 0 )
static
Аргументы
int$ID
bool | array$arUserGroups
int$userID
Возвращает
bool

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

◆ CheckFields()

CheckFields ( $ACTION,
& $arFields,
$ID = 0 )
static

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

◆ ClearProductReservedQuantity()

ClearProductReservedQuantity ( )
static

The agent function. Moves reserved quantity back to the quantity field for each product for orders which were placed earlier than specific date

Возвращает
string

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

◆ CommentsOrder()

CommentsOrder ( $ID,
$val )
static

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

◆ DeductOrder()

DeductOrder ( $ID,
$val,
$description = "",
$bAutoDeduction = true,
$arStoreBarcodeOrderFormData = array(),
$recurringID = 0 )
static

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

◆ DoCalculateOrder()

DoCalculateOrder ( $siteId,
$userId,
$arShoppingCart,
$personTypeId,
$arOrderPropsValues,
$deliveryId,
$paySystemId,
$arOptions,
& $arErrors,
& $arWarnings )
static
Аргументы
$siteId
$userId
$arShoppingCart
$personTypeId
$arOrderPropsValues
$deliveryId
$paySystemId
$arOptions
$arErrors
$arWarnings
Возвращает
array|null

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

◆ GetFilterOperation()

GetFilterOperation ( $key)
static

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

◆ GetHistoryList()

GetHistoryList ( $arOrder = array("ID"=>"DESC"),
$arFilter = array(),
$arGroupBy = false,
$arNavStartParams = false,
$arSelectFields = array() )
static
Аргументы
array$arOrder- array to sort
array$arFilter- array to filter
array | false$arGroupBy- array to group records
array | false$arNavStartParams- array to parameters
array$arSelectFields- array to selectes fields
Возвращает
object $dbRes - object result

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

◆ getLocationPropertyInfo()

getLocationPropertyInfo ( )
static

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

◆ GetLockStatus()

GetLockStatus ( $ID,
& $lockedBY,
& $dateLock )
static

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

◆ GetNextAccountNumber()

GetNextAccountNumber ( $orderID,
$templateType,
$param )
static

Use \Bitrix\Main\Numerator\Numerator::previewNextNumber instead

Generates next account number according to the scheme selected in the module options

Аргументы
int$orderID- order ID
string$templateType- account number template type code
string$param- account number template param
Возвращает
mixed - generated number or false

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

◆ getRoundFields()

getRoundFields ( )
static

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

◆ IsLocked()

IsLocked ( $ID,
& $lockedBY,
& $dateLock )
static

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

◆ Lock()

Lock ( $ID)
static

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

◆ makeOrderArray()

makeOrderArray ( $siteId,
$userId = null,
array $shoppingCart = [],
array $options = [] )
static
Аргументы
$siteId
null$userId
$shoppingCart
array$options
Возвращает
array

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

◆ OnBeforeCurrencyDelete()

OnBeforeCurrencyDelete ( $currency)
static

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

◆ OnBeforeUserDelete()

OnBeforeUserDelete ( $userID)
static

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

◆ PrepareSql()

PrepareSql ( & $arFields,
$arOrder,
& $arFilter,
$arGroupBy,
$arSelectFields,
$obUserFieldsSql = false,
$callback = false,
$arOptions = array() )
static

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

◆ ProcessCompleteOrdersParam()

ProcessCompleteOrdersParam ( $values,
$key,
$op,
$opNegative,
$field,
$fields,
$filter )
staticprotected

Function processes "COMPLETE_ORDERS" key in $arFilter for CSaleOrder\GetList() method

Аргументы
mixed[] | string$values- next key value in the filter
string$key- key name
string$op- key operation modificator
string$opNegative- key condition is negative or not
mixed[]$field- field array of the key
mixed[]$fields- array of all fields
mixed[]$filter- filter array of the key
Возвращает
string|false

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

◆ SetMark()

SetMark ( $ID,
$comment = "",
$userID = 0 )
static

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

◆ StatusOrder()

StatusOrder ( $ID,
$val )
static

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

◆ TranslateLocationPropertyValues()

TranslateLocationPropertyValues ( $personTypeId,
& $orderProps,
$direct = true )
static

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

◆ UnLock()

UnLock ( $ID)
static

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

◆ UnsetMark()

UnsetMark ( $ID,
$userID = 0 )
static

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


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