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

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

static getParentEntityTable ()
static getNumberBasketPosition ($basketId)
static setLanguage ($value)
static setXmlEncoding ($encoding)
static getXmlRootName ()
static getCmrXmlRootNameParams ()
static getDeliveryAddress ()
static setDeliveryAddress ($deliveryAdr)
static setVersionSchema ($versionSchema=false)
static setCrmMode ($crmMode)
static setCurrencySchema ($currency)
static getVersionSchema ()
static getCashBoxOneCId ()
static isExportFromCRM ($arOptions)
static getEndTime ($time_limit)
static checkTimeIsOver ($time_limit, $end_time)
static getOrderPrefix ()
static getAccountNumberShopPrefix ()
static getSalePaySystem ()
static getSaleDelivery ()
static getCatalogStore ()
static getOrderDeliveryItem ($arOrder, $bVat, $vatRate, $vatSum)
static getCatalogMeasure ()
static setCatalogMeasure ($arMeasures)
static setOrderSumTaxMoney ($orderTax)
static getSaleExport ()
static prepareSaleProperty ($arOrder, $bExportFromCrm, $bCrmModuleIncluded, $paySystems, $delivery, &$locationStreetPropertyValue, \Bitrix\Sale\Order $order)
static getSite ()
static setSiteNameByOrder ($arOrder)
static getPayment ($arOrder)
static getShipment ($arOrder)
static export (array $params)
static ExportOrders2Xml ($arFilter=Array(), $nTopCount=0, $currency="", $crmMode=false, $time_limit=0, $version=false, $arOptions=Array())
static UnZip ($file_name, $last_zip_entry="", $interval=0)
static getOrderTax (\Bitrix\Sale\Order $order)
static getOrderSumTaxMoney ($arOrderTaxAll)
static getXmlOrderTax ($arOrderTaxAll)
static getXmlOrderDiscount ($arOrder)
static getXmlSaleStore ($arShipmentStore, $arStore)
static getXmlSaleStoreBasket ($arOrder, $arStore)
static normalizeExternalCode ($code)
static getXmlBasketItems ($type, $arOrder, $arFilter, $arSelect=array(), $arShipment=array(), $order=null)
static getXmlSaleProperties ($arOrder, $arShipment, $arPayment, $agent, $agentParams, $bExportFromCrm)
static getXmlRekvProperties ($agent, $agentParams)
static OutputXmlRekvProperties ($agent, $agentParams)
static getXmlContragents ($arOrder=array(), $arProp=array(), $agent=array(), $arOptions=array())
static OutputXmlDocumentsByType ($typeDocument, $xmlResult, $arOrder, $documents, \Bitrix\Sale\Order $order=null, $agentParams, $arProp, $locationStreetPropertyValue)
static OutputXmlSiteName ($arOrder)
static OutputXmlDeliveryAddress ()
static OutputXmlDocumentRemove ($typeDocument, $document)
static OutputXmlDocument ($typeDocument, $xmlResult, $document=array())
static ExportContragents ($arOrder=array(), $arProp=array(), $agent=array(), $arOptions=array())
static isFormattedDateFields ($type, $field)
static getFormattedDateFields ()
static GetList ($order=Array("ID"=> "DESC"), $filter=Array(), $group=false, $arNavStartParams=false, $select=array())
static GetByID ($ID)
static migrateToBusinessValues ()
static Add ($arFields)
static Update ($ID, $arFields)
static deleteREKV ($typeId)
static Delete ($ID)
static getTagName ($name)
static log (array $fields)

Поля данных

const DEFAULT_VERSION = 2.05
const PARTIAL_VERSION = 2.1
const CONTAINER_VERSION = 3
const LAST_ORDER_PREFIX = 'LAST_ORDER_ID'
const DIVIDER_NUMBER_POSITION = 100000

Статические открытые данные

static $versionSchema
static $crmMode
static $currency
static $measures
static $orderTax
static $arResultStat = array()
static $xmlVersion = "1.0"
static $xmlEncoding = "windows-1251"
static $xmlRootName = "<?xml version=\"#version#\" encoding=\"#encoding#\"?>"
static $typeDocument = ""
static $deliveryAdr = ""
static $siteNameByOrder = ""
static $documentsToLog

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

