Re: splitup of ebay component.

2010-01-28 Thread Hans Bakker
Another suggested name: Ebay Store

On Thu, 2010-01-28 at 21:50 -0700, Scott Gray wrote:
> Hi Hans,
> 
> Is there any reason that you know of for us to retain the XML interface at 
> all?  If the "API" is better then shouldn't we just use it alone?
> 
> If we end up keeping both we might need better names, XML vs. API doesn't 
> mean much (I mean the XML interface is also an API) or is this how eBay 
> describes them?
> 
> Regards
> Scott
> 
> HotWax Media
> http://www.hotwaxmedia.com
> 
> On 28/01/2010, at 9:32 PM, Hans Bakker wrote:
> 
> > Hi follow OFBiz users.
> > 
> > as you have seen at the latest commits we have extended the ebay
> > component by using the Ebay API which allows an ofbiz user to (almost)
> > maintain all Ebay functions within OFBiz.
> > 
> > Up to now there was no overlap between the existing XML functions and
> > the new API functions, however there now will be.
> > 
> > Uploading products in the existing ebay function does not allow
> > maintaining inventory within in Ebay, but the new upload function does
> > or does not allow it set by a flag, so there is overlap.
> > 
> > We plan further to duplicate all XML functions using the API interface.
> > 
> > So hereby we propose to rename the existing Ebay component to "EbayXml"
> > and create a new Ebay component called "EbayAPI" both in the specialized
> > directory.
> > 
> > comments or suggestions?
> > 
> > -- 
> > Antwebsystems.com: Quality OFBiz services for competitive rates
> > 
> 
-- 
Antwebsystems.com: Quality OFBiz services for competitive rates



Re: splitup of ebay component.

2010-01-28 Thread Hans Bakker
Please contribute and attach it to an Jira issue! perhaps we can include
it in the Ofbiz distribution? Did you have a lokk what is recently
added?


Regards,
hans

On Fri, 2010-01-29 at 09:45 +0200, Florin Popa wrote:
> Hi,
> 
> For our project we developed already most of the Ebay related 
> functionalities based on EbayAPI. Indeed there are few particular things 
> like the way we keep track of the products sent to ebay as well as the 
> set of attributes which could be published along with a product.
> If anyone interested I can offer that part of the source code.
> 
> regards,
>  Florin
> > Hi Hans,
> >
> > Is there any reason that you know of for us to retain the XML interface at 
> > all?  If the "API" is better then shouldn't we just use it alone?
> >
> > If we end up keeping both we might need better names, XML vs. API doesn't 
> > mean much (I mean the XML interface is also an API) or is this how eBay 
> > describes them?
> >
> > Regards
> > Scott
> >
> > HotWax Media
> > http://www.hotwaxmedia.com
> >
> > On 28/01/2010, at 9:32 PM, Hans Bakker wrote:
> >
> >   
> >> Hi follow OFBiz users.
> >>
> >> as you have seen at the latest commits we have extended the ebay
> >> component by using the Ebay API which allows an ofbiz user to (almost)
> >> maintain all Ebay functions within OFBiz.
> >>
> >> Up to now there was no overlap between the existing XML functions and
> >> the new API functions, however there now will be.
> >>
> >> Uploading products in the existing ebay function does not allow
> >> maintaining inventory within in Ebay, but the new upload function does
> >> or does not allow it set by a flag, so there is overlap.
> >>
> >> We plan further to duplicate all XML functions using the API interface.
> >>
> >> So hereby we propose to rename the existing Ebay component to "EbayXml"
> >> and create a new Ebay component called "EbayAPI" both in the specialized
> >> directory.
> >>
> >> comments or suggestions?
> >>
> >> -- 
> >> Antwebsystems.com: Quality OFBiz services for competitive rates
> >>
> >> 
> >
> >   
> 
-- 
Antwebsystems.com: Quality OFBiz services for competitive rates



Re: splitup of ebay component.

2010-01-28 Thread Hans Bakker
Yes Scott I agree with you the names are not good.

We do think however we need both components. For simple stores the
current ebay component can still be interesting.

The main difference is in the functionality, the new component is much
more advanced

so the name: Ebay Advanced or Ebay professional?

thanks for your reply

Regards,
Hans

On Thu, 2010-01-28 at 21:50 -0700, Scott Gray wrote:
> Hi Hans,
> 
> Is there any reason that you know of for us to retain the XML interface at 
> all?  If the "API" is better then shouldn't we just use it alone?
> 
> If we end up keeping both we might need better names, XML vs. API doesn't 
> mean much (I mean the XML interface is also an API) or is this how eBay 
> describes them?
> 
> Regards
> Scott
> 
> HotWax Media
> http://www.hotwaxmedia.com
> 
> On 28/01/2010, at 9:32 PM, Hans Bakker wrote:
> 
> > Hi follow OFBiz users.
> > 
> > as you have seen at the latest commits we have extended the ebay
> > component by using the Ebay API which allows an ofbiz user to (almost)
> > maintain all Ebay functions within OFBiz.
> > 
> > Up to now there was no overlap between the existing XML functions and
> > the new API functions, however there now will be.
> > 
> > Uploading products in the existing ebay function does not allow
> > maintaining inventory within in Ebay, but the new upload function does
> > or does not allow it set by a flag, so there is overlap.
> > 
> > We plan further to duplicate all XML functions using the API interface.
> > 
> > So hereby we propose to rename the existing Ebay component to "EbayXml"
> > and create a new Ebay component called "EbayAPI" both in the specialized
> > directory.
> > 
> > comments or suggestions?
> > 
> > -- 
> > Antwebsystems.com: Quality OFBiz services for competitive rates
> > 
> 
-- 
Antwebsystems.com: Quality OFBiz services for competitive rates



Re: splitup of ebay component.

2010-01-28 Thread Florin Popa

Hi,

For our project we developed already most of the Ebay related 
functionalities based on EbayAPI. Indeed there are few particular things 
like the way we keep track of the products sent to ebay as well as the 
set of attributes which could be published along with a product.

If anyone interested I can offer that part of the source code.

regards,
Florin

Hi Hans,

Is there any reason that you know of for us to retain the XML interface at all?  If the 
"API" is better then shouldn't we just use it alone?

If we end up keeping both we might need better names, XML vs. API doesn't mean 
much (I mean the XML interface is also an API) or is this how eBay describes 
them?

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 28/01/2010, at 9:32 PM, Hans Bakker wrote:

  

Hi follow OFBiz users.

as you have seen at the latest commits we have extended the ebay
component by using the Ebay API which allows an ofbiz user to (almost)
maintain all Ebay functions within OFBiz.

Up to now there was no overlap between the existing XML functions and
the new API functions, however there now will be.

Uploading products in the existing ebay function does not allow
maintaining inventory within in Ebay, but the new upload function does
or does not allow it set by a flag, so there is overlap.

