Uploaded image for project: 'ASTPP Community'
  1. ASTPP Community
  2. ASTPPCOM-221

Cant import new rates version 3.5

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Done
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Error Number: 1054

      Unknown column 'old_cost' in 'field list'

      INSERT INTO routes (pattern, comment, connectcost, includedseconds, cost, init_inc, inc, precedence, last_modified_date, pricelist_id, trunk_id, reseller_id, creation_date) VALUES ('^27106150.','CELL C - GEOGRAPHIC','0','0','0.290928','1','1','','2017-09-07 17:35:28','6','0','0','2017-09-07 17:35:28'),('^27128820.','CELL C - GEOGRAPHIC','0','0','0.290928','1','1','','2017-09-07 17:35:28','6','0','0','2017-09-07 .. """""" cut out the bulk of the import """"".........*','CELL C - MOBILE','0','0','0.3819','1','1','','2017-09-07 17:35:28','6','0','0','2017-09-07 17:35:28') ON DUPLICATE KEY UPDATE old_cost = IF(VALUES(cost) != cost,cost,old_cost), effective_date = IF(VALUES(cost) > cost,'',(IF(VALUES(cost) < cost,'',effective_date))), comment=VALUES(comment), connectcost=VALUES(connectcost), includedseconds=VALUES(includedseconds), cost=VALUES(cost), init_inc=VALUES(init_inc), inc=VALUES(inc), last_modified_date=VALUES(last_modified_date), status=IF(VALUES(cost) = '-1','1','0')

      Filename: /var/www/html/astpp/modules/rates/models/rates_model.php

      Line Number: 375

        Attachments

          Activity

            People

            Assignee:
            samir.doshi Samir Doshi
            Reporter:
            genlangtechnologies genlangtechnologies
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: