Re: Problem in groovy
http://ofbiz.apache.org/docs/entity.html On Wed, Oct 6, 2010 at 12:09 PM, Naveen Kumar wrote: > Hi Sumit, > > Thanks for the information, But i am looking for a documentation, where i > will get all delegator information like delegator.find(), > delegator.findByAnd(),, Please provide me links to some online > documentation. > > Regards, > Naveen. > > > On Wed, Oct 6, 2010 at 12:01 PM, Sumit Pandit wrote: > >> Hi Naveen, >> >> For reference look at InvoiceReport.groovy. >> >> On Wed, Oct 6, 2010 at 11:45 AM, Nicolas Malin >> wrote: >> > Hi Naveen, >> > >> > You need prepare a EntityConditionList to embedeed your three conditions, >> > and pass EntityConditionList to findList function >> > >> > Nicolas >> > >> > Le 06/10/2010 08:11, Naveen Kumar a écrit : >> >> >> >> Hi All, >> >> >> >> I was using delegator.find() in my groovy. >> >> >> >> My problem:- My application requires 3 where clause that is >> >> EntityCondition.makeCondition in the delegator.find(), but it is taking >> >> only >> >> 2 condition when third condition is given it is giving error, can any >> one >> >> suggest me how to do this, and please suggest me some documentation on >> >> this >> >> delegator. >> >> >> >> Regards, >> >> Naveen. >> >> >> >> >> > >> > >> > -- >> > Nicolas MALIN >> > Consultant >> > Tél : 06.17.66.40.06 >> > Site projet : http://www.neogia.org/ >> > --- >> > Société LibrenBerry >> > Tél : 02.48.02.56.12 >> > Site : http://www.librenberry.net/ >> > >> > >> >> >> >> -- >> Thanks and Regards >> Sumit Pandit >> > -- Thanks and Regards Sumit Pandit
RE: Problem in groovy
Hi Naveen, You can see GenericDelegator.java file where all methods are defined. Thanks and Regards Santosh Malviya From: Naveen Kumar [naveen.new...@gmail.com] Sent: Wednesday, October 06, 2010 12:09 PM To: user@ofbiz.apache.org Subject: Re: Problem in groovy Hi Sumit, Thanks for the information, But i am looking for a documentation, where i will get all delegator information like delegator.find(), delegator.findByAnd(),, Please provide me links to some online documentation. Regards, Naveen. On Wed, Oct 6, 2010 at 12:01 PM, Sumit Pandit wrote: > Hi Naveen, > > For reference look at InvoiceReport.groovy. > > On Wed, Oct 6, 2010 at 11:45 AM, Nicolas Malin > wrote: > > Hi Naveen, > > > > You need prepare a EntityConditionList to embedeed your three conditions, > > and pass EntityConditionList to findList function > > > > Nicolas > > > > Le 06/10/2010 08:11, Naveen Kumar a écrit : > >> > >> Hi All, > >> > >> I was using delegator.find() in my groovy. > >> > >> My problem:- My application requires 3 where clause that is > >> EntityCondition.makeCondition in the delegator.find(), but it is taking > >> only > >> 2 condition when third condition is given it is giving error, can any > one > >> suggest me how to do this, and please suggest me some documentation on > >> this > >> delegator. > >> > >> Regards, > >> Naveen. > >> > >> > > > > > > -- > > Nicolas MALIN > > Consultant > > Tél : 06.17.66.40.06 > > Site projet : http://www.neogia.org/ > > --- > > Société LibrenBerry > > Tél : 02.48.02.56.12 > > Site : http://www.librenberry.net/ > > > > > > > > -- > Thanks and Regards > Sumit Pandit > http://www.mindtree.com/email/disclaimer.html
RE: Embed YouTube Video
Thanks -Original Message- From: Sumit Pandit [mailto:meetsumit...@gmail.com] Sent: 06 October 2010 07:57 AM To: user@ofbiz.apache.org Subject: Re: Embed YouTube Video Hi Gavin, ProductAttribute entity could be use to store video link. And to display it on product page please find some way to embed youtube video in html (if you are using ftl file). On Wed, Oct 6, 2010 at 8:15 AM, Gavin Mabie wrote: > Hi Group > > > > I have a requirement to embed a YouTube video in the product detail screen > instead of an image. Has anybody done this before and what is the best way > of doing this? > > > > Thanks > > -- Thanks and Regards Sumit Pandit
Workflow of a partial order
Hi, I'm trying define what's the behavior of OFBiz in the next situation: A client orders a consignment with three items, but when I'm preparing the package, one of this items is run out. Can the client choose between cancel the order or receive it in two consigments? The first with two items and the second witk the last item when it will be available. Thanks
Re: Problem in groovy
Hi Sumit, Thanks for the information, But i am looking for a documentation, where i will get all delegator information like delegator.find(), delegator.findByAnd(),, Please provide me links to some online documentation. Regards, Naveen. On Wed, Oct 6, 2010 at 12:01 PM, Sumit Pandit wrote: > Hi Naveen, > > For reference look at InvoiceReport.groovy. > > On Wed, Oct 6, 2010 at 11:45 AM, Nicolas Malin > wrote: > > Hi Naveen, > > > > You need prepare a EntityConditionList to embedeed your three conditions, > > and pass EntityConditionList to findList function > > > > Nicolas > > > > Le 06/10/2010 08:11, Naveen Kumar a écrit : > >> > >> Hi All, > >> > >> I was using delegator.find() in my groovy. > >> > >> My problem:- My application requires 3 where clause that is > >> EntityCondition.makeCondition in the delegator.find(), but it is taking > >> only > >> 2 condition when third condition is given it is giving error, can any > one > >> suggest me how to do this, and please suggest me some documentation on > >> this > >> delegator. > >> > >> Regards, > >> Naveen. > >> > >> > > > > > > -- > > Nicolas MALIN > > Consultant > > Tél : 06.17.66.40.06 > > Site projet : http://www.neogia.org/ > > --- > > Société LibrenBerry > > Tél : 02.48.02.56.12 > > Site : http://www.librenberry.net/ > > > > > > > > -- > Thanks and Regards > Sumit Pandit >
Re: Problem in groovy
Hi Nicolas, Thank for quick reply, it worked. Regards, Naveen. On Wed, Oct 6, 2010 at 11:45 AM, Nicolas Malin < malin.nico...@librenberry.net> wrote: > Hi Naveen, > > You need prepare a EntityConditionList to embedeed your three conditions, > and pass EntityConditionList to findList function > > Nicolas > > Le 06/10/2010 08:11, Naveen Kumar a écrit : > > Hi All, >> >> I was using delegator.find() in my groovy. >> >> My problem:- My application requires 3 where clause that is >> EntityCondition.makeCondition in the delegator.find(), but it is taking >> only >> 2 condition when third condition is given it is giving error, can any one >> suggest me how to do this, and please suggest me some documentation on >> this >> delegator. >> >> Regards, >> Naveen. >> >> >> > > > -- > Nicolas MALIN > Consultant > Tél : 06.17.66.40.06 > Site projet : http://www.neogia.org/ > --- > Société LibrenBerry > Tél : 02.48.02.56.12 > Site : http://www.librenberry.net/ > >
Re: more than one unit of measue fo the same product: advice requested.
This sounds pretty good i even see some coding on this. Let me do some testing, i will come back with the results. Regards, Hans On Sun, 2010-10-03 at 12:13 -0600, David E Jones wrote: > For boxes of a product you'll usually have one product that represents the > individual items (which may or may not be for sale directly to the customer), > and one that is a product that represents the box and that is associated with > the individual item. In OFBiz there are a few different product types you can > choose from to have the system handle the box in different ways > automatically, or you can use plain old Finished Good to handle the boxes > manually. > > For certain products all you need is the three fields already on the Product > entity: > > quantityUomId > quantityIncluded > piecesIncluded > > For example if you have a six-pack of 12oz soda cans you would have > quantityIncluded=12, quantityUomId=oz, piecesIncluded=6. > > -David > > > On Oct 2, 2010, at 11:02 PM, Hans Bakker wrote: > > > Hi Scott, this is sure an interesting idea, but then how does the system > > know that they are for example 10 pieces in a box? I still what to have > > the same inventory for boxes and pieces. > > We should be able to store the conversion between the uom's for this > > product somewhere? > > > > Thanks for you input! > > > > Regards, > > Hans > > > > On Sun, 2010-10-03 at 17:39 +1300, Scott Gray wrote: > >> Hi Hans, > >> > >> Sorry if this is a silly question, but why not just use different products > >> for different UOMs? You could use virtual/variants if you wanted the UOM > >> to be selectable on a single product page and also marketing packages to > >> automatically produce inventory for the desired UOM from the base UOM. > >> > >> Regards > >> Scott > >> > >> HotWax Media > >> http://www.hotwaxmedia.com > >> > >> On 3/10/2010, at 3:54 PM, Hans Bakker wrote: > >> > >>> Thank you BJ, > >>> > >>> I had in mind to create and 'productUomAlternatives' table to the > >>> product with a conversion for example from pieces to boxes with an > >>> optional price adjustment percentage. > >>> The system will have however only one uom where everything gets > >>> converted to. > >>> > >>> Anybody else other solutions? > >>> > >>> Regards, > >>> Hans. > >>> > >>> > >>> On Sat, 2010-10-02 at 10:21 -0700, BJ Freeman wrote: > Yes also like a Feed store will have boxes, Sacks, and loose feed. > I used the multiple pricing model for the Uom Measure > in the product screen made it allow multiple UOM. > > added to the code that converts from what is received in inventory to > what is sold so it walks through the Uom. for instance a feed store > Receives feed in Bulk and then sacks it as inventory is required. > The Inventory levels have to be checked to see how many in a product > run to generate to sack up the grain. This Triggers an Seca. > > > I think a nice touch would be that the could generates the product data > to show up in orders, based on the Uoms that were generated for the > products. it would follow the same model for inventory levels on the > orderentry and Ecommerce > > > Hans Bakker sent the following on 10/2/2010 4:29 AM: > > A question to the community: > > > > sometimes the same products are sold with different units of measure. > > Example gold jewelry. > > > > Per piece, per box of 10, per box of 50 and per gram gold weight. > > > > Is here a preference how to implement that? > > > > Remember this has to show up in e-commerce, orders, shipments and > > invoices... > > > > Regards, > > Hans > > > > >>> > >>> -- > >>> Ofbiz on twitter: http://twitter.com/apache_ofbiz > >>> Myself on twitter: http://twitter.com/hansbak > >>> Antwebsystems.com: Quality services for competitive rates. > >>> > >> > > > > -- > > Ofbiz on twitter: http://twitter.com/apache_ofbiz > > Myself on twitter: http://twitter.com/hansbak > > Antwebsystems.com: Quality services for competitive rates. > > > -- Ofbiz on twitter: http://twitter.com/apache_ofbiz Myself on twitter: http://twitter.com/hansbak Antwebsystems.com: Quality services for competitive rates.
Re: Problem in groovy
Hi Naveen, For reference look at InvoiceReport.groovy. On Wed, Oct 6, 2010 at 11:45 AM, Nicolas Malin wrote: > Hi Naveen, > > You need prepare a EntityConditionList to embedeed your three conditions, > and pass EntityConditionList to findList function > > Nicolas > > Le 06/10/2010 08:11, Naveen Kumar a écrit : >> >> Hi All, >> >> I was using delegator.find() in my groovy. >> >> My problem:- My application requires 3 where clause that is >> EntityCondition.makeCondition in the delegator.find(), but it is taking >> only >> 2 condition when third condition is given it is giving error, can any one >> suggest me how to do this, and please suggest me some documentation on >> this >> delegator. >> >> Regards, >> Naveen. >> >> > > > -- > Nicolas MALIN > Consultant > Tél : 06.17.66.40.06 > Site projet : http://www.neogia.org/ > --- > Société LibrenBerry > Tél : 02.48.02.56.12 > Site : http://www.librenberry.net/ > > -- Thanks and Regards Sumit Pandit
Re: Problem in groovy
Hi Naveen, You need prepare a EntityConditionList to embedeed your three conditions, and pass EntityConditionList to findList function Nicolas Le 06/10/2010 08:11, Naveen Kumar a écrit : Hi All, I was using delegator.find() in my groovy. My problem:- My application requires 3 where clause that is EntityCondition.makeCondition in the delegator.find(), but it is taking only 2 condition when third condition is given it is giving error, can any one suggest me how to do this, and please suggest me some documentation on this delegator. Regards, Naveen. -- Nicolas MALIN Consultant Tél : 06.17.66.40.06 Site projet : http://www.neogia.org/ --- Société LibrenBerry Tél : 02.48.02.56.12 Site : http://www.librenberry.net/
Problem in groovy
Hi All, I was using delegator.find() in my groovy. My problem:- My application requires 3 where clause that is EntityCondition.makeCondition in the delegator.find(), but it is taking only 2 condition when third condition is given it is giving error, can any one suggest me how to do this, and please suggest me some documentation on this delegator. Regards, Naveen.
Re: Embed YouTube Video
Hi Gavin, ProductAttribute entity could be use to store video link. And to display it on product page please find some way to embed youtube video in html (if you are using ftl file). On Wed, Oct 6, 2010 at 8:15 AM, Gavin Mabie wrote: > Hi Group > > > > I have a requirement to embed a YouTube video in the product detail screen > instead of an image. Has anybody done this before and what is the best way > of doing this? > > > > Thanks > > -- Thanks and Regards Sumit Pandit
Ideas for implementation
Hi all, I'm writing because I'd like to implement what we call in Brazil Nota Fiscal. It's a kind of the American invoice but with a lot more information so the government can use it to control taxation and the transit of goods. I'd like to ask you for some advices for what you believe to be the best practice to implement it. The first problem I think that I'll have to solve is that it will be necessary to add fields to Party, Person, and Product. Is there any way to do it without directly modifying respective entities? If possible I'd like to maintain it as decoupled as possible to be easily adoptable by users, without the need to patch or something alike. My first idea was to copy and change the invoice module. Do you think that's a good start? I appreciate any help and ideas you can give me. Thanks in advance, Luís Maranesi
ofbiz JAR Files
Hello, I am trying to locate Jar files needed to build a library. I am missing the following needed imports for Java: import com.atlassian.core.ofbiz.CoreFactory; import com.atlassian.core.ofbiz.util.EntityUtils; import org.ofbiz.core.entity.EntityUtil import org.ofbiz.core.entity.GenericEntityException import org.ofbiz.core.entity.GenericValue import org.ofbiz.core.util.UtilMisc; Can you assist me on where these jar or zip files can be found so that I can download them for my project? I appreciate any assistance you can give me. Thank you. Marshall Zwick
Re: Order life cycle - misunderstanding
sounds to me what is called dropshipping it is already in ofbiz. biletnikov sent the following on 10/5/2010 6:55 AM: Hello all, I'm developing a service which creates Sales and Purchase orders and I faced some troubles. Let me show the example: Parties: Customer Supplier A company, Supplier B company, Supplier C company - they have warehouses and they are able to ship products to customers WebShop company - helps to customer finds products through million offers. The OFBiz is used by this party. The Customer makes an order with list of order items. Each order item can be related to the different supplier. OFBiz creates the Sales order for all items which is ordered by the Customer, after that WebShop company creates Purchase order for each supplier which are responsible for an item(s), also, the suppliers are responsible for the shipping, so the Purchase order has shipping address of the Customer. As result, the WebShop company does not manage the shipping process. How to complete the Sales and Purchase orders, because we do not have the actions on the order view page for that? For this moment, we can only approve them. Thanks.
Re: Resource bundle error
Hi Gavin, Need to load data because after create-component security data created and need to load that data. -- Brajesh Patel Gavin Mabie wrote: Hi Brajesh I haven't loaded any data after creating the component - the CommonScreens.xml for the component has a base-permission setting MYCOMPONENT view. When I log on to the app I get a message stating that I'm not allowed to see this page. Thanks -Original Message- From: Brajesh Patel [mailto:brajesh.pa...@hotwaxmedia.com] Sent: 05 October 2010 10:08 AM To: user@ofbiz.apache.org Subject: Re: Resource bundle error Hi Gavin, Have you loaded data after creation of the component? Brajesh Patel Gavin Mabie wrote: Hi Sumit I managed to solve that issue - now I have problems logging onto the application. The base-permission in the ofbiz-component.xml file is: "base-permission="OFBTOOLS,MYCOMPONENT" Thanks Gavin -Original Message- From: Sumit Pandit [mailto:meetsumit...@gmail.com] Sent: 05 October 2010 07:59 AM To: user@ofbiz.apache.org Subject: Re: Resource bundle error Hi Gavin, Please make sure you have MyComponentUiLabels.xml file. And it is wright spelled (name is case sensitive). Also if this does not solve your problem, please paste error message at console/terminal and ofbiz/hot-deploy/mycomponent/widget/CommonScreens.xml code. On Tue, Oct 5, 2010 at 10:59 AM, Gavin Mabie wrote: Hi All Can anybody help me solve this one - I used ant create-component to create a new component in hot-deploy but get this error when I launch the application. " Error rendering screen [component://mycomponent/widget/CommonScreens.xml#main-decorator] (Could not find resource bundle [MyComponentUiLabels] in the locale [en_GB])" Thanks Gavin
RE: Resource bundle error
Hi Brajesh I haven't loaded any data after creating the component - the CommonScreens.xml for the component has a base-permission setting MYCOMPONENT view. When I log on to the app I get a message stating that I'm not allowed to see this page. Thanks -Original Message- From: Brajesh Patel [mailto:brajesh.pa...@hotwaxmedia.com] Sent: 05 October 2010 10:08 AM To: user@ofbiz.apache.org Subject: Re: Resource bundle error Hi Gavin, Have you loaded data after creation of the component? Brajesh Patel Gavin Mabie wrote: > Hi Sumit > > I managed to solve that issue - now I have problems logging onto the > application. The base-permission in the ofbiz-component.xml file is: > "base-permission="OFBTOOLS,MYCOMPONENT" > > Thanks > > Gavin > > > -Original Message- > From: Sumit Pandit [mailto:meetsumit...@gmail.com] > Sent: 05 October 2010 07:59 AM > To: user@ofbiz.apache.org > Subject: Re: Resource bundle error > > Hi Gavin, > > Please make sure you have MyComponentUiLabels.xml file. And it is > wright spelled (name is case sensitive). Also if this does not solve > your problem, please paste error message at console/terminal and > ofbiz/hot-deploy/mycomponent/widget/CommonScreens.xml code. > > On Tue, Oct 5, 2010 at 10:59 AM, Gavin Mabie > wrote: > >> Hi All >> >> >> >> Can anybody help me solve this one - I used ant create-component to create a >> new component in hot-deploy but get this error when I launch the >> application. >> >> " >> >> Error rendering screen >> [component://mycomponent/widget/CommonScreens.xml#main-decorator] >> >> >> >> (Could not find resource bundle [MyComponentUiLabels] in the locale >> [en_GB])" >> >> >> >> Thanks >> >> >> >> Gavin >> >> >> > > > >
Re: Resource bundle error
To load data you need to run ant run-install and then to login at application use userlogin/password = admin/ofbiz. Also error message would be helpful to debug. On Tue, Oct 5, 2010 at 1:38 PM, Brajesh Patel wrote: > Hi Gavin, > > Have you loaded data after creation of the component? > > Brajesh Patel > > Gavin Mabie wrote: >> >> Hi Sumit >> >> I managed to solve that issue - now I have problems logging onto the >> application. The base-permission in the ofbiz-component.xml file is: >> "base-permission="OFBTOOLS,MYCOMPONENT" >> Thanks >> >> Gavin >> >> >> -Original Message- >> From: Sumit Pandit [mailto:meetsumit...@gmail.com] Sent: 05 October 2010 >> 07:59 AM >> To: user@ofbiz.apache.org >> Subject: Re: Resource bundle error >> >> Hi Gavin, >> >> Please make sure you have MyComponentUiLabels.xml file. And it is >> wright spelled (name is case sensitive). Also if this does not solve >> your problem, please paste error message at console/terminal and >> ofbiz/hot-deploy/mycomponent/widget/CommonScreens.xml code. >> >> On Tue, Oct 5, 2010 at 10:59 AM, Gavin Mabie >> wrote: >> >>> >>> Hi All >>> >>> >>> >>> Can anybody help me solve this one - I used ant create-component to >>> create a >>> new component in hot-deploy but get this error when I launch the >>> application. >>> >>> " >>> >>> Error rendering screen >>> [component://mycomponent/widget/CommonScreens.xml#main-decorator] >>> >>> >>> >>> (Could not find resource bundle [MyComponentUiLabels] in the locale >>> [en_GB])" >>> >>> >>> >>> Thanks >>> >>> >>> >>> Gavin >>> >>> >>> >> >> >> >> > > -- Thanks and Regards Sumit Pandit
Re: Resource bundle error
Hi Gavin, Have you loaded data after creation of the component? Brajesh Patel Gavin Mabie wrote: Hi Sumit I managed to solve that issue - now I have problems logging onto the application. The base-permission in the ofbiz-component.xml file is: "base-permission="OFBTOOLS,MYCOMPONENT" Thanks Gavin -Original Message- From: Sumit Pandit [mailto:meetsumit...@gmail.com] Sent: 05 October 2010 07:59 AM To: user@ofbiz.apache.org Subject: Re: Resource bundle error Hi Gavin, Please make sure you have MyComponentUiLabels.xml file. And it is wright spelled (name is case sensitive). Also if this does not solve your problem, please paste error message at console/terminal and ofbiz/hot-deploy/mycomponent/widget/CommonScreens.xml code. On Tue, Oct 5, 2010 at 10:59 AM, Gavin Mabie wrote: Hi All Can anybody help me solve this one - I used ant create-component to create a new component in hot-deploy but get this error when I launch the application. " Error rendering screen [component://mycomponent/widget/CommonScreens.xml#main-decorator] (Could not find resource bundle [MyComponentUiLabels] in the locale [en_GB])" Thanks Gavin
Daily journals
Hi all I want to use the accounting daily journals in ofbiz a journal where you enter your daily transactions. Is something like that available in ofbiz. I've found in the Organization accounting setup that we can implement a new journal and is this similar to what I'm talking about? what's the error journal and if I can create a new journal can I use it as my daily journal.by setting something that makes all transactions in everyday and show me the debit and credit amounts? Thanks in advance -- View this message in context: http://ofbiz.135035.n4.nabble.com/Daily-journals-tp2955515p2955515.html Sent from the OFBiz - User mailing list archive at Nabble.com.
RE: Resource bundle error
Hi Sumit I managed to solve that issue - now I have problems logging onto the application. The base-permission in the ofbiz-component.xml file is: "base-permission="OFBTOOLS,MYCOMPONENT" Thanks Gavin -Original Message- From: Sumit Pandit [mailto:meetsumit...@gmail.com] Sent: 05 October 2010 07:59 AM To: user@ofbiz.apache.org Subject: Re: Resource bundle error Hi Gavin, Please make sure you have MyComponentUiLabels.xml file. And it is wright spelled (name is case sensitive). Also if this does not solve your problem, please paste error message at console/terminal and ofbiz/hot-deploy/mycomponent/widget/CommonScreens.xml code. On Tue, Oct 5, 2010 at 10:59 AM, Gavin Mabie wrote: > Hi All > > > > Can anybody help me solve this one - I used ant create-component to create a > new component in hot-deploy but get this error when I launch the > application. > > " > > Error rendering screen > [component://mycomponent/widget/CommonScreens.xml#main-decorator] > > > > (Could not find resource bundle [MyComponentUiLabels] in the locale > [en_GB])" > > > > Thanks > > > > Gavin > > -- Thanks and Regards Sumit Pandit