We plan further to duplicate all XML functions using the API interface.

So hereby we propose to rename the existing Ebay component to "EbayXml"
and create a new Ebay component called "EbayAPI" both in the specialized
directory.

comments or suggestions?

--
Antwebsystems.com: Quality OFBiz services for competitive rates




  




Re: Different order status for COD and CC

2010-01-28 Thread Abdullah Shaikh
There won't be any harm, only thing is as Scott said you will be adding
unnecessary complexity.

The flow makes use of order status to perform some actions, here you will be
adding a custom status for same order status types, so you will have to make
changes in the flow wherever the order status is being used to make use of
your custom status.

Easy way out of this would be, if you are only bothered  about displaying
the custom status message, is to customise the code where the order list is
displayed in order manager to check if its a COD / CC order and display you
custom status message accordingly.

- Abdullah

On Fri, Jan 29, 2010 at 11:20 AM, Ramkrishna Swamy <
ramkrishna.swamyof...@gmail.com> wrote:

> Hi Scott,
>
> What could be possible harm if i do so, i don't have much knowledge of
> OFBiz
> and since it's my client's requirement so i have to follow.
>
> --
> Thanks
> Ramkrishna
>
> On Fri, Jan 29, 2010 at 11:04 AM, Scott Gray  >wrote:
>
> > I would seriously consider why the same status has to have a different
> > description depending on the payment method type.  You're adding
> unnecessary
> > complexity when other simpler approaches could probably achieve the same
> > goal.
> >
> > Regards
> > Scott
> >
> > On 28/01/2010, at 10:12 PM, Ramkrishna Swamy wrote:
> >
> > > Hi Scott,
> > >
> > > Thanks for your reply, i have to set status "Order to be approved" for
> > COD
> > > and "Order Placed" for CC instead of "Created", as per my understanding
> > i'll
> > > have to create new status and have to call seca for changing the order
> > > status while placing the order, is this correct or there is another way
> > to
> > > do.
> > >
> > > --
> > > Thanks
> > > Ramkrishna
> > >
> > > On Fri, Jan 29, 2010 at 4:41 AM, Scott Gray <
> scott.g...@hotwaxmedia.com
> > >wrote:
> > >
> > >> Start off by setting "Auto Approve Order" on the Product Store to "N"
> > which
> > >> will cause all order to remain in the Created status and will need to
> be
> > >> manually moved to Approved.
> > >>
> > >> Regards
> > >> Scott
> > >>
> > >> HotWax Media
> > >> http://www.hotwaxmedia.com
> > >>
> > >> On 28/01/2010, at 12:36 AM, Ramkrishna Swamy wrote:
> > >>
> > >>> Has anyone idea on this. Plz help.
> > >>>
> > >>> --
> > >>> Thanks
> > >>> Ramkrishna
> > >>>
> > >>>
> > >>> On Mon, Dec 28, 2009 at 12:47 PM, Ramkrishna Swamy <
> > >>> ramkrishna.swamyof...@gmail.com> wrote:
> > >>>
> >  Hi list,
> > 
> >  I have a requirement of setting different order status, for COD
> status
> >  should be "Order to be Approved"  and for CC "Order Placed" is
> > required,
> > >> and
> >  in both cases order will be approved later on, how to implement
> this.
> > 
> >  Plz help.
> > 
> >  --
> >  Thanks
> >  Ramkrishna
> > 
> > >>
> > >>
> >
> >
>


Re: Who is using OFBIZ in South Africa

2010-01-28 Thread Brendan Vogt
Hi,

Let me know if you find any one.

I tried it about 2 years, but there was a lack of documentation on how to do
everything.  So I am giving it another try now.  I'm not working on a
particular site, and you?

Brendan



On 28 January 2010 10:30, Louis Engelbrecht  wrote:

> Hi everyone.
>
> I am trying to get a list of OFBIZ users in South Africa. Is there anyone
> on this list from South Africa
> or know of other companies in South Africa using OFBIZ?
>
> Regards.
>
>
> Louis Engelbrecht
>
>
> --
> This message is subject to the CSIR's copyright terms and conditions,
> e-mail legal notice, and implemented Open Document Format (ODF) standard.
> The full disclaimer details can be found at
> http://www.csir.co.za/disclaimer.html.
>
> This message has been scanned for viruses and dangerous content by
> MailScanner,
> and is believed to be clean.  MailScanner thanks Transtec Computers for
> their support.
>
>


Re: Different order status for COD and CC

2010-01-28 Thread Ramkrishna Swamy
Hi Scott,

What could be possible harm if i do so, i don't have much knowledge of OFBiz
and since it's my client's requirement so i have to follow.

-- 
Thanks
Ramkrishna

On Fri, Jan 29, 2010 at 11:04 AM, Scott Gray wrote:

> I would seriously consider why the same status has to have a different
> description depending on the payment method type.  You're adding unnecessary
> complexity when other simpler approaches could probably achieve the same
> goal.
>
> Regards
> Scott
>
> On 28/01/2010, at 10:12 PM, Ramkrishna Swamy wrote:
>
> > Hi Scott,
> >
> > Thanks for your reply, i have to set status "Order to be approved" for
> COD
> > and "Order Placed" for CC instead of "Created", as per my understanding
> i'll
> > have to create new status and have to call seca for changing the order
> > status while placing the order, is this correct or there is another way
> to
> > do.
> >
> > --
> > Thanks
> > Ramkrishna
> >
> > On Fri, Jan 29, 2010 at 4:41 AM, Scott Gray  >wrote:
> >
> >> Start off by setting "Auto Approve Order" on the Product Store to "N"
> which
> >> will cause all order to remain in the Created status and will need to be
> >> manually moved to Approved.
> >>
> >> Regards
> >> Scott
> >>
> >> HotWax Media
> >> http://www.hotwaxmedia.com
> >>
> >> On 28/01/2010, at 12:36 AM, Ramkrishna Swamy wrote:
> >>
> >>> Has anyone idea on this. Plz help.
> >>>
> >>> --
> >>> Thanks
> >>> Ramkrishna
> >>>
> >>>
> >>> On Mon, Dec 28, 2009 at 12:47 PM, Ramkrishna Swamy <
> >>> ramkrishna.swamyof...@gmail.com> wrote:
> >>>
>  Hi list,
> 
>  I have a requirement of setting different order status, for COD status
>  should be "Order to be Approved"  and for CC "Order Placed" is
> required,
> >> and
>  in both cases order will be approved later on, how to implement this.
> 
>  Plz help.
> 
>  --
>  Thanks
>  Ramkrishna
> 
> >>
> >>
>
>


Re: Different order status for COD and CC

2010-01-28 Thread Scott Gray
I would seriously consider why the same status has to have a different 
description depending on the payment method type.  You're adding unnecessary 
complexity when other simpler approaches could probably achieve the same goal.

