Re: Transaction timeouts

2017-07-10 Thread Michael Brohl
Hi Max, you can make use of TransactionUtil, see WebToolsService#entityExportAll for an example. The main pattern is // start transaction boolean beganTx = TransactionUtil.begin(); // iterate through generic values and store them, count numberWritten ... // commit after 500 values

Transaction timeouts

2017-07-10 Thread Max Peak
Greetings all, I have a groovy script ( not a service) that collects (scrapes) data, processes, and submits to db. If there are too many records, no error is thrown but transaction timeout causes no records committed. Is there a way to call forced commits occasionally during execution to

Re: estimate the delivery date

2017-07-10 Thread Michael Brohl
Hi Nicolas, I'm not sure.. while there are corresponding fields (estimatedStartDate, estimatedArrivalDate) in the ShipmentRouteSegment entity and some functionality using WorkEfforts, there seem to be no business logic to calculate it on base of e.g. facility location and destination. I

estimate the delivery date

2017-07-10 Thread Nicolas Malin
Hello every one, Currently I try to calculate the delivery date as information during the order creation process between two country but I didn't found any good method from the OFBiz standard like ShimpentMethodType association with Geo or something like that. Do you have any feedback on

Fwd: MODERATE for user@ofbiz.apache.org (was Inquiry)

2017-07-10 Thread Jacques Le Roux
Hi Pia, Your message has been moderated. Please use and subscribe to the user ML for such questions see why here http://ofbiz.apache.org/mailing-lists.html You will get a better support and it's more fair to share with everybody The wider the audience the better the answers you might get

Re: [DEMOS] All demos are down

2017-07-10 Thread Paul Foxworthy
ObDilbert http://dilbert.com/strip/2002-06-08 On 10 July 2017 at 20:28, Jacques Le Roux wrote: > Hi Paul, > > I already (indirectly, in this type of case you also get a 500) asked for > that at INFRA-14477 but the Infra team is not a priority > > Actually the

Credit Memos that Tie to an Invoice

2017-07-10 Thread james
We are working with returns and we recently noticed that the system creates a Payment to the customer. Is there a way to create a credit memo instead of a payment? or decide on the return if a credit vs payment is created? Also is there a way to relate a credit memo to the original invoice that

Re: [DEMOS] All demos are down

2017-07-10 Thread Jacques Le Roux
Hi Paul, I already (indirectly, in this type of case you also get a 500) asked for that at INFRA-14477 but the Infra team is not a priority Actually the underneath problem should be fixed with r1801365+6. With the drawback of letting stable (only for now, ie not old: related with Gradle)

Re: [DEMOS] All demos are down

2017-07-10 Thread Jacques Le Roux
Le 10/07/2017 à 12:28, Jacques Le Roux a écrit : INFRA-14477 but the Infra team is not a priority INFRA-14477, but the Infra team said it's not a priority Jacques

Re: OFBiz Sanity Test Document

2017-07-10 Thread Jacques Le Roux
Le 10/07/2017 à 09:52, Paul Foxworthy a écrit : Personally, I would be happy with performance 1.x or 2.x times slower, given the productivity gain. It would have to be order-of-magnitude slower to really put me off. Cheers Paul I totally agree. I think we could ask the infra team to allow to

Re: OFBiz Sanity Test Document

2017-07-10 Thread Rishi Solanki
Mostly search says good to go with selenium but could not found anything about performance. Below is one comparison which suggest some reasoning about selenium but nothing says for performance point as Taher asked. https://www.slant.co/versus/846/848/~selenium_vs_geb Rishi Solanki Sr

Re: Add Tax in AP invoice

2017-07-10 Thread Paul Foxworthy
Hi Moatasim, Yes, there's a bug with the accounting transactions for sales tax and VAT. If you look closely at the GL transactions, you'll see they don't balance, and that's why they've been added to the suspense journal. I have worked through fixing this for our own Bonsai ERP product. I will

Re: OFBiz Sanity Test Document

2017-07-10 Thread Paul Foxworthy
On 10 July 2017 at 14:59, Taher Alkhateeb wrote: > Interesting. I didn't know about geb but it seems promising and has gradle > integration. It seems to support only JavaScript though right? How does it > compare in performance with Selenium? > Hi Taher, Geb uses

Re: [DEMOS] All demos are down

2017-07-10 Thread Paul Foxworthy
Hi Jacques, Shouldn't there be monitoring so someone gets warned ahead of time that storage space is getting low? Cheers Paul On 8 July 2017 at 02:16, Jacques Le Roux wrote: > It's OK now > > Jacques > > > > Le 07/07/2017 à 16:30, Jacques Le Roux a écrit : > >>

Re: OFBiz Sanity Test Document

2017-07-10 Thread Sanjay Yadav
Hello Michael, Thank you for your input. Definitely, we will work on automated test for these checks. It's in our plan. Paul, Thanks for sharing information about Geb and Spock. will explore it. Best Regards, *Sanjay Yadav* | Manager, Enterprise Quality Assurance HotWax Commerce

Re: Fwd: MODERATE for user@ofbiz.apache.org

2017-07-10 Thread velusamy T
Thanks Jacques for the quick reply, I just want to know purchase return entire process is cover in ofbiz or not. Else if its my mistake will do more R on that. On Thu, Jul 6, 2017 at 4:05 PM, Jacques Le Roux < jacques.le.r...@les7arts.com> wrote: > Velusamy, > > I see that you have already