static getParentEntityTypeId ()
static getPaymentTable ()
static getShipmentTable ()
static getBasketTable ()
static getEntityChangeTable ()
static getEntityMarker ()
static getPersonType ()
static getUserTimeStapmX (array $arOrder)
static getUserXmlId (array $arOrder, array $arProp)
static updateEmptyUserXmlId (array $arOrder, array $arProp)
static resolveEntityTypeId ($typeDocument, array $document)
static getStatusInfoByStatusId ($id)
static toText ($value)
static getLastOrderExported ($timeUpdate)
static prepareFilter ($arFilter=array())
static saveExportParams (array $arOrder)
static getLastDateUpdateByParams (array $params)
static outputXmlMarkingCodeGroup ($arBasket)
static outputXmlUnit ($arBasket)
static getProvidersInstanceByEntity (\Bitrix\Sale\IBusinessValueProvider $entity)
static getProvidersInstanceByOrder (Bitrix\Sale\Order $order)

Статические защищенные данные

static $lid = null

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

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

Методы

◆ Add()

Add ( $arFields)
static

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

◆ checkTimeIsOver()

checkTimeIsOver ( $time_limit,
$end_time )
static

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

◆ Delete()

Delete ( $ID)
static

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

◆ deleteREKV()

deleteREKV ( $typeId)
static

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

◆ export()

export ( array $params)
static
Аргументы
array$params
Возвращает
\Bitrix\Sale\Result

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

◆ ExportContragents()

ExportContragents ( $arOrder = array(),
$arProp = array(),
$agent = array(),
$arOptions = array() )
static

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

◆ ExportOrders2Xml()

ExportOrders2Xml ( $arFilter = Array(),
$nTopCount = 0,
$currency = "",
$crmMode = false,
$time_limit = 0,
$version = false,
$arOptions = Array() )
static

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

◆ getAccountNumberShopPrefix()

getAccountNumberShopPrefix ( )
static

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

◆ getBasketTable()

getBasketTable ( )
staticprotected

Переопределяется в ExportOneCCRM.

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

◆ GetByID()

GetByID ( $ID)
static

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

◆ getCashBoxOneCId()

getCashBoxOneCId ( )
static
Возвращает
int|null

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

◆ getCatalogMeasure()

getCatalogMeasure ( )
static

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

◆ getCatalogStore()

getCatalogStore ( )
static

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

◆ getCmrXmlRootNameParams()

getCmrXmlRootNameParams ( )
static

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

◆ getDeliveryAddress()

getDeliveryAddress ( )
static

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

◆ getEndTime()

getEndTime ( $time_limit)
static

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

◆ getEntityChangeTable()

getEntityChangeTable ( )
staticprotected

Переопределяется в ExportOneCCRM.

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

◆ getEntityMarker()

getEntityMarker ( )
staticprotected

Переопределяется в ExportOneCCRM.

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

◆ getFormattedDateFields()

getFormattedDateFields ( )
static

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

◆ getLastDateUpdateByParams()

getLastDateUpdateByParams ( array $params)
staticprotected

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

◆ getLastOrderExported()

getLastOrderExported ( $timeUpdate)
staticprotected

Переопределяется в CSaleExportCML2.

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

◆ GetList()

GetList ( $order = Array("ID" => "DESC"),
$filter = Array(),
$group = false,
$arNavStartParams = false,
$select = array() )
static

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

◆ getNumberBasketPosition()

getNumberBasketPosition ( $basketId)
static

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

◆ getOrderDeliveryItem()

getOrderDeliveryItem ( $arOrder,
$bVat,
$vatRate,
$vatSum )
static

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

◆ getOrderPrefix()

getOrderPrefix ( )
static

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

◆ getOrderSumTaxMoney()

getOrderSumTaxMoney ( $arOrderTaxAll)
static

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

◆ getOrderTax()

getOrderTax ( \Bitrix\Sale\Order $order)
static

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

◆ getParentEntityTable()

getParentEntityTable ( )
static

Переопределяется в ExportOneCCRM.

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