Regards
Scott

On 28/01/2010, at 10:12 PM, Ramkrishna Swamy wrote:

> Hi Scott,
> 
> Thanks for your reply, i have to set status "Order to be approved" for COD
> and "Order Placed" for CC instead of "Created", as per my understanding i'll
> have to create new status and have to call seca for changing the order
> status while placing the order, is this correct or there is another way to
> do.
> 
> -- 
> Thanks
> Ramkrishna
> 
> On Fri, Jan 29, 2010 at 4:41 AM, Scott Gray wrote:
> 
>> Start off by setting "Auto Approve Order" on the Product Store to "N" which
>> will cause all order to remain in the Created status and will need to be
>> manually moved to Approved.
>> 
>> Regards
>> Scott
>> 
>> HotWax Media
>> http://www.hotwaxmedia.com
>> 
>> On 28/01/2010, at 12:36 AM, Ramkrishna Swamy wrote:
>> 
>>> Has anyone idea on this. Plz help.
>>> 
>>> --
>>> Thanks
>>> Ramkrishna
>>> 
>>> 
>>> On Mon, Dec 28, 2009 at 12:47 PM, Ramkrishna Swamy <
>>> ramkrishna.swamyof...@gmail.com> wrote:
>>> 
 Hi list,
 
 I have a requirement of setting different order status, for COD status
 should be "Order to be Approved"  and for CC "Order Placed" is required,
>> and
 in both cases order will be approved later on, how to implement this.
 
 Plz help.
 
 --
 Thanks
 Ramkrishna
 
>> 
>> 



smime.p7s
Description: S/MIME cryptographic signature


Re: Different order status for COD and CC

2010-01-28 Thread Ramkrishna Swamy
Hi Scott,

Thanks for your reply, i have to set status "Order to be approved" for COD
and "Order Placed" for CC instead of "Created", as per my understanding i'll
have to create new status and have to call seca for changing the order
status while placing the order, is this correct or there is another way to
do.

-- 
Thanks
Ramkrishna

On Fri, Jan 29, 2010 at 4:41 AM, Scott Gray wrote:

> Start off by setting "Auto Approve Order" on the Product Store to "N" which
> will cause all order to remain in the Created status and will need to be
> manually moved to Approved.
>
> Regards
> Scott
>
> HotWax Media
> http://www.hotwaxmedia.com
>
> On 28/01/2010, at 12:36 AM, Ramkrishna Swamy wrote:
>
> > Has anyone idea on this. Plz help.
> >
> > --
> > Thanks
> > Ramkrishna
> >
> >
> > On Mon, Dec 28, 2009 at 12:47 PM, Ramkrishna Swamy <
> > ramkrishna.swamyof...@gmail.com> wrote:
> >
> >> Hi list,
> >>
> >> I have a requirement of setting different order status, for COD status
> >> should be "Order to be Approved"  and for CC "Order Placed" is required,
> and
> >> in both cases order will be approved later on, how to implement this.
> >>
> >> Plz help.
> >>
> >> --
> >> Thanks
> >> Ramkrishna
> >>
>
>


Re: Looking for Developers with Immediate Availability

2010-01-28 Thread Ravindra Thakur
Hello David,
I have 2+ year experience in OFBiz developemnt.
I worked on CRMSFA, ecommerce, product and planing, handheld, ofbiz
development, installation and customization.
I can work from home.
let me know on ravindra2...@gmail.com

Thanks

On Fri, Jan 29, 2010 at 8:52 AM, Rodrigo Lima wrote:

> Hi David,
>
> I have 2 years in Real Implementation to OF Biz in Brazil.
> Base price is $60 hour. 100h avaiable Feb.
> Expertise: Ecommerce / Front/End , Back/End, Products Management, Payments
> and Financial Integration.
>
> Rodrigo
>
>
> 2010/1/28 David E Jones 
>
> >
> > Some people I know have an immediate need for 1-2 experienced developers
> to
> > get a project based on OFBiz implemented quickly. It's a proof-of-concept
> > application for a startup company.
> >
> > If you also happen to be an individual looking for full-time long-term
> > employment then they are looking for that too, but their immediate need
> is
> > for someone more experienced who can work full-time on a temporary basis
> > (probably a couple of months), and start right away.
> >
> > If you are, or you know, an experienced developer with at least some
> > knowledge of OFBiz who fits this description, please let me know and I'll
> > pass the word along. People who work independently or who work
> for/through a
> > company are both fine.
> >
> > Thanks,
> > -David
> >
> >
>



-- 
Ravindra Thakur


Re: splitup of ebay component.

2010-01-28 Thread Scott Gray
Hi Hans,

Is there any reason that you know of for us to retain the XML interface at all? 
 If the "API" is better then shouldn't we just use it alone?

If we end up keeping both we might need better names, XML vs. API doesn't mean 
much (I mean the XML interface is also an API) or is this how eBay describes 
them?

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 28/01/2010, at 9:32 PM, Hans Bakker wrote:

> Hi follow OFBiz users.
> 
> as you have seen at the latest commits we have extended the ebay
> component by using the Ebay API which allows an ofbiz user to (almost)
> maintain all Ebay functions within OFBiz.
> 
> Up to now there was no overlap between the existing XML functions and
> the new API functions, however there now will be.
> 
> Uploading products in the existing ebay function does not allow
> maintaining inventory within in Ebay, but the new upload function does
> or does not allow it set by a flag, so there is overlap.
> 
> We plan further to duplicate all XML functions using the API interface.
> 
> So hereby we propose to rename the existing Ebay component to "EbayXml"
> and create a new Ebay component called "EbayAPI" both in the specialized
> directory.
> 
> comments or suggestions?
> 
> -- 
> Antwebsystems.com: Quality OFBiz services for competitive rates
> 



smime.p7s
Description: S/MIME cryptographic signature


splitup of ebay component.

2010-01-28 Thread Hans Bakker
Hi follow OFBiz users.

as you have seen at the latest commits we have extended the ebay
component by using the Ebay API which allows an ofbiz user to (almost)
maintain all Ebay functions within OFBiz.

Up to now there was no overlap between the existing XML functions and
the new API functions, however there now will be.

Uploading products in the existing ebay function does not allow
maintaining inventory within in Ebay, but the new upload function does
or does not allow it set by a flag, so there is overlap.

We plan further to duplicate all XML functions using the API interface.

So hereby we propose to rename the existing Ebay component to "EbayXml"
and create a new Ebay component called "EbayAPI" both in the specialized
directory.

comments or suggestions?

-- 
Antwebsystems.com: Quality OFBiz services for competitive rates



Re: Product Variants

2010-01-28 Thread Prabhakaran Duraisamy
Hi Vivek Mishra

Thanks a Lot , this explanation has cleared my Doubt Thanks



On Thu, Jan 28, 2010 at 10:30 PM, Vivek Mishra  wrote:

