Active record order_by the result of multiplying two fields |
Hi,
Thanks for your reply. I'm not using version 3.0 yet. Also, the sort value has to be computed otherwise we won't be able to sort projects in multiple currencies. Eg: From price in first project is 300,000,000 pesos. From price in second project is 400,000 US Dollars. The first project in pesos has lower entry level pricing, but would appear after the project with a base currency of Dollars if we only work on the field without first multiplying it by its exchange rate. (11-18-2014, 04:38 PM)twpmarketing Wrote: From the 3.0 User Guide |
Messages In This Thread |
Active record order_by the result of multiplying two fields - by andycansdale - 11-18-2014, 04:24 PM
RE: Active record order_by the result of multiplying two fields - by twpmarketing - 11-18-2014, 04:38 PM
RE: Active record order_by the result of multiplying two fields - by andycansdale - 11-18-2014, 04:45 PM
RE: Active record order_by the result of multiplying two fields - by andycansdale - 11-18-2014, 04:54 PM
RE: Active record order_by the result of multiplying two fields - by bclinton - 11-18-2014, 05:13 PM
RE: Active record order_by the result of multiplying two fields - by andycansdale - 11-18-2014, 05:22 PM
RE: Active record order_by the result of multiplying two fields - by andycansdale - 11-18-2014, 06:28 PM
RE: Active record order_by the result of multiplying two fields - by bclinton - 11-18-2014, 06:33 PM
RE: Active record order_by the result of multiplying two fields - by andycansdale - 11-18-2014, 06:39 PM
|