◆ getParentEntityTypeId()

getParentEntityTypeId ( )
staticprotected

Переопределяется в ExportOneCCRM.

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

◆ getPayment()

getPayment ( $arOrder)
static

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

◆ getPaymentTable()

getPaymentTable ( )
staticprotected

Переопределяется в ExportOneCCRM.

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

◆ getPersonType()

getPersonType ( )
staticprotected

Переопределяется в ExportOneCCRM.

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

◆ getProvidersInstanceByEntity()

getProvidersInstanceByEntity ( \Bitrix\Sale\IBusinessValueProvider $entity)
staticprotected
Аргументы
\Bitrix\Sale\IBusinessValueProvider$entity
Возвращает
array

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

◆ getProvidersInstanceByOrder()

getProvidersInstanceByOrder ( Bitrix\Sale\Order $order)
staticprotected
Аргументы
\Bitrix\Sale\Order$order
Возвращает
array

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

◆ getSaleDelivery()

getSaleDelivery ( )
static

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

◆ getSaleExport()

getSaleExport ( )
static

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

◆ getSalePaySystem()

getSalePaySystem ( )
static

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

◆ getShipment()

getShipment ( $arOrder)
static

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

◆ getShipmentTable()

getShipmentTable ( )
staticprotected

Переопределяется в ExportOneCCRM.

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

◆ getSite()

getSite ( )
static

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

◆ getStatusInfoByStatusId()

getStatusInfoByStatusId ( $id)
staticprotected

Переопределяется в ExportOneCCRM.

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

◆ getTagName()

getTagName ( $name)
static
Аргументы
$name
Возвращает
string

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

◆ getUserTimeStapmX()

getUserTimeStapmX ( array $arOrder)
staticprotected

Переопределяется в ExportOneCCRM.

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

◆ getUserXmlId()

getUserXmlId ( array $arOrder,
array $arProp )
staticprotected

Переопределяется в ExportOneCCRM.

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

◆ getVersionSchema()

getVersionSchema ( )
static

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

◆ getXmlBasketItems()

getXmlBasketItems ( $type,
$arOrder,
$arFilter,
$arSelect = array(),
$arShipment = array(),
$order = null )
static

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

◆ getXmlContragents()

getXmlContragents ( $arOrder = array(),
$arProp = array(),
$agent = array(),
$arOptions = array() )
static

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

◆ getXmlOrderDiscount()

getXmlOrderDiscount ( $arOrder)
static

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

◆ getXmlOrderTax()

getXmlOrderTax ( $arOrderTaxAll)
static

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

◆ getXmlRekvProperties()

getXmlRekvProperties ( $agent,
$agentParams )
static

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

◆ getXmlRootName()

getXmlRootName ( )
static

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

◆ getXmlSaleProperties()

getXmlSaleProperties ( $arOrder,
$arShipment,
$arPayment,
$agent,
$agentParams,
$bExportFromCrm )
static

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

◆ getXmlSaleStore()

getXmlSaleStore ( $arShipmentStore,
$arStore )
static

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

◆ getXmlSaleStoreBasket()

getXmlSaleStoreBasket ( $arOrder,
$arStore )
static

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

◆ isExportFromCRM()

isExportFromCRM ( $arOptions)
static

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

◆ isFormattedDateFields()

isFormattedDateFields ( $type,
$field )
static

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

◆ log()

log ( array $fields)
static
Аргументы
array$fields
Возвращает
\Bitrix\Main\ORM\Data\AddResult
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\ObjectException

Переопределяется в CSaleExportCML2.

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

◆ migrateToBusinessValues()

migrateToBusinessValues ( )
static

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

◆ normalizeExternalCode()

normalizeExternalCode ( $code)
static
Аргументы
string$code
Возвращает
string

Переопределяется в ExportOneCCRM.

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

◆ OutputXmlDeliveryAddress()

OutputXmlDeliveryAddress ( )
static

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

◆ OutputXmlDocument()

OutputXmlDocument ( $typeDocument,
$xmlResult,
$document = array() )
static

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

◆ OutputXmlDocumentRemove()

OutputXmlDocumentRemove ( $typeDocument,
$document )
static

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