> Hi Prabhakaran,
>
> Let me explain you this concept with an example. Say we have a product
> shirt. Shirt is nothing unless you have its features like color, size etc.
> Now you have different size and different color of a shirt so this is
> called variants of that particular shirt.
>
> In such scenario shirt itself will be a virtual product and its variants
> products can only be sold by your site. Refer DemoProduct.xml file and see
> how data setup has been done for virtual and their variant products.
>
> HTH
> Thanks!
> -- Vivek Mishra
>
>
> Prabhakaran Duraisamy wrote:
>
>> Hi,
>>  Is there this any Document for Product--->Since I want to know about
>> Product Variant
>> How it is used in Product, Pls Give Me a Suggestion
>>
>> Thanks in Advance
>>
>>
>>
>


-- 
Regards,

Prabhakaran.D

+91 99 520 93 900


Re: Looking for Developers with Immediate Availability

2010-01-28 Thread Rodrigo Lima
Hi David,

I have 2 years in Real Implementation to OF Biz in Brazil.
Base price is $60 hour. 100h avaiable Feb.
Expertise: Ecommerce / Front/End , Back/End, Products Management, Payments
and Financial Integration.

Rodrigo


2010/1/28 David E Jones 

>
> Some people I know have an immediate need for 1-2 experienced developers to
> get a project based on OFBiz implemented quickly. It's a proof-of-concept
> application for a startup company.
>
> If you also happen to be an individual looking for full-time long-term
> employment then they are looking for that too, but their immediate need is
> for someone more experienced who can work full-time on a temporary basis
> (probably a couple of months), and start right away.
>
> If you are, or you know, an experienced developer with at least some
> knowledge of OFBiz who fits this description, please let me know and I'll
> pass the word along. People who work independently or who work for/through a
> company are both fine.
>
> Thanks,
> -David
>
>


running error

2010-01-28 Thread zhiyongcui

As I view the Approved Product Requirements page under requirment in order
component,I got error as below:
Error evaluating BSH scriptlet [
org.ofbiz.party.party.PartyHelper.getPartyName(
delegator, partyId, false);], inserting nothing; error was: Sourced file:
inline
 evaluation of: `` org.ofbiz.party.party.PartyHelper.getPartyName(delegator,
par
tyId, false);'' : Undefined variable or class name while evaluating:
org.ofbiz.p
arty.party.PartyHelper : at Line: 1 : in file: inline evaluation of: ``
org.ofbi
z.party.party.PartyHelper.getPartyName(delegator, partyId, false);'' : org
.ofbi
z .party .party .PartyHelper .getPartyName ( delegator , partyId , false )

Exception: bsh.EvalError
Message: Sourced file: inline evaluation of: ``
org.ofbiz.party.party.PartyHelpe
r.getPartyName(delegator, partyId, false);'' : Undefined variable or class
name
while evaluating: org.ofbiz.party.party.PartyHelper
 stack trace
---

Sourced file: inline evaluation of: ``
org.ofbiz.party.party.PartyHelper.getPart
yName(delegator, partyId, false);'' : Undefined variable or class name while
eva
luating: org.ofbiz.party.party.PartyHelper : at Line: 1 : in file: inline
evalua
tion of: `` org.ofbiz.party.party.PartyHelper.getPartyName(delegator,
partyId, f
alse);'' : org .ofbiz .party .party .PartyHelper .getPartyName ( delegator ,
par
tyId , false )
But I found there is nothing wrong about the PartyHelper class, anyone could
help me?
-- 
View this message in context: 
http://n4.nabble.com/running-error-tp1401474p1401474.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Looking for Developers with Immediate Availability

2010-01-28 Thread David E Jones

Some people I know have an immediate need for 1-2 experienced developers to get 
a project based on OFBiz implemented quickly. It's a proof-of-concept 
application for a startup company.

If you also happen to be an individual looking for full-time long-term 
employment then they are looking for that too, but their immediate need is for 
someone more experienced who can work full-time on a temporary basis (probably 
a couple of months), and start right away.

If you are, or you know, an experienced developer with at least some knowledge 
of OFBiz who fits this description, please let me know and I'll pass the word 
along. People who work independently or who work for/through a company are both 
fine.

Thanks,
-David



Re: How to pass data into a groovy file?

2010-01-28 Thread Jacques Le Roux
Also have a look at 
http://cwiki.apache.org/confluence/pages/viewpage.action?pageId=6553757


Anyway there are plenty of examples in code...

HTH

Jacques

From: "Ancheta, Fred" 

You can access such variables by using:

parameters.productCategoryId;

This will get it from the paramMap of the request.

On Thu, Jan 28, 2010 at 2:33 PM, Alexander1893 <
alexan...@familie-schweizer.net> wrote:



hi,

could you explain a litte lo more in detail, what you want to do:
what is the origin of the data you want to pass?

alexander

--
View this message in context:
http://n4.nabble.com/How-to-pass-data-into-a-groovy-file-tp1401304p1401318.html
Sent from the OFBiz - User mailing list archive at Nabble.com.







Re: Different order status for COD and CC

2010-01-28 Thread Scott Gray
Start off by setting "Auto Approve Order" on the Product Store to "N" which 
will cause all order to remain in the Created status and will need to be 
manually moved to Approved.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 28/01/2010, at 12:36 AM, Ramkrishna Swamy wrote:

> Has anyone idea on this. Plz help.
> 
> -- 
> Thanks
> Ramkrishna
> 
> 
> On Mon, Dec 28, 2009 at 12:47 PM, Ramkrishna Swamy <
> ramkrishna.swamyof...@gmail.com> wrote:
> 
>> Hi list,
>> 
>> I have a requirement of setting different order status, for COD status
>> should be "Order to be Approved"  and for CC "Order Placed" is required, and
>> in both cases order will be approved later on, how to implement this.
>> 
>> Plz help.
>> 
>> --
>> Thanks
>> Ramkrishna
>> 



smime.p7s
Description: S/MIME cryptographic signature


Re: Problems calling "addAdditionalViewForProduct"

2010-01-28 Thread Mridul Pathak
Hi Alexander,

You don't need to add these parameters to your form.  This is the job of
ServiceEventHandler to put the uploaded file related information in the
parameters that are being passed to the service, refer
ServiceEventHandler.java (line 151 - 227).
You said you are writing custom logic around the OOTB
"addAdditionalViewForProduct"
service.  If that's true it would be easier for you if your custom logic is
written as a service and the service def implements "uploadFileInterface"
service interface.

-- 
Thanks & Regards
Mridul Pathak
Hotwax Media
http://www.hotwaxmedia.com
mridul.pat...@hotwaxmedia.com
-
direct: +91 - 942.592.6892

On Thu, Jan 28, 2010 at 2:16 PM, Alexander1893 <
alexan...@familie-schweizer.net> wrote:

