Error message while adding to cart from ecommerce's promotion detail page

2010-08-10 Thread rrhati2010

Hi,

I get a error that "ERROR: No promotion found with ID [] " when I click on
"add to cart" on the promotional items from the promotiondetail page. Please
have alook at the screen shots.
http://ofbiz.135035.n4.nabble.com/file/n2320794/Promotiondetailpage.jpg 
http://ofbiz.135035.n4.nabble.com/file/n2320794/erroronaddingtocart.jpg 

-
RRH
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Error-message-while-adding-to-cart-from-ecommerce-s-promotion-detail-page-tp2320794p2320794.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: how to fetch records from two entities

2010-08-10 Thread Ravindra Mandre
Hi,
You can also do this in xml using entity condition , and get related tags .


Ravi


Re: About ProductFeatureCategoryAppl and ProductFeatureCatGrpAppl

2010-08-10 Thread Scott Gray
Hi Miles,

I don't use it often but I believe the associations are currently pretty much 
only used by the product search functionality.  If you choose to search within 
a given category and that category has features associated with it then they 
will be displayed as selectable filtering options on the search form.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 11/08/2010, at 6:51 AM, huang.mi...@gmail.com wrote:

> Hi BJ,
> 
>  Thank for your quick reply.
> 
>  I understand that in OFBIZ we can use an "Appl" table to implement the
> n:m relationship technically.
> 
>  What I don't understand is the business level design of these two
> relations: What's the purpose to associate a product feature category or
> group to a product category? I haven't find anywhere can use these
> relationships.
> 
> Thanks,
> Miles
> 
> 
> On Tue, 2010-08-10 at 11:10 -0700, BJ Freeman wrote:
> 
>> *Appl is usually to have many to many relationships
>> 
>> 
>> miles sent the following on 8/10/2010 11:01 AM:
>>> 
>>> Hi,
>>>   I'm relative new to OFBIZ and has worked on it for several months. I've
>>> understand the product feature applying to product to setup virtual/variant
>>> products.
>>> 
>>>   But what's the purpose of ProductFeatureCategoryAppl and
>>> ProductFeatureCatGrpAppl design? I can associate a product feature category
>>> or product feature group to product categories. But I can't find any effect
>>> on doing this, either in documentation or by hand-on experiment. I may
>>> missed something. Can any one explain the purpose of such operations?
>>> 
>>> Thanks,
>>> Miles.
> 
> 



smime.p7s
Description: S/MIME cryptographic signature


Re: About ProductFeatureCategoryAppl and ProductFeatureCatGrpAppl

2010-08-10 Thread BJ Freeman
it has been awhile and I am really tied up, so I would have to do what I 
am going to explain to you.

the artifact, in webtools, is a good to see what interacts with an entity.
from that you can deduce the use.
also a code search for the entity for what the artifact may miss, since 
Scott says the artifact does not cover everything.



huang.mi...@gmail.com sent the following on 8/10/2010 11:51 AM:

Hi BJ,

   Thank for your quick reply.

   I understand that in OFBIZ we can use an "Appl" table to implement the
n:m relationship technically.

   What I don't understand is the business level design of these two
relations: What's the purpose to associate a product feature category or
group to a product category? I haven't find anywhere can use these
relationships.

Thanks,
Miles


On Tue, 2010-08-10 at 11:10 -0700, BJ Freeman wrote:


*Appl is usually to have many to many relationships


miles sent the following on 8/10/2010 11:01 AM:


Hi,
I'm relative new to OFBIZ and has worked on it for several months. I've
understand the product feature applying to product to setup virtual/variant
products.

But what's the purpose of ProductFeatureCategoryAppl and
ProductFeatureCatGrpAppl design? I can associate a product feature category
or product feature group to product categories. But I can't find any effect
on doing this, either in documentation or by hand-on experiment. I may
missed something. Can any one explain the purpose of such operations?

Thanks,
Miles.