◆ OutputXmlDocumentsByType()

OutputXmlDocumentsByType ( $typeDocument,
$xmlResult,
$arOrder,
$documents,
\Bitrix\Sale\Order $order = null,
$agentParams,
$arProp,
$locationStreetPropertyValue )
static

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

◆ outputXmlMarkingCodeGroup()

outputXmlMarkingCodeGroup ( $arBasket)
staticprotected

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

◆ OutputXmlRekvProperties()

OutputXmlRekvProperties ( $agent,
$agentParams )
static

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

◆ OutputXmlSiteName()

OutputXmlSiteName ( $arOrder)
static

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

◆ outputXmlUnit()

outputXmlUnit ( $arBasket)
staticprotected

Переопределяется в CSaleExportCML2.

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

◆ prepareFilter()

prepareFilter ( $arFilter = array())
staticprotected
Возвращает
array

Переопределяется в CSaleExportCML2.

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

◆ prepareSaleProperty()

prepareSaleProperty ( $arOrder,
$bExportFromCrm,
$bCrmModuleIncluded,
$paySystems,
$delivery,
& $locationStreetPropertyValue,
\Bitrix\Sale\Order $order )
static

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

◆ resolveEntityTypeId()

resolveEntityTypeId ( $typeDocument,
array $document )
staticprotected

Переопределяется в ExportOneCCRM.

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

◆ saveExportParams()

saveExportParams ( array $arOrder)
staticprotected
Аргументы
array$arOrder

Переопределяется в CSaleExportCML2.

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

◆ setCatalogMeasure()

setCatalogMeasure ( $arMeasures)
static

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

◆ setCrmMode()

setCrmMode ( $crmMode)
static

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

◆ setCurrencySchema()

setCurrencySchema ( $currency)
static

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

◆ setDeliveryAddress()

setDeliveryAddress ( $deliveryAdr)
static

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

◆ setLanguage()

setLanguage ( $value)
static

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

◆ setOrderSumTaxMoney()

setOrderSumTaxMoney ( $orderTax)
static

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

◆ setSiteNameByOrder()

setSiteNameByOrder ( $arOrder)
static

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

◆ setVersionSchema()

setVersionSchema ( $versionSchema = false)
static

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

◆ setXmlEncoding()

setXmlEncoding ( $encoding)
static

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

◆ toText()

toText ( $value)
staticprotected
Аргументы
$value
Возвращает
string

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

◆ UnZip()

UnZip ( $file_name,
$last_zip_entry = "",
$interval = 0 )
static

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

◆ Update()

Update ( $ID,
$arFields )
static

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

◆ updateEmptyUserXmlId()

updateEmptyUserXmlId ( array $arOrder,
array $arProp )
staticprotected

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

Поля

◆ $arResultStat

$arResultStat = array()
static

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

◆ $crmMode

$crmMode
static

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

◆ $currency

$currency
static

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

◆ $deliveryAdr

$deliveryAdr = ""
static

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

◆ $documentsToLog

$documentsToLog
static

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

◆ $lid

$lid = null
staticprotected

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

◆ $measures

$measures
static

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

◆ $orderTax

$orderTax
static

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

◆ $siteNameByOrder

$siteNameByOrder = ""
static

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

◆ $typeDocument

$typeDocument = ""
static

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

◆ $versionSchema

$versionSchema
static

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

◆ $xmlEncoding

$xmlEncoding = "windows-1251"
static

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

◆ $xmlRootName

$xmlRootName = "<?xml version=\"#version#\" encoding=\"#encoding#\"?>"
static

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

◆ $xmlVersion

$xmlVersion = "1.0"
static

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

◆ CONTAINER_VERSION

const CONTAINER_VERSION = 3

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

◆ DEFAULT_VERSION

const DEFAULT_VERSION = 2.05

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

◆ DIVIDER_NUMBER_POSITION

const DIVIDER_NUMBER_POSITION = 100000

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

◆ LAST_ORDER_PREFIX

const LAST_ORDER_PREFIX = 'LAST_ORDER_ID'

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

◆ PARTIAL_VERSION

const PARTIAL_VERSION = 2.1

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


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