View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006160 | OXID ERP Interface | OXID ERP Interface - sub | public | 2015-06-09 11:24 | 2015-06-12 11:03 |
Reporter | martinwegele | Assigned To | |||
Priority | normal | Severity | text | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Product Version | 2.11.0_52702 | ||||
Fixed in Version | 2.14.1 | ||||
Summary | 0006160: Sequence of fields was not updated in CSV documentation | ||||
Description | In 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:
| ||||
Additional Information | see modules/erp/objects/oxerptype_scaleprice.phpprotected $_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' ); } | ||||
Tags | No tags attached. | ||||
|
* 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.* |
|
GitHub: OXID-eSales/erp Correction in 4.22 Create/update scale prices #6 |