>
> Hi Midrul,
>
> first of all - it's not "my service" I'm calling.
>
> You said that this is missing:
>
>  field="addAdditionalViewForProduct._uploadedFile_fileName"
> from-field="parameters._uploadedFile_fileName"/>
>
>  field="addAdditionalViewForProduct._uploadedFile_contentType"
> from-field="parameters._uploadedFile_contentType"/>
>
> First: Actualy I'dont understand why I should have this parameters in the
> form, if they are optional in the service-dev... If optional meens, that
> the
> service doesn't work - than the service-def is useless.
> I have only one field in the form - which is a input type "file". Where
> should the "fileName" and "contentType" come from?
>
> Thanks a lot for futher help!
> Alexander
> --
> View this message in context:
> http://n4.nabble.com/Problems-calling-addAdditionalViewForProduct-tp1397293p1400053.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: How to pass data into a groovy file?

2010-01-28 Thread Ancheta, Fred
You can access such variables by using:

parameters.productCategoryId;

This will get it from the paramMap of the request.

On Thu, Jan 28, 2010 at 2:33 PM, Alexander1893 <
alexan...@familie-schweizer.net> wrote:

>
> hi,
>
> could you explain a litte lo more in detail, what you want to do:
> what is the origin of the data you want to pass?
>
> alexander
>
> --
> View this message in context:
> http://n4.nabble.com/How-to-pass-data-into-a-groovy-file-tp1401304p1401318.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: How to pass data into a groovy file?

2010-01-28 Thread Alexander1893

hi,

could you explain a litte lo more in detail, what you want to do:
what is the origin of the data you want to pass?

alexander

-- 
View this message in context: 
http://n4.nabble.com/How-to-pass-data-into-a-groovy-file-tp1401304p1401318.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


How to pass data into a groovy file?

2010-01-28 Thread Patrick
I am trying to run a groovy file that has this getAttribute request.
productCategoryId = request.getAttribute("productCategoryId");
What is the appropriate way to pass data into a groovy file, or make
data available to a groovy file?


Re: what do you think of my plan to extend myPortal page to allow for product uploads from multiple people?

2010-01-28 Thread Alexander1893

Thanks Ruth!
I think this gonna help.
-- 
View this message in context: 
http://n4.nabble.com/what-do-you-think-of-my-plan-to-extend-myPortal-page-to-allow-for-product-uploads-from-multiple-peop-tp1312273p1401298.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: html div problem in ecommerce component of ofbiz release 09.04

2010-01-28 Thread Alexander1893

Servus Heidi,

I think the problem is, that the CSS / Divs are not like they should be - in
addition the DIVs are mixed with Tables... Also there are Styles that are
not defined in the CSS but in the tags directly... I think you should clean
up the whole thing: no tables and all styles in the css files.

If you need any help - please let me know.

Alexander
-- 
View this message in context: 
http://n4.nabble.com/html-div-problem-in-ecommerce-component-of-ofbiz-release-09-04-tp1373683p1401289.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Problems calling "addAdditionalViewForProduct"

2010-01-28 Thread Alexander1893

Hi Midrul,

first of all - it's not "my service" I'm calling.

You said that this is missing:



 

First: Actualy I'dont understand why I should have this parameters in the
form, if they are optional in the service-dev... If optional meens, that the
service doesn't work - than the service-def is useless.
I have only one field in the form - which is a input type "file". Where
should the "fileName" and "contentType" come from?

Thanks a lot for futher help!
Alexander
-- 
View this message in context: 
http://n4.nabble.com/Problems-calling-addAdditionalViewForProduct-tp1397293p1400053.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Problems calling "addAdditionalViewForProduct"

2010-01-28 Thread Mridul Pathak
The first thing that you need to make sure is that your servicedef
implements uploadFileInterface, add following line to your servicedef:




The next thing you will need to do is to pass in the following input
parameters (comes from uploadFileInterface) to addAdditionalViewForProduct
service:


(you already have this one)






Once this is done your service should work.


-- 
Thanks & Regards
Mridul Pathak
Hotwax Media
http://www.hotwaxmedia.com
mridul.pat...@hotwaxmedia.com
-
direct: +91 - 942.592.6892

On Thu, Jan 28, 2010 at 1:37 PM, Alexander1893 <
alexan...@familie-schweizer.net> wrote:

>
> Hi all,
>
> I'm trying to use the service "addAdditionalViewForProduct" and I'm havin
> some problems.
>
> I have the following form in the front-end:
>
> target="performSingleFileUpload">
>
>
>
>widget-style="smallSubmit">
>
>
>
>
> After submitting I do some other things necessary (calling some services
> etc.).
>
> Than I prepare the Input-Map for the service "addAdditionalViewForProduct":
>
> from-field="userLogin.userLogin"/>
> from-field="productRoleAttributes.productId"/>
>
> field="addAdditionalViewForProduct.productContentTypeId"
> value="DIGITAL_DOWNLOAD"/>
> from-field="parameters.uploadedFile"/>
>
> And then I call the service:
>
>  in-map-name="addAdditionalViewForProduct"/>
>
> When I do that, I don't get any errors in the log - but nothing really
> happens (the file is not associated with the product...)
> I debugged the "ProductServices.java" in Eclipse - and obviously "the
> imageData" ist "Null" in after this Line:
>
>ByteBuffer imageData = (ByteBuffer) context.get("uploadedFile");
>
> Can anyone help?
>
> Thanks a lot!
> Alexander
>
>
>
>
>
> --
> View this message in context:
> http://n4.nabble.com/Problems-calling-addAdditionalViewForProduct-tp1397293p1397293.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Problems calling "addAdditionalViewForProduct"

2010-01-28 Thread Alexander1893

Hi all,

I'm trying to use the service "addAdditionalViewForProduct" and I'm havin
some problems.

I have the following form in the front-end:










After submitting I do some other things necessary (calling some services
etc.).

Than I prepare the Input-Map for the service "addAdditionalViewForProduct":







And then I call the service:



When I do that, I don't get any errors in the log - but nothing really
happens (the file is not associated with the product...)
I debugged the "ProductServices.java" in Eclipse - and obviously "the
imageData" ist "Null" in after this Line:

ByteBuffer imageData = (ByteBuffer) context.get("uploadedFile");

Can anyone help?

Thanks a lot!
Alexander





-- 
View this message in context: 
http://n4.nabble.com/Problems-calling-addAdditionalViewForProduct-tp1397293p1397293.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Any chance for an upgrade? - help please

2010-01-28 Thread Jacques Le Roux

Did you look into the FAQ?

Jacques

From: "Florin Popa" 

I'll take a look ar Grinder, seems promising, thanks again.

Of course life is never easy :) now I have another problem... the
network admin configured 2 ofbiz instances having an apache in front of
them as balancer.. but apache "talks" with ofbiz instances via AJP
rather than mod_jk ..which seems to be a bottleneck..
Have you experienced that kind of things?