Re: Purchase Order emails

2010-08-10 Thread BJ Freeman
in general, the business logic for purchase orders is different from 
sales orders.
the default way ofbiz is setup purchase orders are based on stock 
levels. There is a flag for drop ship that changes this but only created 
the PO not emails itself.
also you want this to happen only after an sales order is approved, not 
when it is created.
to create a email for PO just follow the data for sales order emails in 
the demo data.
then you can put in an SECA to trigger on the service that create the 
purchase order.


Rene Scheibe sent the following on 8/10/2010 3:39 PM:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Is there any cause why only sales order emails but no purchase order
emails are sent during the checkout process? Or do I miss specific
database entries for the suppliers?

The functionality is already there (can be triggered manually) as a
"Send a confirmation email" button exists in the orderview page for both
sales and purchase orders.

Regards,
René
- --
René Scheibe * rene.sche...@tngtech.com * +49-176-62192936
TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring
Geschäftsführer: Henrik Klagges, Gerhard Müller, Christoph Stock
Sitz: Unterföhring * Amtsgericht München * HRB 135082
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxh1QQACgkQUXs9EHvIuCpe0gCbBzHeBzruDUoOTBMlMByYtytn
XjEAnA2JL7SRFQkiEX7GHSCW3m6gpBsq
=/PZT
-END PGP SIGNATURE-



Purchase Order emails

2010-08-10 Thread Rene Scheibe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Is there any cause why only sales order emails but no purchase order
emails are sent during the checkout process? Or do I miss specific
database entries for the suppliers?

The functionality is already there (can be triggered manually) as a
"Send a confirmation email" button exists in the orderview page for both
sales and purchase orders.

Regards,
René
- -- 
René Scheibe * rene.sche...@tngtech.com * +49-176-62192936
TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring
Geschäftsführer: Henrik Klagges, Gerhard Müller, Christoph Stock
Sitz: Unterföhring * Amtsgericht München * HRB 135082
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxh1QQACgkQUXs9EHvIuCpe0gCbBzHeBzruDUoOTBMlMByYtytn
XjEAnA2JL7SRFQkiEX7GHSCW3m6gpBsq
=/PZT
-END PGP SIGNATURE-


Re: Stable was very slow

2010-08-10 Thread Jacques Le Roux

Yes, I thought about that, but as it was more than 250MB I gave up

Jacques

From: "BJ Freeman" 
if you could do a quick rename of the log files then maybe someone will 
be able to take time and looks, in the future.


Jacques Le Roux sent the following on 8/10/2010 9:58 AM:

I just decided to kill and reload the stable demo.
Not sure why (not enough time to check) but it was running amock (eated
as much as possible CPU)

Jacques








Re: OFBiz RMI + Authentication?

2010-08-10 Thread Shi Jinghai
You can get a sample OFBiz RMI client from here:
http://langhua.org/portal/portal/default/OFBiz/OFBizRmiModulePortletWindow?windowstate=maximized

There's a war you can install it in tomcat. And then you can modify/add
jsps to add/remove the session info. You shouldn't expect a session to
be a parameter transfered between RMI server and client.

Regards,

Shi Jinghai/Beijing Langhua Ltd.


