[ASTPPCOM-221] Cant import new rates version 3.5 Created: 07/Sep/17 Updated: 01/Apr/21 Resolved: 01/Apr/21 |
|
| Status: | Done |
| Project: | ASTPP Community |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | ||
| Reporter: | genlangtechnologies | Assignee: | Samir Doshi |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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 |
| Comments |
| Comment by exgard [ 11/Sep/17 ] |
|
Hi. Best Regard. |
| Comment by Samir Doshi [ 11/Sep/17 ] |
|
We have resolved that issue in github source code last week. You can run <https://mailtrack.io/> Sent with Mailtrack Best RegardsSamir Doshi Disclaimer: On Mon, Sep 11, 2017 at 5:28 AM, Exgard <notifications@github.com> wrote: > Hi. |