best regards,
Florin Popa



The Grinder is a nice tool for such things (and has a nice recording proxy).

BTW, make sure to set your HTTP and thread pool sizes adequately for the load 
you are planning on.

-David


On Jan 28, 2010, at 11:30 AM, Florin Popa wrote:



Thanks everyone for the help!

Today we succeeded port to geronimo transaction 2.1 as well as the switch from minerva to DBCP connection pool. It seems much 
better but I am not fully content :)

Maybe because the automated testing tool I am using can not really hit hard 
enough..

Any recommendation for such tools?


Of course upgrade to latest version was scheduled too but this would take 
longer..

Best regards,
Florin

You're using a quite old version of OFBiz with the Minerva connection pool (I can tell from the stack trace you sent earlier). 
The Minerva connection pool has some issues with resetting connections when there are errors, especially if there is any code 
that doesn't manage errors well, but also if there are network layer issues or other sorts of things... it just doesn't recover 
at all.


You could try making changes to use the Apache DBCP connection pool that we use now in OFBiz. To do so requires some low-level 
coding. You can look at the current code base for hints, but there is still some work.


There are no known workarounds to this issue for really high volume sites, and for low-medium volume sites the workaround was 
to restart the app server(s) every day.


-David


On Jan 27, 2010, at 3:01 PM, Florin Popa wrote:




I was just asking myself if someone encountered before such problems on older 
revisions..

Would be Geronimo ok to be used or shall I try something else?

regards,
Florin



I'm sorry the potential for problems with this approach is just too large for 
me to be able to help you through it.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 27/01/2010, at 1:53 PM, Florin Popa wrote:



The attempt to update Ofbiz to recent revision is for the moment (time limits) not possible.. there are so many 
differences... I am even not sure if bsh could work further instead of the newly groovy ?! also the entity layer 
handling.. etc


So what I tried was to back port the transaction management - latest attempt is 
attached



















Re: Any chance for an upgrade? - help please

2010-01-28 Thread Florin Popa

I'll take a look ar Grinder, seems promising, thanks again.

Of course life is never easy :) now I have another problem... the 
network admin configured 2 ofbiz instances having an apache in front of 
them as balancer.. but apache "talks" with ofbiz instances via AJP 
rather than mod_jk ..which seems to be a bottleneck..

Have you experienced that kind of things?

best regards,
Florin Popa



The Grinder is a nice tool for such things (and has a nice recording proxy).

BTW, make sure to set your HTTP and thread pool sizes adequately for the load 
you are planning on.

-David


On Jan 28, 2010, at 11:30 AM, Florin Popa wrote:

  

Thanks everyone for the help!

Today we succeeded port to geronimo transaction 2.1 as well as the switch from 
minerva to DBCP connection pool. It seems much better but I am not fully 
content :)
Maybe because the automated testing tool I am using can not really hit hard 
enough..

Any recommendation for such tools?


Of course upgrade to latest version was scheduled too but this would take 
longer..

Best regards,
Florin


You're using a quite old version of OFBiz with the Minerva connection pool (I 
can tell from the stack trace you sent earlier). The Minerva connection pool 
has some issues with resetting connections when there are errors, especially if 
there is any code that doesn't manage errors well, but also if there are 
network layer issues or other sorts of things... it just doesn't recover at all.

You could try making changes to use the Apache DBCP connection pool that we use 
now in OFBiz. To do so requires some low-level coding. You can look at the 
current code base for hints, but there is still some work.

There are no known workarounds to this issue for really high volume sites, and 
for low-medium volume sites the workaround was to restart the app server(s) 
every day.

-David


On Jan 27, 2010, at 3:01 PM, Florin Popa wrote:

 
  

I was just asking myself if someone encountered before such problems on older 
revisions..

Would be Geronimo ok to be used or shall I try something else?

regards,
Florin
   


I'm sorry the potential for problems with this approach is just too large for 
me to be able to help you through it.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 27/01/2010, at 1:53 PM, Florin Popa wrote:

  
  

The attempt to update Ofbiz to recent revision is for the moment (time limits) 
not possible.. there are so many differences... I am even not sure if bsh could 
work further instead of the newly groovy ?! also the entity layer 
handling.. etc

So what I tried was to back port the transaction management - latest attempt is attached 

  
  
 
  



  




Re: Any chance for an upgrade? - help please

2010-01-28 Thread David E Jones

The Grinder is a nice tool for such things (and has a nice recording proxy).

BTW, make sure to set your HTTP and thread pool sizes adequately for the load 
you are planning on.

-David


On Jan 28, 2010, at 11:30 AM, Florin Popa wrote:

> Thanks everyone for the help!
> 
> Today we succeeded port to geronimo transaction 2.1 as well as the switch 
> from minerva to DBCP connection pool. It seems much better but I am not fully 
> content :)
> Maybe because the automated testing tool I am using can not really hit hard 
> enough..
> 
> Any recommendation for such tools?
> 
> 
> Of course upgrade to latest version was scheduled too but this would take 
> longer..
> 
> Best regards,
> Florin
>> You're using a quite old version of OFBiz with the Minerva connection pool 
>> (I can tell from the stack trace you sent earlier). The Minerva connection 
>> pool has some issues with resetting connections when there are errors, 
>> especially if there is any code that doesn't manage errors well, but also if 
>> there are network layer issues or other sorts of things... it just doesn't 
>> recover at all.
>> 
>> You could try making changes to use the Apache DBCP connection pool that we 
>> use now in OFBiz. To do so requires some low-level coding. You can look at 
>> the current code base for hints, but there is still some work.
>> 
>> There are no known workarounds to this issue for really high volume sites, 
>> and for low-medium volume sites the workaround was to restart the app 
>> server(s) every day.
>> 
>> -David
>> 
>> 
>> On Jan 27, 2010, at 3:01 PM, Florin Popa wrote:
>> 
>>  
>>> I was just asking myself if someone encountered before such problems on 
>>> older revisions..
>>> 
>>> Would be Geronimo ok to be used or shall I try something else?
>>> 
>>> regards,
>>> Florin
>>>
 I'm sorry the potential for problems with this approach is just too large 
 for me to be able to help you through it.
 
 Regards
 Scott
 
 HotWax Media
 http://www.hotwaxmedia.com
 
 On 27/01/2010, at 1:53 PM, Florin Popa wrote:
 
   
> The attempt to update Ofbiz to recent revision is for the moment (time 
> limits) not possible.. there are so many differences... I am even not 
> sure if bsh could work further instead of the newly groovy ?! also 
> the entity layer handling.. etc
> 
> So what I tried was to back port the transaction management - latest 
> attempt is attached 
   
>> 
>> 
>>  
> 



Re: Any chance for an upgrade? - help please

2010-01-28 Thread Florin Popa