在 2010-08-09一的 15:00 -0400,Olivier Tremblay写道:
> Hi all,
> 
> I've searched a little over the internet, and have found only a partial 
> answer to my question. I know OFBiz is accessible through RMI and SOAP (well 
> at least, if the document I'm reading is not too outdated).
> 
> I checked the code, and I haven't found how or where I should set up the 
> session information.
> 
> It's fairly important (mostly to me), I'm trying to see if I can't put 
> together a little app to fetch info from and to OFBiz from an external app.
> 
> Any help would be vastly appreciated.
> 
> Thank you,
> 
> Olivier



Re: About ProductFeatureCategoryAppl and ProductFeatureCatGrpAppl

2010-08-10 Thread huang.mi...@gmail.com
Hi BJ,

  Thank for your quick reply.

  I understand that in OFBIZ we can use an "Appl" table to implement the
n:m relationship technically.

  What I don't understand is the business level design of these two
relations: What's the purpose to associate a product feature category or
group to a product category? I haven't find anywhere can use these
relationships.

Thanks,
Miles


On Tue, 2010-08-10 at 11:10 -0700, BJ Freeman wrote:

> *Appl is usually to have many to many relationships
> 
> 
> miles sent the following on 8/10/2010 11:01 AM:
> >
> > Hi,
> >I'm relative new to OFBIZ and has worked on it for several months. I've
> > understand the product feature applying to product to setup virtual/variant
> > products.
> >
> >But what's the purpose of ProductFeatureCategoryAppl and
> > ProductFeatureCatGrpAppl design? I can associate a product feature category
> > or product feature group to product categories. But I can't find any effect
> > on doing this, either in documentation or by hand-on experiment. I may
> > missed something. Can any one explain the purpose of such operations?
> >
> > Thanks,
> > Miles.




Re: how to fetch records from two entities

2010-08-10 Thread Patrick
You could create a static function in Java and call it from the FTL file.

This is an example of a static call from an FTL file
<#assign defaultGogleMapKey =
Static["org.ofbiz.base.util.UtilProperties"].getPropertyValue("general.properties",
defaultUrl)>

You could also do it in Groovy

The code is like this

GenericDelegator delegator = GenericDelegator.getGenericDelegator("default")

List result = delegator.findByAnd("Product",
UtilMisc.toMap("productId", "1"));
for(int i =0; i < result.size(); i++)
{
GenericValue product = (GenericValue)(result.get(i));
String imageurl = product.getString("imageurl");
}

Groovy is a good way to do it.

On Tue, Aug 10, 2010 at 1:33 AM, hdv  wrote:
>
> hi
>
> I want to fetch records such as productId, imageurl etcfrom product entity
> using some condition and now i want to fetch price for those productids
> which i got from product entity.so how can i do that??
> shud i do coding in groovy or in xml file?which one is better?
> --
> View this message in context: 
> http://ofbiz.135035.n4.nabble.com/how-to-fetch-records-from-two-entities-tp2319358p2319358.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: how to fetch records from two entities

2010-08-10 Thread S K Pradeep Kumar
Hi,
What ever ur doing either groovy or xml. create one view entity so u can
access them very easily.

With regards,
S K Pradeep kumar,
9980609494


On Tue, Aug 10, 2010 at 12:03 PM, hdv  wrote:

>
> hi
>
> I want to fetch records such as productId, imageurl etcfrom product entity
> using some condition and now i want to fetch price for those productids
> which i got from product entity.so how can i do that??
> shud i do coding in groovy or in xml file?which one is better?
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/how-to-fetch-records-from-two-entities-tp2319358p2319358.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: About ProductFeatureCategoryAppl and ProductFeatureCatGrpAppl

2010-08-10 Thread BJ Freeman

*Appl is usually to have many to many relationships


miles sent the following on 8/10/2010 11:01 AM:


Hi,
   I'm relative new to OFBIZ and has worked on it for several months. I've
understand the product feature applying to product to setup virtual/variant
products.

   But what's the purpose of ProductFeatureCategoryAppl and
ProductFeatureCatGrpAppl design? I can associate a product feature category
or product feature group to product categories. But I can't find any effect
on doing this, either in documentation or by hand-on experiment. I may
missed something. Can any one explain the purpose of such operations?

Thanks,
Miles.


About ProductFeatureCategoryAppl and ProductFeatureCatGrpAppl

2010-08-10 Thread miles

Hi,
  I'm relative new to OFBIZ and has worked on it for several months. I've
understand the product feature applying to product to setup virtual/variant
products.

  But what's the purpose of ProductFeatureCategoryAppl and
ProductFeatureCatGrpAppl design? I can associate a product feature category
or product feature group to product categories. But I can't find any effect
on doing this, either in documentation or by hand-on experiment. I may
missed something. Can any one explain the purpose of such operations?

Thanks,
Miles.
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/About-ProductFeatureCategoryAppl-and-ProductFeatureCatGrpAppl-tp2320190p2320190.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Stable was very slow

2010-08-10 Thread BJ Freeman
if you could do a quick rename of the log files then maybe someone will 
be able to take time and looks, in the future.


Jacques Le Roux sent the following on 8/10/2010 9:58 AM:

I just decided to kill and reload the stable demo.
Not sure why (not enough time to check) but it was running amock (eated
as much as possible CPU)

Jacques




Re: Building a New Website Using "ecommerce"

2010-08-10 Thread BJ Freeman

Patrick you will find that services can be both java or simple.
but why program when just a few lines for an EECA or SECA works.
there already CRUD services for the entities



Patrick sent the following on 8/10/2010 10:16 AM:

Why don't you debug into the code?   Personally I don't like
programming with the xml, I think you'd be better off programming a
Java service.

On Tue, Aug 10, 2010 at 11:52 AM, OfBizSuds  wrote:


Thanks Bj, But what's a Seca - is it an event? do you know where the code for
create partyrelationship is? Is there a common method for  doing that?
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Building-a-New-Website-Using-ecommerce-tp2307761p2320099.html
Sent from the OFBiz - User mailing list archive at Nabble.com.





Re: Building a New Website Using "ecommerce"

2010-08-10 Thread BJ Freeman

https://cwiki.apache.org/confluence/display/OFBTECH/Service+Engine+Guide#ServiceEngineGuide-ecas

webtools is your friend
I go to the service list then use the browser find (CTRL F) and type in 
the service.

then
https://demo-trunk.ofbiz.apache.org/webtools/control/ServiceList?sel_service_name=createPartyRelationship


OfBizSuds sent the following on 8/10/2010 9:52 AM:


Thanks Bj, But what's a Seca - is it an event? do you know where the code for
create partyrelationship is? Is there a common method for  doing that?


Re: Building a New Website Using "ecommerce"

2010-08-10 Thread Patrick
Why don't you debug into the code?   Personally I don't like
programming with the xml, I think you'd be better off programming a
Java service.

On Tue, Aug 10, 2010 at 11:52 AM, OfBizSuds  wrote:
>
> Thanks Bj, But what's a Seca - is it an event? do you know where the code for
> create partyrelationship is? Is there a common method for  doing that?
> --
> View this message in context: 
> http://ofbiz.135035.n4.nabble.com/Building-a-New-Website-Using-ecommerce-tp2307761p2320099.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: Building a New Website Using "ecommerce"

2010-08-10 Thread OfBizSuds

Thanks Bj, But what's a Seca - is it an event? do you know where the code for
create partyrelationship is? Is there a common method for  doing that?
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Building-a-New-Website-Using-ecommerce-tp2307761p2320099.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Stable was very slow

2010-08-10 Thread Jacques Le Roux

I just decided to kill and reload the stable demo.
Not sure why (not enough time to check) but it was running amock (eated as much 
as possible CPU)

Jacques



Re: Building a New Website Using "ecommerce"

2010-08-10 Thread BJ Freeman
if your using partyrelationship then you show a relationship between to 
parties.
so you have to have a page that either list all restaurants (Parties) 
they can select or let them add a party for a restaurants.
you can use an SECA that triggers on createcustomer that then calls 
create partyrelationsips




OfBizSuds sent the following on 8/10/2010 5:26 AM:


Thank you BJ&  Raj,

Showing the list of restaurants on NewCustomer.ftl finally started to work.
whew!

Unable to figure out how to programatically save PartyRelationship for
CUSTOMER to FAVORITE_RESTAURANT.

I think I need to do this in CustomerEvents.xml but its calling methods all
over the place&  I just can't get the code which I can call for saving
PartyRelationship.

Any pointers will be great.

Thanks!




Re: Building a New Website Using "ecommerce"

2010-08-10 Thread OfBizSuds

Thank you BJ & Raj,

Showing the list of restaurants on NewCustomer.ftl finally started to work.
whew!

Unable to figure out how to programatically save PartyRelationship for
CUSTOMER to FAVORITE_RESTAURANT.

I think I need to do this in CustomerEvents.xml but its calling methods all
over the place & I just can't get the code which I can call for saving
PartyRelationship.

Any pointers will be great.

Thanks!


-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Building-a-New-Website-Using-ecommerce-tp2307761p2319712.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


how to fetch records from two entities

2010-08-10 Thread hdv

hi

I want to fetch records such as productId, imageurl etcfrom product entity
using some condition and now i want to fetch price for those productids
which i got from product entity.so how can i do that??
shud i do coding in groovy or in xml file?which one is better?
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/how-to-fetch-records-from-two-entities-tp2319358p2319358.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Removing currency code letters in Ecommerce

2010-08-10 Thread Scott Gray
Hi Brent,

As a fellow Kiwi I feel obliged to assist :-)

