View Issue Details

IDProjectCategoryView StatusLast Update
0006160OXID ERP InterfaceOXID ERP Interface - subpublic2015-06-12 11:03
Reportermartinwegele Assigned To 
PrioritynormalSeveritytextReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version2.11.0_52702 
Fixed in Version2.14.1 
Summary0006160: Sequence of fields was not updated in CSV documentation
DescriptionIn chapter 4.22 of the CSV documentation the sequence of fields for adding or updating scale prices is listed. Since DB-Layer-Version 10 (corresponding to protocol version 2.11.0) the sequence was altered so the OXID of the scale price is now in the first position instead of the last. This change was not documented yet. So all CSV documentations starting from this version must be updated:

  1. 2.11.0
  2. 2.12.0
  3. 2.13.0
  4. 2.14.0
Additional Informationsee modules/erp/objects/oxerptype_scaleprice.php
protected $_aFieldListVersions = array (
        '10' => array (
            'OXID'       => 'OXID',
            'OXSHOPID'   => 'OXSHOPID',
            'OXARTID'    => 'OXARTID',
            'OXADDABS'   => 'OXADDABS',
            'OXADDPERC'  => 'OXADDPERC',
            'OXAMOUNT'   => 'OXAMOUNT',
            'OXAMOUNTTO' => 'OXAMOUNTTO',
            'OXTIMESTAMP'=> 'OXTIMESTAMP'
        )    
    );

below the constructor sets the old sequence if the db layer version is lower than 10 (= protocol version lower than 2.11.0):
if ( oxERPBase::getUsedDbFieldsVersion() < 10 ) {
            $this->_aFieldList = array(
                'OXSHOPID'   => 'OXSHOPID',
                'OXARTID'    => 'OXARTID',
                'OXADDABS'   => 'OXADDABS',
                'OXADDPERC'  => 'OXADDPERC',
                'OXAMOUNT'   => 'OXAMOUNT',
                'OXAMOUNTTO' => 'OXAMOUNTTO',
                'OXID'       => 'OXID'
            );
        }
TagsNo tags attached.

Activities

juergen_busch

2015-06-12 11:01

reporter   ~0011032

* changed the position of DB field OXID from 7 to 1 for scale prices
* /former_documentation/ERP-CSV-documentation-protocol-version-2.11.0.*
* /former_documentation/ERP-CSV-documentation-protocol-version-2.12.0.*
* /former_documentation/ERP-CSV-documentation-protocol-version-2.13.0.*

juergen_busch

2015-06-12 11:03

reporter   ~0011033

GitHub: OXID-eSales/erp Correction in 4.22 Create/update scale prices #6