Thanks everyone for the help!

Today we succeeded port to geronimo transaction 2.1 as well as the 
switch from minerva to DBCP connection pool. It seems much better but I 
am not fully content :)
Maybe because the automated testing tool I am using can not really hit 
hard enough..


Any recommendation for such tools?


Of course upgrade to latest version was scheduled too but this would 
take longer..


Best regards,
Florin

You're using a quite old version of OFBiz with the Minerva connection pool (I 
can tell from the stack trace you sent earlier). The Minerva connection pool 
has some issues with resetting connections when there are errors, especially if 
there is any code that doesn't manage errors well, but also if there are 
network layer issues or other sorts of things... it just doesn't recover at all.

You could try making changes to use the Apache DBCP connection pool that we use 
now in OFBiz. To do so requires some low-level coding. You can look at the 
current code base for hints, but there is still some work.

There are no known workarounds to this issue for really high volume sites, and 
for low-medium volume sites the workaround was to restart the app server(s) 
every day.

-David


On Jan 27, 2010, at 3:01 PM, Florin Popa wrote:

  

I was just asking myself if someone encountered before such problems on older 
revisions..

Would be Geronimo ok to be used or shall I try something else?

regards,
Florin


I'm sorry the potential for problems with this approach is just too large for 
me to be able to help you through it.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 27/01/2010, at 1:53 PM, Florin Popa wrote:

 
  

The attempt to update Ofbiz to recent revision is for the moment (time limits) 
not possible.. there are so many differences... I am even not sure if bsh could 
work further instead of the newly groovy ?! also the entity layer 
handling.. etc

So what I tried was to back port the transaction management - latest attempt is attached 

 
  



  




Anyone know of OFBiz ERP in software/consulting companies?

2010-01-28 Thread Ruth Hoffman
Does anyone on the list know of an OFBiz ERP implementation in software 
product and/or IT consulting companies?

TIA
Ruth


Re: Multiple selection of configurable Items

2010-01-28 Thread Ruth Hoffman

One option: read the book.

Find me on the web at http://www.myofbiz.com or Google keyword "myofbiz"
ruth.hoff...@myofbiz.com

kranti wrote:

Hi,

I am creating an application for a fast food restaurant, and I have a
requirement where I can select 3 out of 5 available options.

Taking the example of PIZZA product in OfBiz codebase, I have the options of
tomato, chilly sauces, and it allows the customer to select any one of the
available options. I would like to extend it in a way where i add one more
sauce such as garlic sauce and then give the customer to select any 2 out of
3. What are my options?

I am new to OfBiz and digging the code, but would really appreciate if
someone has a hint on how to do that. 


Thanks
Kranti
  


Re: Product Variants

2010-01-28 Thread Vivek Mishra

Hi Prabhakaran,

Let me explain you this concept with an example. Say we have a product 
shirt. Shirt is nothing unless you have its features like color, size etc.
Now you have different size and different color of a shirt so this is 
called variants of that particular shirt.


In such scenario shirt itself will be a virtual product and its variants 
products can only be sold by your site. Refer DemoProduct.xml file and see

how data setup has been done for virtual and their variant products.

HTH
Thanks!
-- Vivek Mishra

Prabhakaran Duraisamy wrote:

Hi,
 Is there this any Document for Product--->Since I want to know about
Product Variant
How it is used in Product, Pls Give Me a Suggestion

Thanks in Advance

  


Multiple selection of configurable Items

2010-01-28 Thread kranti

Hi,

I am creating an application for a fast food restaurant, and I have a
requirement where I can select 3 out of 5 available options.

Taking the example of PIZZA product in OfBiz codebase, I have the options of
tomato, chilly sauces, and it allows the customer to select any one of the
available options. I would like to extend it in a way where i add one more
sauce such as garlic sauce and then give the customer to select any 2 out of
3. What are my options?

I am new to OfBiz and digging the code, but would really appreciate if
someone has a hint on how to do that. 

Thanks
Kranti
-- 
View this message in context: 
http://n4.nabble.com/Multiple-selection-of-configurable-Items-tp1377002p1377002.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


outdated document? references non-existant "merchandiser" role

2010-01-28 Thread Patrick
This excerpt:  "For instance one user might have a Permission to view
and modify all Product data where another user only has permission to
view and modify the Product data if the user is associated as a
Merchandiser with a category that the product is in."   From this
document: 
http://cwiki.apache.org/confluence/display/OFBADMIN/Apache+OFBiz+Project+Overview

References the role of "Merchandiser" which does not exist as a role
in the party manager component.  Does that mean that the document is
outdated?


Re: Product Variants

2010-01-28 Thread Cimballi
Products and variants can be used for example when you have products
like Movie "It's a beautiful life", and then a variant Movie "It's a
beautiful life" on DVD.
You can also look in the demo data, there are Gizmo examples.

Cimballi


On Thu, Jan 28, 2010 at 9:26 AM, Prabhakaran Duraisamy
 wrote:
> Hi,
>  Is there this any Document for Product--->Since I want to know about
> Product Variant
> How it is used in Product, Pls Give Me a Suggestion
>
> Thanks in Advance
>


Product Variants

2010-01-28 Thread Prabhakaran Duraisamy
Hi,
 Is there this any Document for Product--->Since I want to know about
Product Variant
How it is used in Product, Pls Give Me a Suggestion

Thanks in Advance


html div problem in ecommerce component of ofbiz release 09.04

2010-01-28 Thread Info Olagos
Hello,

If you look to the page i am busy to create in my ecommerce component of
ofbiz release 09.04

http://www.olagos.eu/ecommerce/control/category/~category_id=180002

it seems ok in Internet Explorer 7.
But in FireFox or Internet Explorer 8, it is a mess of images.

Has anyone a solution without using tables in html?



thanks,
Heidi


Re: Error on Shipping Estimate deletion

2010-01-28 Thread Jacopo Cappellato
Hi Abdullah,

On Jan 28, 2010, at 9:03 AM, Abdullah Shaikh wrote:

> After looking into ShipmentServices.java's removeShipmentEstimate method
> which actually deletes the Shipping Estimate, it also try to delete the
> related entity records from WeightQuantityBreak, QuantityQuantityBreak &
> PriceQuantityBreak.
> 
> The Shipping Estimate which I configured for eCommerce was using the Weight
> Break Id  "0 - 0 [RentalStore]" which is also being used by Open Travel
> system store and that's why it couldn't delete because of foreign key
> constraint.
> 
> Should the removeShipmentEstimate also delete the related entries from
> QuantityBreak tables ?
> 

No, in my opinion it shouldn't delete the QuantityBreak records.
However the code seems to be written in order to only *attempt* to delete the 
records:

