From: ExsonQu <hex...@gm...> - 2014-09-26 03:35:28
|
*Dear all,* We found a problem that the sum of invoice of line total is not absolutely equal with the Display total amount of Invoice when foreign exchange rate is not 1 for foreign currency. The variance come from the transaction price recovered by stockmoves.price * exchange rate. The price has been got via div by exchange rate before. The affected lines around 266-267: ((1 - stockmoves.discountpercent) * stockmoves.price * " . $ExchRate . " * stockmoves.qty) AS fxnet, (stockmoves.price * " . $ExchRate . ") AS fxprice, Total amount are from debtortrans which on line around 1073: $DisplayTotal = locale_number_format($myrow['ovfreight']+$myrow['ovgst']+$myrow['ovamount'],$myrow['decimalplaces']); The solution maybe to retrieve price from sales orders directly. But there is risk for this. Since we have no features to prevent from sales orders deleting after goods delivered. And there maybe other potential problem for this. Any comments are highly appreciated for this. Thanks and best regards! Exson -- View this message in context: http://weberp-accounting.1478800.n4.nabble.com/Fxprice-Fxnet-and-Display-total-variance-tp4657671.html Sent from the web-ERP-developers mailing list archive at Nabble.com. |
From: ExsonQu <hex...@gm...> - 2014-10-04 03:02:38
|
*Dear all,* I think the solution for this case is that we add a field to stockmoves table which record the original price in foreign currency. Then we retrieve the price when we create the invoice instead of calculating it by foreign exchange. If there is no objection for this. I'll do it. Best regards! Exson -- View this message in context: http://weberp-accounting.1478800.n4.nabble.com/Fxprice-Fxnet-and-Display-total-variance-tp4657671p4657682.html Sent from the web-ERP-developers mailing list archive at Nabble.com. |
From: Phil D. <ph...@lo...> - 2014-10-04 03:11:33
|
Do you think we could record the exchange rate used to greater precision rather than duplicating the data? Hate the idea of duplicating data that we can calculate. Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 04/10/14 16:02, ExsonQu wrote: > *Dear all,* > > I think the solution for this case is that we add a field to > stockmoves table which record the original price in foreign currency. Then > we retrieve the price when we create the invoice instead of calculating it > by foreign exchange. > > If there is no objection for this. I'll do it. > > Best regards! > > Exson > > > > -- > View this message in context: http://weberp-accounting.1478800.n4.nabble.com/Fxprice-Fxnet-and-Display-total-variance-tp4657671p4657682.html > Sent from the web-ERP-developers mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > |
From: ExsonQu <hex...@gm...> - 2014-10-06 11:18:54
|
*Hi, Phil,* After doing some test, I've revised the stockmoves price field to 5 decimal places and change the LocalCurrencyPrices to 5 decimal places. It currently solves the problem for my tests, but not sure if it's gives enough precision for all situation. Thank you for your opinion. Best regards! Exson -- View this message in context: http://weberp-accounting.1478800.n4.nabble.com/Fxprice-Fxnet-and-Display-total-variance-tp4657671p4657697.html Sent from the web-ERP-developers mailing list archive at Nabble.com. |
From: Phil D. <ph...@lo...> - 2014-10-04 21:19:34
|
Once we get a fix for this - it is probably a good time to do a new release, unless anyone has any pressing issues they have noted that needs some TLC? Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 04/10/14 16:02, ExsonQu wrote > *Dear all,* > > I think the solution for this case is that we add a field to > stockmoves table which record the original price in foreign currency. Then > we retrieve the price when we create the invoice instead of calculating it > by foreign exchange. > > If there is no objection for this. I'll do it. > > Best regards! > > Exson > > > > -- > View this message in context: http://weberp-accounting.1478800.n4.nabble.com/Fxprice-Fxnet-and-Display-total-variance-tp4657671p4657682.html > Sent from the web-ERP-developers mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > |
From: Humberto S. <we...@si...> - 2014-10-04 21:46:38
|
I prefer Exson idea -----Original Message----- From: Phil Daintree <ph...@lo...> Date: Sun, 05 Oct 2014 10:19:24 To: webERP Developers<web...@li...> Reply-To: webERP Developers <web...@li...> Subject: Re: [WebERP-developers] Fxprice, Fxnet and Display total variance Once we get a fix for this - it is probably a good time to do a new release, unless anyone has any pressing issues they have noted that needs some TLC? Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 04/10/14 16:02, ExsonQu wrote > *Dear all,* > > I think the solution for this case is that we add a field to > stockmoves table which record the original price in foreign currency. Then > we retrieve the price when we create the invoice instead of calculating it > by foreign exchange. > > If there is no objection for this. I'll do it. > > Best regards! > > Exson > > > > -- > View this message in context: http://weberp-accounting.1478800.n4.nabble.com/Fxprice-Fxnet-and-Display-total-variance-tp4657671p4657682.html > Sent from the web-ERP-developers mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Web-erp-developers mailing list Web...@li... https://lists.sourceforge.net/lists/listinfo/web-erp-developers |