The currency formatter is actually quite smart and will display the currency 
letters when the supplied locale is differs from what it expects for the 
currency's isoCode.
Some examples:
locale: en_US, isoCode=NZD results in NZ$34.50  (Assumes you're an American 
looking at a New Zealand price)
locale: en_NZ, isoCode=NZD results in $34.50  (Assumes you're a New Zealander 
looking at a local price)
likewise if we turn the tables:
locale: en_NZ, isoCode=USD results in US$34.50
locale: en_US, isoCode=USD results in $34.50

so all you need to do is set the default OFBiz locale to en_NZ.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 10/08/2010, at 9:09 AM, Brent Dykgraaf wrote:

> Hello
> 
> I am working on an ecommerce customisation an wonder if there is an option
> to remove currency letters which show before the price generated by the
> <@ofbizCurrency /> tags?
> 
> The store shows prices as NZ$34.50, I am trying to get them to show $34.50.
> Customers will only be from one country so there is no need for mulit
> currency at this stage.
> 
> Regards
> Brent Dykgraaf



smime.p7s
Description: S/MIME cryptographic signature


Re: authorize.net configuration

2010-08-10 Thread Anurag Walia

Thanks Pradeep

I will try this and soon get back to you.

 
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/authorize-net-configuration-tp2319337p2319515.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: multiple columns in single form