try {
if (estimate.get("weightBreakId") != null) {
delegator.removeRelated("WeightQuantityBreak", estimate);
}
} catch (GenericEntityException e) {
Debug.logInfo("Not removing WeightQuantityBreak records related to 
ShipmentCostEstimate [" + shipmentCostEstimateId + "] because they are used by 
other entities.", module);
}
return ServiceUtil.returnSuccess();

but this doesn't seem to work as expected: my guess is that when the error is 
thrown the transaction is rolled back.
The quick solution is to comment the above code but it would be nice to verify 
if there is a better way to avoid the rollback (I am forwarding this mail to 
the dev list).

Kind regards,

Jacopo


> - Abdullah
> 
> On Thu, Jan 28, 2010 at 1:12 PM, Abdullah Shaikh <
> abdullah.shaik...@gmail.com> wrote:
> 
>> I created a Shipping Estimate and then I clicked on Remove button to delete
>> the shipping estimate, but I got the below error.
>> 
>> It looks it is also trying to delete the record from QuantityBreak table,
>> which it shouldn't.
>> 
>> 
>> The Following Errors Occurred:
>> 
>> Error calling event: org.ofbiz.webapp.event.EventHandlerException: Service
>> invocation error (Could not commit transaction for service
>> [removeShipmentEstimate] call: Roll back error, could not commit
>> transaction, was rolled back instead because of: Failure in
>> removeByCondition operation for entity [QuantityBreak]:
>> org.ofbiz.entity.GenericDataSourceException: Generic Entity Exception
>> occured in deleteByCondition (SQL Exception while executing the
>> following:DELETE FROM public.QUANTITY_BREAK WHERE (QUANTITY_BREAK_ID =
>> 'RentalStore') (ERROR: update or delete on table "quantity_break" violates
>> foreign key constraint "shpmnt_ce_wht_qb" on table
>> "shipment_cost_estimate" Detail: Key (quantity_break_id)=(RentalStore)
>> is still referenced from table "shipment_cost_estimate".)). Rolling back
>> transaction.org.ofbiz.entity.GenericDataSourceException: Generic Entity
>> Exception occured in deleteByCondition (SQL Exception while executing the
>> following:DELETE FROM public.QUANTITY_BREAK WHERE (QUANTITY_BREAK_ID =
>> 'RentalStore') (ERROR: update or delete on table "quantity_break" violates
>> foreign key constraint "shpmnt_ce_wht_qb" on table
>> "shipment_cost_estimate" Detail: Key (quantity_break_id)=(RentalStore)
>> is still referenced from table "shipment_cost_estimate".)) (Generic Entity
>> Exception occured in deleteByCondition (SQL Exception while executing the
>> following:DELETE FROM public.QUANTITY_BREAK WHERE (QUANTITY_BREAK_ID =
>> 'RentalStore') (ERROR: update or delete on table "quantity_break" violates
>> foreign key constraint "shpmnt_ce_wht_qb" on table
>> "shipment_cost_estimate" Detail: Key (quantity_break_id)=(RentalStore)
>> is still referenced from table "shipment_cost_estimate".
>> 
>> - Abdullah
>> 



Re: Who is using OFBIZ in South Africa

2010-01-28 Thread Hans Bakker
If you search this mailing list on ".za" you will have your answeri
count 6 people

On Thu, 2010-01-28 at 10:30 +0200, Louis Engelbrecht wrote:
> Hi everyone. 
>  
> I am trying to get a list of OFBIZ users in South Africa. Is there anyone on 
> this list from South Africa 
> or know of other companies in South Africa using OFBIZ? 
>  
> Regards. 
>  
> 
> Louis Engelbrecht 
> 
> 
-- 
Antwebsystems.com: Quality OFBiz services for competitive rates



Who is using OFBIZ in South Africa

2010-01-28 Thread Louis Engelbrecht
Hi everyone. 
 
I am trying to get a list of OFBIZ users in South Africa. Is there anyone on 
this list from South Africa 
or know of other companies in South Africa using OFBIZ? 
 
Regards. 
 
 
Louis Engelbrecht 


-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.



Re: Error on Shipping Estimate deletion

2010-01-28 Thread Abdullah Shaikh
After looking into ShipmentServices.java's removeShipmentEstimate method
which actually deletes the Shipping Estimate, it also try to delete the
related entity records from WeightQuantityBreak, QuantityQuantityBreak &
PriceQuantityBreak.

The Shipping Estimate which I configured for eCommerce was using the Weight
Break Id  "0 - 0 [RentalStore]" which is also being used by Open Travel
system store and that's why it couldn't delete because of foreign key
constraint.

Should the removeShipmentEstimate also delete the related entries from
QuantityBreak tables ?

- Abdullah

On Thu, Jan 28, 2010 at 1:12 PM, Abdullah Shaikh <
abdullah.shaik...@gmail.com> wrote:

> I created a Shipping Estimate and then I clicked on Remove button to delete
> the shipping estimate, but I got the below error.
>
> It looks it is also trying to delete the record from QuantityBreak table,
> which it shouldn't.
>
>
> The Following Errors Occurred:
>
> Error calling event: org.ofbiz.webapp.event.EventHandlerException: Service
> invocation error (Could not commit transaction for service
> [removeShipmentEstimate] call: Roll back error, could not commit
> transaction, was rolled back instead because of: Failure in
> removeByCondition operation for entity [QuantityBreak]:
> org.ofbiz.entity.GenericDataSourceException: Generic Entity Exception
> occured in deleteByCondition (SQL Exception while executing the
> following:DELETE FROM public.QUANTITY_BREAK WHERE (QUANTITY_BREAK_ID =
> 'RentalStore') (ERROR: update or delete on table "quantity_break" violates
> foreign key constraint "shpmnt_ce_wht_qb" on table
> "shipment_cost_estimate" Detail: Key (quantity_break_id)=(RentalStore)
> is still referenced from table "shipment_cost_estimate".)). Rolling back
> transaction.org.ofbiz.entity.GenericDataSourceException: Generic Entity
> Exception occured in deleteByCondition (SQL Exception while executing the
> following:DELETE FROM public.QUANTITY_BREAK WHERE (QUANTITY_BREAK_ID =
> 'RentalStore') (ERROR: update or delete on table "quantity_break" violates
> foreign key constraint "shpmnt_ce_wht_qb" on table
> "shipment_cost_estimate" Detail: Key (quantity_break_id)=(RentalStore)
> is still referenced from table "shipment_cost_estimate".)) (Generic Entity
> Exception occured in deleteByCondition (SQL Exception while executing the
> following:DELETE FROM public.QUANTITY_BREAK WHERE (QUANTITY_BREAK_ID =
> 'RentalStore') (ERROR: update or delete on table "quantity_break" violates
> foreign key constraint "shpmnt_ce_wht_qb" on table
> "shipment_cost_estimate" Detail: Key (quantity_break_id)=(RentalStore)
> is still referenced from table "shipment_cost_estimate".
>
> - Abdullah
>