2010-08-10 Thread Michael Xu (xudong)
My colleague has figured out how to achieve it. Basically there is a
"position" attribute for form field. If we set position = 2, then there will
be a new column.

Ofbiz rocks!

--
Regards,
Michael Xu (xudong)



On Tue, Aug 10, 2010 at 4:27 PM, Michael Xu (xudong)
wrote:

> hi all,
>
> I really enjoy ofbiz form widget. But now I have a problem when handing
> form widget which is how to show many fields in a form as single type. By
> default, all fields are shown in a single column, which is not that friendly
> if fields are too many. So I wonder whether there is an elegant way to add
> (or use if existed) a new style for single form to allow form to show fields
> in two or even more columns.
>
> (I know we can use FTL, but we really want to stick to form)
>
> Really appreciate for any advice.
>
> --
> Regards,
> Michael Xu (xudong)
>
>


multiple columns in single form

2010-08-10 Thread Michael Xu (xudong)
hi all,

I really enjoy ofbiz form widget. But now I have a problem when handing form
widget which is how to show many fields in a form as single type. By
default, all fields are shown in a single column, which is not that friendly
if fields are too many. So I wonder whether there is an elegant way to add
(or use if existed) a new style for single form to allow form to show fields
in two or even more columns.

(I know we can use FTL, but we really want to stick to form)

Really appreciate for any advice.

--
Regards,
Michael Xu (xudong)