Odoo Vs Apache OFBiz

2017-12-20 Thread Divesh Dutta
Hello User community,


Anyone in the community has first-hand information on differences between
Odoo and Apache OFBiz.


Please share your experiences and differences you have observed in both the
product.


Thanks
--
Divesh Dutta


Re: Introduction to Load Balancing an OFBiz Cluster

2017-09-08 Thread Divesh Dutta
Looks good Sandeep. Thanks for your contribution.


Thanks
--
Divesh Dutta.

On Thu, Aug 31, 2017 at 6:08 PM, Sandeep Kose <
sandeep.k...@hotwaxsystems.com> wrote:

> Hello All,
>
> I added a new technical document to OFBiz wiki
> <https://cwiki.apache.org/confluence/x/hZhjB>, which explains the setup of
> a Cluster (Load Balancer and High Availability) with HaProxy and two OFBiz
> instances.
>
> Please review it and provide your feedback.
>
>
> Best regards,
>
> Sandeep Kose
> www.hotwaxsystems.com
>


Re: Integrate Ofbiz into Frontend-App

2017-07-08 Thread Divesh Dutta
Hi Mandeep,

Thanks for replying. Is this something you already did or it's a basic idea
which can be done?

Thanks
--
Divesh Dutta

On Mon, Jul 3, 2017 at 1:12 PM, Mandeep Sidhu <mandeep1985s...@gmail.com>
wrote:

> Wrap around the core services by integrating something like RESTEasy as a
> separate hot-deploy component, use swagger with codegen to generate stubs
> using api specs file swagger.json.
>
> ~
> Mandeep
>
> On Jul 3, 2017 12:08 AM, "Thomas Deniffel" <tdenif...@gmail.com> wrote:
>
> > Hello,
> >
> > we have an existing frontend. Now I was asked to integrate OFBiz-Services
> > into this Frontend. The front end is entirely written in JavaScript (on
> > Angular Basis), so REST would be the easiest solution. Is there any way
> to
> > export (all) Services as REST - may be a wrapper or something like this.
> > What would you do in this situation? The only thing, the customer does
> not
> > want is HTML-Transfers.
> >
> > Best and thank you
> >
> > Thomas
> >
>


Re: Multiple Subsidiaries in OfBiz

2017-01-24 Thread Divesh Dutta
I will say OFBiz handles most of this out of the box.

Thanks
--
Divesh

On Tue, Jan 24, 2017 at 4:28 AM,  wrote:

> Hi all I am new to this group so hopefully I am posting in the correct
> areas.  We would like to set up OfBiz with Multiple Companies that all
> roll up into a Parent Company.  We are looking for the following:
>
> Separate Vendors (CRM tied to a separate company)
> Separate Customers (CRM tied to a seperate company
> Sales Associates can be tied to multiple companies
> Each company can fulfill from each others warehouse (intercompany
> transaction)
> Should be able to invoice each other
> Warehouses should be tied to a company
> Stores should be tied to a company
> Financials Should be tied to a company
> Purchases Should be tied to a company
> Each company could have separate currency
> Each company could have separate language
>
> We can use external reporting to handle the Intercompany consolidation
>
> My question is does Ofbiz handle this OTB?  If so what are the key areas
> we need to configure for this to handle properly.
>
> Thanks in Advance.
>
> James
> Productive One
>


Re: [DISCUSSION] Anticipate the end of life of the 13.07 branch and backport some non-bug related changes to the 14.12 and 15.12 branches

2016-06-29 Thread Divesh Dutta
I agree with both the proposals. i.e :

1) Anticipate the end of life of the release branch 13.07 at now; we would
not issue the fourth release as initially planned.

2) Once stabilized, backport to 14.12 and 15.12 all the changes required to
build the system and download its dependencies with Gradle.

Thanks
--
Divesh Dutta.

On Wed, Jun 29, 2016 at 2:28 AM, Paul Piper <p...@ilscipio.com> wrote:

> Hi all,
>
> Not releasing 14 wouldn't make sense to me. Skipping releases never looks
> good, as it either means that there hasn't been enough contributions or
> that
> there are no proper release strategies in place. Neither make the community
> or the or the product look good to outsiders.
>
> I can understand that one would want to drop support for 13, but i would
> argue that at least 14 should be kept as it seems stable and could act as a
> version that eases the transition to gradle. Then 15 would be 14 + gradle
> support and 16 a proper new release.
>
> The reason i argue for this is also that our client installations rely on
> some sort of migration plan. Just calling end-of-life on a product and then
> moving forwards is hell for them, as it practically means that they will
> have to pay for a more stressful migration if they want to keep receiving
> security bugfixes.
>
> So i hope i can convince the rest of you to think this over.
>
> Regards,
> Paul
>
>
>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/DISCUSSION-Anticipate-the-end-of-life-of-the-13-07-branch-and-backport-some-non-bug-related-changes-s-tp4686668p4686803.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: Reminder: OFBiz Community Day 2 - 18th June 2016

2016-06-18 Thread Divesh Dutta
Okay, thanks for the details folks. I request all other community members
as well to update this accordingly so that issues we have worked on
community day get counted in.



Thanks
--
Divesh Dutta.

On Sun, Jun 19, 2016 at 2:39 AM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Hi Divesh
>
> You need to set the issues Sprint to "Community Day 2 – 2016". You can do
> that by editing the issue, the sprint field is at bottom, just pick
> "Community Day 2 – 2016 (Active sprint)"
>
> Thanks
>
> Jacques
>
>
> Le 18/06/2016 à 22:53, Divesh Dutta a écrit :
>
>> Hi Sharan,
>>
>> All the work done in community day today will automatically be counted in
>> or we have to tag the tickets in some way so that they get counted ?
>>
>> Thanks
>> --
>> Divesh Dutta.
>>
>> On Fri, Jun 17, 2016 at 3:52 PM, Sharan Foga <sharan.f...@gmail.com>
>> wrote:
>>
>> Hi Eveyone
>>>
>>> A final reminder that we have our second OFBiz Community Day for 2016
>>> tomorrow. For the ones who are keen and to help take account of the
>>> different timezones, I have started the Jira Sprint today so please add
>>> any
>>> tasks you want to work on into it.
>>>
>>> The Jira Sprint is calledError on deleting Content Type Attribute
>>>
>>> https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=64
>>>
>>> Please note that you can still add tasks to the sprint while it is in
>>> progress. I'll look to close off the sprint early next week so that it
>>> can
>>> include any work that overflows from the weekend.
>>>
>>> Remember that all contributions are welcome, however small and it all
>>> helps!
>>>
>>> Thanks
>>> Sharan
>>>
>>>
>


Re: Request to become a contributor

2016-06-18 Thread Divesh Dutta
This link should help. https://ofbiz.apache.org/mailing-lists.html

Thanks
--
Divesh Dutta.

On Sun, Jun 19, 2016 at 2:21 AM, Vijay <stealth.vi...@gmail.com> wrote:

> Hi Ashish,
>
> Can you please help unsubscribe me from this group?
>
> Thanks
> Vijay
>
> On Saturday, June 18, 2016, Ashish Vijaywargiya <
> ashish.vijaywarg...@hotwaxsystems.com> wrote:
>
> > Done, Thanks Amit! Here you go -
> > https://cwiki.apache.org/confluence/x/uABk
> >
> > --
> > Kind Regards
> > Ashish Vijaywargiya
> > HotWax Systems - est. 1997
> > https://www.linkedin.com/in/ashishvijaywargiya1
> >
> > On Sat, Jun 18, 2016 at 11:05 AM, Amit Gadaley <
> > amit.gada...@hotwaxsystems.com <javascript:;>> wrote:
> >
> > > Hi,
> > >
> > > Please register me as an OFBiz contributor.
> > >
> > > My account details are as follows:
> > > Full Name: Amit Gadaley
> > > User Name: amit.gadaley
> > > Email: amit.gada...@hotwaxsystems.com <javascript:;>
> > >
> > > I have signed the ICLA
> > > https://people.apache.org/unlistedclas.html
> > >
> > > Thanks and Regards,
> > > --
> > > Amit Gadaley <https://about.me/amit_gadaley>
> > > Enterprise Software Engineer
> > > HotWax Systems <http://www.hotwaxsystems.com/>
> > > cell: +91 958.459.3069
> > > <https://about.me/amit_gadaley?promo=email_sig>
> > >
> > > <https://about.me/amit_gadaley?promo=email_sig>
> > >
> >
>


Re: Reminder: OFBiz Community Day 2 - 18th June 2016

2016-06-18 Thread Divesh Dutta
Hi Sharan,

All the work done in community day today will automatically be counted in
or we have to tag the tickets in some way so that they get counted ?

Thanks
--
Divesh Dutta.

On Fri, Jun 17, 2016 at 3:52 PM, Sharan Foga <sharan.f...@gmail.com> wrote:

> Hi Eveyone
>
> A final reminder that we have our second OFBiz Community Day for 2016
> tomorrow. For the ones who are keen and to help take account of the
> different timezones, I have started the Jira Sprint today so please add any
> tasks you want to work on into it.
>
> The Jira Sprint is called “Community Day 2 – 2016'
>
> https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=64
>
> Please note that you can still add tasks to the sprint while it is in
> progress. I'll look to close off the sprint early next week so that it can
> include any work that overflows from the weekend.
>
> Remember that all contributions are welcome, however small and it all
> helps!
>
> Thanks
> Sharan
>


Re: SCIPIO ERP: a modern OFBiz fork

2016-06-07 Thread Divesh Dutta
Great work Paul and team.

It will be great if you can contribute the bug fixes back to OFBiz trunk
and branches :)


Thanks
--
Divesh Dutta.

On Mon, Jun 6, 2016 at 8:29 PM, Paul Piper <p...@ilscipio.com> wrote:

> Hey everyone,
>
>
>
> we just launched http://www.scipioerp.com a modern ERP & E-Commerce
> solution
> based on Apache OFBiz. Among our changes are:
>
>
>
> * New: templating toolkit (standardization of html in freemarker &
> widgets)
>
> o   Includes new standardizes elements
>
> * New: Foundation CSS based Backoffice themes
>
> o   Metro (a modern admin theme)
>
> o   Base (an unstyled foundation theme)
>
> * New: Modern E-Commerce theme
>
> o   Foundation-Shop
>
> * New: Modern e-Commerce store
>
> o   Demo:  https://ce.scipioerp.com/shop
>
> o   Several Bugfixes
>
> o   Code clean-up
>
> o   Migration of templates to templating toolkit
>
> * New: Modern backoffice applications
>
> o   Demo:  <https://ce.scipioerp.com/admin> https://ce.scipioerp.com/admin
>
> o   Migration to templating toolkit
>
> o   Simplification & standardization of UI Elements
>
> o   New & Updated screens
>
> o   Various bug-fixes
>
> o   Update on all menus (so that they are coherent & understandable)
>
> * Various Bugfixes to the framework
>
> * Groovy file rewrites
>
> * Label fixes
>
> * General code clean-up
>
> * Updated rendering engine
>
> * Full solr integration
>
>
>
> The package is released as open-source under the Apache License and
> available for download here:  https://github.com/ilscipio/scipio-erp
>
>
>
> I hope you enjoy our effort and are as excited as we are. Feel free to join
> our community: http://forum.scipioerp.com/
>
>
>
> A complete developer documentation is available here:
> http://www.scipioerp.com/community/developer/installation-configuration/
>
>
>
> Kind regards,
>
> Paul
>
>
>
> P.S.: The project is compatible with OFBiz 14 at the moment and has been
> tested with other OFBiz version as well. For more information, refer to our
> migration guide:
>
> http://www.scipioerp.com/community/developer/installation-configuration/ofbi
> z-migration/
>
>
>
> ---
>
> Paul Piper
>
> Geschäftsführer
>
>
>
>
>
> Web:  <http://www.ilscipio.com/> http://www.ilscipio.com
>
> Tel: (+49) 611-94589441
>
> Mobil: (+49) 176-63283066
>
> Fax: (+49) 611-94589449
>
> eMail:  <mailto:p...@ilscipio.com> p...@ilscipio.com
>
>
>
>
>
> ilscipio GmbH
>
> Am Drosselschlag 7
>
> D-35452 Heuchelheim
>
> Germany
>
>
>
>


Re: Session Data Sharing amongst WebApps

2016-05-18 Thread Divesh Dutta
Hi Murali,

Sessions between two web applications cannot be shared and this is done by
design for security reasons. This is part of Apache server specification
and not specific to OFBiz. In OFBiz, when web app is changed and  you use
externalLoginKey as a parameter and send it in URL , new session is not
created and same userLogin is used.

Now talking about saveLastView in OFBiz, I think it is not currently
supported that you can save last view among multiple web-applications. I
have not looked much into the code, but you can try using externalLoginKey
and see if saveLastView works. If it works, you will also have to make sure
that request which you want to save exists in both (the one in which you
are using and the other to which you navigated) the  web applications.

Thanks
--
Divesh Dutta.

On Fri, May 6, 2016 at 7:01 PM, Murali Shankar Gopalakrishnan <
murali...@gmail.com> wrote:

> Hello All,
>
> I am using Ofbiz 12.04. Am trying to implement a feature where a user can
> goBack to the previous page. Used the "SaveLastView" feature and it works
> well until the user is in the same WebApp.
>
> When the user navigates to another webapp the SaveLastView Does not work.
>
> On investigating realized that there is a new session created when the user
> navigates into a new WebApp, and the new session Object does not hold the
> SavedView of the previous session
>
> I also realized there is an entity called UserLoginSessions, and this
> entity is never populated.
>
> Any help to share the SaveLastView amongst Webapps (sessions) much
> appreciated
>
> Thanks.
>


Re: Apachecon NA 2016 - Summary Update

2016-05-18 Thread Divesh Dutta
Thanks for sharing your experience Sharan.


Regards
--
Divesh Dutta

On Tue, May 17, 2016 at 2:18 PM, Sharan-F <sharan.f...@gmail.com> wrote:

> Hi Everyone
>
> I'm still getting over the jetlag but here is a quick update of my
> Apachecon
> experience last week.
>
> I went as a TAC volunteer and volunteered to help out on the Apache booth.
> I
> think we had around 18 people on TAC from various countries including
> India,
> Brazil, Spain, Switzerland, China, Turkey, Egypt and various parts of the
> US.
>
> My main duty was talking to people about Apache and handing out Apache
> branded caps, stickers and swiss army knives (yes swiss army knives!).
>
> On the first day I saw a familiar name  - Jinghai Shi, one of our OFBiz
> Committers from China! He had come over for both Apache Big Data and
> Apachecon and throughout the week we spent quite a bit of time chatting
> about OFBiz!
> Unfortunately we didn't come across anyone else from the OFBiz community,
> and I think that could be related to the conference location as I know we
> have had good Apachecon attendance figures in the past.
>
> I did meet up with quite a few people including a team from NASA who are
> using a lot of Apache projects from the big data side, and the conference
> included a complete Geospatial Track.Big data seems to be a bit of a hot
> topic so is getting quite a few more attendees. We captured the attendance
> figures for the majority of the sessions and will pass them on to the
> Apachecon team.
>
> On Wednesday I participated in some Media Analyst training. This was mainly
> focussed on understanding techniques and tools about how to market and
> promote your project in the media. Our final test was to promote  (or
> 'pitch') our project to Stephen O'Grady, Industry Analyst from Red Monk
> (http://redmonk.com/)  who was also one of the Apachecon keynote
> speakers. I
> did a pitch for 'OFBiz' which went OK but he said that I needed to also
> include some minimum technical details so that he could see where OFBiz
> sits
> technically (and since I'm not too techie – I didnt know it!). Anyway this
> is an action point that I need to work on so I need to find a simple
> technical description of what OFBiz is...(so any feedback welcome)
>
> My Apachecon presentations were scheduled for the last day (Friday 13th).
> My
> first talk on consensus attracted 15 people and my OFBiz talk on
> configuration attracted 5 people.
>
> I think that all the sessions from both conferences have audio recordings
> and the keynotes also have video. There is some editing work going on at
> the
> moment to get all the audio recording published and you will find them on
> feathercast (see link below)
>
> http://feathercast.apache.org/
>
> I really enjoyed my Apachecon experience and would recommend it to anyone.
> It will be time to start thinking about Apachecon EU soon.
>
> Thanks
> Sharan
>
>
>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Apachecon-NA-2016-Summary-Update-tp4680675.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: Adrian Crum

2016-01-05 Thread Divesh Dutta
My heartfelt condolences goes out to his family. He will be missed very
much.


Thanks
--
Divesh Dutta.

On Tue, Jan 5, 2016 at 1:34 PM, Pierre Smits <pierre.sm...@gmail.com> wrote:

> Hi all,
>
> With sadness in my heart I inform you that on January 1st Adrian Crum
> passed away peacefully. Adrian was hospitalised in December of last year
> due to suffering from a double pneumonia. He died while being kept sedated.
>
> I wish his loved ones, relatives and friends strength in these difficult
> times.
>
> Best regards,
>
> Pierre Smits
>


Re: Best approach for mobile app

2015-09-08 Thread Divesh Dutta
Not sure which is better approach. But definitely GPS and mobile taking can
be achieved using Apache Cordova plugins if you go with  mobile web (HTML5)
or you can say hybrid app approach.

What do you mean by :
 I have taken a look at obfiz-on-smartphone, couldn’t get the server side
patches to be loaded.  Any advice?

Thanks
--
Divesh Dutta.



On Fri, Sep 4, 2015 at 4:08 PM, Derek Lew <eucalyptussoftw...@hotmail.com>
wrote:

> Hi
>
>
>
> I have a requirement for the GPS tracking and photo taking, would it be
> better for mobile web (HTML5) or native app approach?
>
>
>
> I have taken a look at obfiz-on-smartphone, couldn’t get the server side
> patches to be loaded.  Any advice?
>
>
>
> Best regards.
>
> Derek Lew 刘绍雄
>
>
>
>


Re: Inventory Transfer and Shipping Scenario

2015-04-03 Thread Divesh Dutta
Hi Robert,

Please see my comments  inline:



On Thu, Apr 2, 2015 at 7:35 PM, Robert Lasater rob...@ineight.net wrote:

 Those products are send to the customer on consignment. Technically, we
 still own the product until it is sold, by our customer. Only when it is
 actually sold should we remove it from our inventory. For accounting
 purposes, we need to track that inventory as a current asset, until it is
 sold by them. Make sense?

 Clearly, we need to send that product through the shipping process.
 However, if it is possible, we would like to maintain it in inventory.



Yes business process is making much more sense now. Now to answer your
question, OFBiz does not supports this work flow Out of the box. When you
pack item and ship it, items are issued and inventory counts are reduced.
Now if you would like to process shipping and still you would like to
maintain inventory, you will have to do customizations. To give some clue
here, In OFBiz how products should be fulfilled is decided by type of
Product. You can define new product type and make customizations in
fulfillment process based on this new product type.




 Here is another possibility:

 1) Ship product one from 'main facility
 2) Transfer product two over to 'second' facility
 3) Ship product two from 'second' facility as it gets sold by our client

 Is that possible?



I guess this approach is better than above one. To answer your question
again, this is not some thing which is supported out of the box in OFBiz.
You will have to do customizations here as well. But I guess going this
route is better approach. What you can do is create new productType here as
well and when order for this product is placed, you create one workEffort
(task for warehouse person). This task is for transferring inventory
product two over to second facility.  Once inventory transfer is complete ,
you mark task as resolved and order should get marked completed after this
process. But you will have to do coding for this. This is just one approach
, there can be better solutions as well.

Once product is transferred to second facility, you follow general
fulfillment workflow, when item is actually sold.



 It would be much easier if it were two separate orders. However, the client
 places this a single order.


OFBiz allows to take orders of different products types in single order
.For example you can take digital item and finished good in single order
and fulfillment work flow is different for both the products. One all items
are fulfilled, order will be marked completed.

Thanks
--
Divesh Dutta.



 Any thoughts on this are appreciated.


 Thanks,

 Robert


 On Thu, Apr 2, 2015 at 12:49 AM, Divesh Dutta 
 divesh.du...@hotwaxsystems.com wrote:

  I am still not clear with business process . So my question is why would
  you place an order for inventory transfer ? OR it will be great if you
 can
  elaborate your line Product two is sent to another facility and the
  customer pays us on scan, when a product is sold. with more details.
 
  Thanks
  --
  Divesh Dutta.
 
  On Tue, Mar 31, 2015 at 10:55 PM, Robert Lasater rob...@ineight.net
  wrote:
 
   We have an interesting scenario we deal with once a month. We have a
   customer who orders two different products on the same order.
  
   Product one is sold directly, shipped and payment gets received.
   Product two is sent to another facility and the customer pays us on
 scan,
   when a product is sold.
  
   If both products are put into OFBIZ on the same Sales Order, we must
 ship
   one product and transfer the other product to another facility.
  
   The question is, is there a way to do the following:
  
   1) Transfer one product to another facility and track the shipping
  expense.
   2) Pack and Ship the other product as normal.
   3) All using the same Sales Order.
  
  
   Thanks
  
   Robert
  
 



Re: Promo Code Discount Per Product

2015-03-26 Thread Divesh Dutta
Hi Robert,

What you are trying to achieve can be easily achieved using Price Rules of
OFBiz .

Thanks
--
Divesh Dutta.

On Wed, Mar 25, 2015 at 11:02 PM, Robert Lasater rob...@ineight.net wrote:

 We are looking for a way that a promo code will do a discount on a product
 price, despite the quantity. The only way we can get it to work right now
 is to have a quantity in the promo rule. Does anyone know how to get the
 percent discount per product to work, no matter what the quantity ordered
 is?

 Cannot apply to entire cart, just a single product.

 Thanks
 Robert



Re: Promo Code Discount Per Product

2015-03-26 Thread Divesh Dutta
Also I guess you can put 0 in quantity field and give greater than or
equal to in condition of your rule. In that way you can avoid quantity and
then promotion will work for every product.

Thanks
--
Divesh Dutta.

On Wed, Mar 25, 2015 at 11:02 PM, Robert Lasater rob...@ineight.net wrote:

 We are looking for a way that a promo code will do a discount on a product
 price, despite the quantity. The only way we can get it to work right now
 is to have a quantity in the promo rule. Does anyone know how to get the
 percent discount per product to work, no matter what the quantity ordered
 is?

 Cannot apply to entire cart, just a single product.

 Thanks
 Robert



Re: Congratulations!

2015-01-15 Thread Divesh Dutta
Congratulations Chatree Srichart

Thanks
--
Divesh Dutta.

On Thu, Jan 15, 2015 at 10:09 PM, Jacopo Cappellato 
jacopo.cappell...@hotwaxmedia.com wrote:

 Ok, the last person that was invited have also accepted the new role and
 so we can announce him too: welcome Chatree Srichart (chatrees)!

 Jacopo

 On Jan 15, 2015, at 12:42 PM, Mridul Pathak mridul...@gmail.com wrote:

  Thank you all!!
  Congratulations Gavin and Pranay!!
 
  Regards
  Mridul Pathak
  ---
  direct: +91 - 942.592.6892
 
  On Wed, Jan 14, 2015 at 2:55 PM, Arun Patidar 
 arun.pati...@hotwaxmedia.com
  wrote:
 
  Many Congratulations Gavin, Mridul and Pranay !
 
  Thanks  Regards
  ---
  Arun Patidar
  Manager,Enterprise Software Development
  HotWax Media
  www.hotwaxmedia.com
 
 
  On Monday 12 January 2015 02:04 PM, Jacopo Cappellato wrote:
 
  Thank you for starting this thread Pierre.
  Please also welcome Gavin Mabie (gavinmabie) that was invited as
  committer with Pranay and Mridul.
  They are all officially OFBiz committers now; we were waiting to send
 the
  congratulation email just because we are waiting for the response of a
  fourth person but it's good to move on and I will let you all know as
 soon
  as we have some news.
 
  Regards,
 
  Jacopo
 
  On Jan 12, 2015, at 8:00 AM, Pierre Smits pierre.sm...@gmail.com
 wrote:
 
  Hi All,
 
  Please join me in welcoming and congratulating Pranay Panday and
 Mridul
  Pathak of HotWax Media as the newest committers of this project.
 
  According to the blog of HotWax Media (
  http://www.hotwaxmedia.com/apache-ofbiz-blog/happy-2015-team-hotwax/)
 it
  was a milestone in 2014 for the organisation to having them invited
 and
  accepted as committers by this project.
 
 
  Regards,
  Pierre Smits
 
  *ORRTIZ.COM http://www.orrtiz.com*
  Services  Solutions for Cloud-
  Based Manufacturing, Professional
  Services and Retail  Trade
  http://www.orrtiz.com
 
 
 




Re: Congratulations!

2015-01-12 Thread Divesh Dutta
Congratulations Mridul , Pranay and Gavin :)

Thanks
--
Divesh Dutta.

On Mon, Jan 12, 2015 at 2:13 PM, Jacques Le Roux 
jacques.le.r...@les7arts.com wrote:

 Good news indeed, welcome to Pranay, Mridul and Gavin!

 Good to have you on board guys :)

 Jacques

 Le 12/01/2015 09:34, Jacopo Cappellato a écrit :

  Thank you for starting this thread Pierre.
 Please also welcome Gavin Mabie (gavinmabie) that was invited as
 committer with Pranay and Mridul.
 They are all officially OFBiz committers now; we were waiting to send the
 congratulation email just because we are waiting for the response of a
 fourth person but it's good to move on and I will let you all know as soon
 as we have some news.

 Regards,

 Jacopo

 On Jan 12, 2015, at 8:00 AM, Pierre Smits pierre.sm...@gmail.com wrote:

  Hi All,

 Please join me in welcoming and congratulating Pranay Panday and Mridul
 Pathak of HotWax Media as the newest committers of this project.

 According to the blog of HotWax Media (
 http://www.hotwaxmedia.com/apache-ofbiz-blog/happy-2015-team-hotwax/) it
 was a milestone in 2014 for the organisation to having them invited and
 accepted as committers by this project.


 Regards,
 Pierre Smits

 *ORRTIZ.COM http://www.orrtiz.com*
 Services  Solutions for Cloud-
 Based Manufacturing, Professional
 Services and Retail  Trade
 http://www.orrtiz.com






Re: BigFish Gift Card Query

2015-01-02 Thread Divesh Dutta
Gift card reload functionality is supported in OFBiz. Check implementation
of giftCertificateReload service in GiftCertificateServices.java


Thanks

--

Divesh Dutta.

On Tue, Dec 30, 2014 at 11:39 PM, Prateek Ashtikar 
prateek.ashtikar...@googlemail.com wrote:

 Hi Nick,

 Thanks.  It seems something which is developed as wrapper by BigFish and GC
 reload functionality not present in current setup of OFBiz. Right?

 Kind Regards,
 Prateek Ashtikar
 MOB:+91-9503374218

 On Tue, Dec 30, 2014 at 11:01 PM, Nick Rosser nros...@solveda.com wrote:

  Prateek,
 
  Yes, BigFish does support Gift Cards but you will need to first set up an
  account with a third party Gift Card processor.  BigFish currently has
  support for Tender Card.  We would need to extend BigFish in order to
 offer
  support for any other Gift Card service.
 
  Please visit http://bigfish.solveda.com/bfSpecs.html and go to Cart and
  Checkout (section 17) for additional information on Gift Card payments
  using BigFish.
 
  Nick
 
  On 12/30/2014 11:18 AM, Prateek Ashtikar wrote:
 
  Hello,
 
  I've query in using BigFish and OFBiz for the eCommerce site
  implementation. But I don't see any information that BigFish do support
  for
  the Gift card and its possible functionality like GC purchase, GC
 balance
  enquiry, GC reload, GC unload etc.. I can't see any functionality of GC
  reload nor documentation.
 
  If it's support all these functionality then its worth and happily use
  BigFish  OFBiz. Could you please help on these?
 
  Thanks,
  Prateek
 
 



Re: OFBiz at Apachecon Europe

2014-11-20 Thread Divesh Dutta
Thanks Sharan for your update about Apachecon in Budapest. Also thanks to
you in advance for taking time and posting summary of discussions you had.

Congratulations Anahita for your successful session.

Waiting for more news :)

Also it will be great if we get the presentations of every speakers

Thanks
--
Divesh Dutta.


On Thu, Nov 20, 2014 at 12:11 PM, Sharan-F sharan.f...@gmail.com wrote:

 Hi All

 We've been having a busy week at Apachecon in Budapest and I'm sure that
 the
 people that attended will be posting their updates about it soon.

 I just wanted to let the community mailing list know that I think the OFBiz
 track was a success (our biggest session was Anahita's where 27 people came
 along!)

 As well as running our own track, meeting each other for the first time,
 attending some other sessions, we found some time to hold a round table
 session to talk about some project related topics. I will be summarising
 our
 discussions and post these here - I think we have some great potential
 proposals that we'd like to consult the community about.

 More news coming soon!

 Thanks
 Sharan







 --
 View this message in context:
 http://ofbiz.135035.n4.nabble.com/OFBiz-at-Apachecon-Europe-tp4658651.html
 Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: OFBiz at Apachecon Europe

2014-11-20 Thread Divesh Dutta
Thanks Pierre for all those quick links

Regards
--
Divesh Dutta.

On Thu, Nov 20, 2014 at 4:41 PM, Pierre Smits pierre.sm...@gmail.com
wrote:

 Hi Sharan, Divesh, All,

 We currently have this page:

 https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+track+@+Apachecon+EU+2014+in+Budapest%2C+Hungary+Nov+17th+-+Nov+19th+2014
 in
 the OFBiz Project Administration wiki

 This page is a child of the Conference Planning page, which I believe
 should all move to the more generic OFBiz wiki. Moving it there will lessen
 the burden on committers to maintain these pages. It will also allow other
 contributors to extend the pages with child pages regarding new events.

 In the general OFBiz wiki Anahita has already created a placeholder
 regarding here talk, see here

 https://cwiki.apache.org/confluence/display/OFBIZ/ApacheCon+EU+2014+-+Introduction+to+a+Recommender+System+for+Apache+OFBiz

 Also, Jacopo has created a page there regarding the subject of his talk,
 and has recently attached his presentation to that. See here:

 https://cwiki.apache.org/confluence/display/OFBIZ/Groovy+DSL+for+OFBiz+business+logic

 And you can find my talk here:

 https://cwiki.apache.org/confluence/display/OFBIZ/Brewing+with+OFBiz+-+a+case+study+by+Pierre+Smits

 Regards,


 Pierre Smits

 *ORRTIZ.COM http://www.orrtiz.com*
 Services  Solutions for Cloud-
 Based Manufacturing, Professional
 Services and Retail  Trade
 http://www.orrtiz.com



Re: Ofbiz Testimonial

2014-11-13 Thread Divesh Dutta
Hi Simon,

Thanks for sharing your experiences. One of the line you mentioned in your
email is:

When we first started looking at Ofbiz almost
everyone outside of IT was against it, we had to do numerous presentation
and explanation as to why we should go with Ofbiz as opposed to going with a
product like SAP.

Could you please share presentations and explanations you did to adopt
OFBiz ? It will help surely help to increase adaptability of OFBiz .

Thanks in advance
--
Divesh Dutta.



On Thu, Nov 13, 2014 at 8:28 PM, simon maskell simon_mask...@stannah.co.uk
wrote:

 Hi everyone, I don’t often post on the mailing list but I was speaking to
 one
 of the committers at the weekend and they thought it would be good to share
 our Ofbiz development with the community, with a view to getting more
 non-ecommerce users using Ofbiz.

 We have been working with Ofbiz for 2.5 years and plan to rollout Ofbiz to
 5
 companies across 8 countries and a total of 1800 user.

 So far we have completed 1 company which comprises of
 •   Telecentre System and lead management
 •   Sales Orders
 •   Invoicing
 •   Product configurators
 •   CRM
 •   Human Resource
 •   Purchase Orders
 •   Stock Management
 •   Hand Held

 All of the above applications have taken the Ofbiz components as a starting
 point and then we have extended and added our own customisations(some quite
 heavily) to get Ofbiz working how we want it to.
 Going forward we are looking to introduce

 •   Service Management, this will allow us to make planned warranty
 visits and
 breakdowns. We have a network of 11 branches around the UK and 250 service
 engineers out on the road.
 •   MRP – We manufacture in 2 different countries
 •   Installation Scheduling – We install our products and need a way to
 optimise our installations team.
 •   We are also continuing to make changes to the current live Ofbiz
 components, as we remove more of our legacy systems.

 Most of the above will be introduced into the remaining 4 companies and we
 feel confident that each company/country will be quicker than the previous
 as our code base builds up.

 My view on Ofbiz is that it’s a great product once you have taken time to
 really understand it and its probably this that is the biggest barrier for
 companies taking it up. When we first started looking at Ofbiz almost
 everyone outside of IT was against it, we had to do numerous presentation
 and explanation as to why we should go with Ofbiz as opposed to going with
 a
 product like SAP.  Now we have got it working for one company and people
 can
 see the benefits,  we are now being asked to delivery it into the business
 faster(Now our presentations are setting expectation on when it will be
 delivered)

 Anyone wanting to introduce Ofbiz, should be prepared for the difficulties
 at the beginning of the project but I am sure by the end of the project
 they
 will be more than please they chose Ofbiz.

 Just like to thank all the committers and contributors who have worked on
 producing a great product.







 --
 View this message in context:
 http://ofbiz.135035.n4.nabble.com/Ofbiz-Testimonial-tp4658168.html
 Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: OFBiz/BigFish: Indian Retailer Religare Wellness goes live!

2014-10-31 Thread Divesh Dutta
Hi Nick,

Congratulations. 

On Oct 29, 2014, at 2:40 AM, Nick Rosser nros...@solveda.com wrote:

 We are particularly excited to see activity in India begin to ramp up, has 
 anyone else seen this?


I know some of the well known Indian sites which are on top of OFBiz. They are:

http://shopping.indiatimes.com/

http://nokia.indiatimes.com/

http://titan.co.in/

http://www.univercell.in

http://mirchimart.com/


http://www.gitanjalishop.com


http://www.medplusbeauty.com

All above are E-commerce stores. 


Other one is Muncipal Corporation of Delhi: (E-governance project) 

http://111.93.49.24/myservice/control/main


Next is , National Informatics Centre, an initiative by Govt. of India for 
their developing E-governance projects also mention use of OFBiz in their ERP 
initiative. 

Check #43 here:  

https://portal.otc.nic.in/listofprojects 





Thanks
—
Divesh Dutta 







Server start up error in Release 11.04

2012-07-08 Thread Divesh Dutta
Hello Group,

I took fresh check out of Release 11.04, build it and starting the server, but 
I am getting following Error:


Jul 8, 2012 11:17:20 PM org.apache.jk.server.JkMain init
INFO: Can't find home, jk2.properties not loaded
Jul 8, 2012 11:17:20 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
2012-07-08 23:17:21,463 (main) [SSLImpl.java:63 :ERROR] 
 exception report --
Exception: java.io.IOException
Message: Keystore was tampered with, or password was incorrect
 cause -
Exception: java.security.UnrecoverableKeyException
Message: Password verification failed
 stack trace ---
java.security.UnrecoverableKeyException: Password verification failed
sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:769)
sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38)
java.security.KeyStore.load(KeyStore.java:1185)
org.ofbiz.base.util.KeyStoreUtil.getSystemTrustStore(KeyStoreUtil.java:121)
org.ofbiz.base.util.SSLUtil.getTrustManagers(SSLUtil.java:118)
org.ofbiz.catalina.container.SSLImpl$AllowTrustManager.init(SSLImpl.java:61)
org.ofbiz.catalina.container.SSLImpl.init(SSLImpl.java:46)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
java.lang.Class.newInstance0(Class.java:355)
java.lang.Class.newInstance(Class.java:308)
org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplementation.java:72)
org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:152)
org.apache.catalina.connector.Connector.initialize(Connector.java:1049)
org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:218)
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:182)
org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:95)
org.ofbiz.base.start.Start.initStartLoaders(Start.java:169)
org.ofbiz.base.start.Start.init(Start.java:139)
org.ofbiz.base.start.Start.main(Start.java:69)


Jul 8, 2012 11:17:21 PM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing socket factory
java.lang.ClassNotFoundException: Error loading SSL Implementation 
org.ofbiz.catalina.container.SSLImpl :java.lang.ClassNotFoundException: 
Keystore was tampered with, or password was incorrect
at 
org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplementation.java:77)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:152)
at 
org.apache.catalina.connector.Connector.initialize(Connector.java:1049)
at 
org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
at 
org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:218)
at 
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:182)
at 
org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:95)
at org.ofbiz.base.start.Start.initStartLoaders(Start.java:169)
at org.ofbiz.base.start.Start.init(Start.java:139)
at org.ofbiz.base.start.Start.main(Start.java:69)
Jul 8, 2012 11:17:21 PM org.apache.catalina.core.StandardService initialize
SEVERE: Failed to initialize connector [Connector[HTTP/1.1-8443]]
LifecycleException:  Protocol handler initialization failed: 
java.lang.ClassNotFoundException: Error loading SSL Implementation 
org.ofbiz.catalina.container.SSLImpl :java.lang.ClassNotFoundException: 
Keystore was tampered with, or password was incorrect
at 
org.apache.catalina.connector.Connector.initialize(Connector.java:1051)
at 
org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
at 
org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:218)
at 
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:182)
at 
org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:95)
at org.ofbiz.base.start.Start.initStartLoaders(Start.java:169)
at org.ofbiz.base.start.Start.init(Start.java:139)
at org.ofbiz.base.start.Start.main(Start.java:69)
2012-07-08 23:17:21,575 (main) [ContainerLoader.java:224:INFO ] [Startup] 
Starting containers...
2012-07-08 23:17:21,596 (main) [  GenericDispatcher.java:69 :INFO ] Creating 
new dispatcher [RMIDispatcher] (main)
org.ofbiz.base.start.StartupException: Cannot start() 

Re: Free Audio-Books powered by OFbiz

2012-04-17 Thread Divesh Dutta
On quick notice , found: http://www.syracus.net/control/main


You may use, requestdispatcher's forward method in index.jsp of your 
application.

For eg: 

%pageContext.forward(control/main);%

This will not include control/main in your URL: http://www.syracus.net.

This is good for SEO perspective.

Thanks
--
Divesh


On Apr 17, 2012, at 4:22 PM, Paul Piper wrote:

 Hey Guys,
 
 
 
 we just released our demo store:  http://www.syracus.net www.syracus.net.
 We figured that apparel were a little overdone, so we opted for a store that
 lets you download audio books… for free! All is based upon Apache OFBiz, of
 course, though we did some extraordinary changes to the ecommerce component:
 
 
 
 · Implementation of Apache Solr – solr is implemented as a
 standalone component and can be plugged into the system with ease
 
 · Complete rewrite of all store pages – cleaned up html  CSS
 
 · Responsive Design – try looking at the store with your mobile
 device
 
 · Redesigned Checkout – no registration necessary for
 one-time-shoppers
 
 
 
 Would love to hear your feedback! If you like the available audio books, let
 me know, we will continue to add more in the near future.
 
 
 
 Cheers,
 
 Paul
 
 
 
 ---
 
 Paul Piper
 
 Geschäftsführer
 
 
 
 
 
 Web:  http://www.ilscipio.com/ http://www.ilscipio.com
 
 Tel: (+49) 611-94589441
 
 Mobil: (+49) 176-63283066
 
 Fax: (+49) 611-94589449
 
 eMail:  mailto:p...@ilscipio.com p...@ilscipio.com
 
 
 
 
 
 ilscipio GmbH
 
 Am Drosselschlag 7
 
 D-35452 Heuchelheim
 
 Germany
 
 
 




Re: Tally Integration

2012-04-04 Thread Divesh Dutta
Hi Dhiraj. Tally is not web based software. Its a desktop software.  So you 
cannot integrate it. What you can do it you can export excel or whatever files 
Tally accepts and import it to Tallly.

Thanks
--
Divesh Dutta.

On Apr 4, 2012, at 1:14 PM, Dhiraj Gupta wrote:

 Hi I want to integrate ofbiz with tally. Can do you have any suggestion about 
 it .Tally is accounting software used in India in wast manner.
 
 
 ThanksDhiraj Gupta9990220686




Re: Manufacturing Production Run Schedule

2011-11-07 Thread Divesh Dutta
Hello Sakthi,

Please see comments inline:


On Nov 5, 2011, at 8:23 PM, Yoke Power wrote:

 Hi Ofbiz Users,
 
 Context - Can Manufacturing Production Run be scheduled to run
 automatically at a particular time

Yes it can be done by custom arrangements like you already mentioned by 
configuring job scheduler. 

 
 Environment - http://ofbiz.apache.org --09.04 Stable Release
 
 Steps -
 - Create a sales order for a configurable Pizza
 - Above step creates a production run in manufacturing
 - Schedule the above production run for a future time by clicking
 Schedule link
 - Status of Production run changed to Scheduled
 - Verify production run after time past the scheduled time
 - Production run still in scheduled status
 
 
 Question -
 - Is this the expected behavior?

Yes this is the expected behavior as at code level , there is no business rule 
written to run production run automatically once the Production Run is 
scheduled. It can be because this nature varies from one manufacturing firm to 
another. Just for eg: there is shortage in raw-materials needed for production 
run, in that case production run cannot be started and completed until and 
unless we procure materials. 


 - I was hoping the production run to run at the scheduled time;
 - Do I have to configure a Job Scheduler separately to take care of this?

Yes you have to configure job scheduler to achieve this. 
 
 Any inputs on this appreciated much
 
 - Sakthi
 
 -- 
 Sent from my mobile device'

Thanks
--
Divesh Dutta.





Re: Product store group

2011-02-28 Thread Divesh Dutta
I would say Product Store group is preferable. Its because you will have to 
only prepare data and OOTB code will support rest of the things for you. i.e to 
manage multiple prices of product for multiple product stores. 

Thanks
---
Divesh Dutta.


On Feb 27, 2011, at 12:50 PM, Santosh Malviya wrote:

 I have done price overriding with price rule engine, now I have two options
 either price rule or product store group, which one is preferable?
 
 -- 
 Thanks and Regards
 Santosh Malviya
 
 On Sat, Feb 26, 2011 at 10:17 AM, Ashish Vijaywargiya 
 ashish.vijaywarg...@hotwaxmedia.com wrote:
 
 Go to:
 https://localhost:8443/webtools/control/FindGeneric?entityName=ProductStoreGroupTypefind=trueVIEW_SIZE=50VIEW_INDEX=0
 Then click on Create New button. You will see this form:
 https://localhost:8443/webtools/control/ViewGeneric?entityName=ProductStoreGroupTypeenableEdit=true
 
 In the opened form provide value in first two fields(i.e
 productStoreGroupTypeId, description) and then click on create button.
 
 Actually this is tricky part. Once you are comfortable with use of WebTools
 you can do all such operations easily.
 Thanks!
 
 --
 Regards
 Ashish Vijaywargiya
 HotWax Media - est. 1997
 http://www.hotwaxmedia.com/
 
 
 
 On Friday 25 February 2011 06:49 PM, Info Olagos wrote:
 
 Hello,
 
 How do you create a new ProductStoreGroupType in Ofbiz?
 
 You have to do it immediately in the database table?
 or
 Can you do it via the ofbiz webforms anywhere?
 
 Regards,
 Heidi
 
 2011/2/25 Divesh Duttadivesh.du...@hotwaxmedia.com
 
 This is Quite straight forward.
 
 1) Create new type for ProductStoreGroupType
 2) and create new ProductStoreGroup
 3) Create new ProductStore and give id of ProductStoreGroup created
 above.
 i.e associate with above created ProductStore
 
 Then create your Product and Product Price data. Now ProductPrice entity
 have productStoreGroupId. Give above created productStoreGroupId here.
 Create multiple ProductPrice data for each Product Store group to
 maintain
 multiple prices.
 
 HTH
 
 Thanks
 --
 Divesh Dutta.
 
 On Feb 25, 2011, at 2:04 PM, Santosh Malviya wrote:
 
 Hello list,
 
 I have a requirement to set different price (override a price) for a
 
 product which is to be sold in different geos like Netherlands and Italy,
 I
 googled about this and found a mail, which says about product store
 group,
 but it's not implemented in OFBiz yet. I saw ProductStoreGroup and
 related
 entities but I am confused to set up product store group. Is anyone
 having
 any idea, how I can set up product store group and assign different
 prices?
 
 Thanks and Regards
 Santosh Malviya
 
 
 
 
 http://www.mindtree.com/email/disclaimer.html
 
 
 
 
 
 




Re: Content Permissions

2011-02-28 Thread Divesh Dutta
You can do a trick to handle this:

Its genericContentPermission service which executes, when you use 
/content/control/stream?contentId.  So you write SECA rule in your component on 
service genericContentPermission:

Rule should be: When ever genericContentPermission runs, your new custom 
service should run as action service. This new service will implement 
permissionInterface in service definition. And in implementation you may add 
your rules to return hasPermission = true or you may directly return 
hasPermission = true . 

Your seca rule will look like this:

eca service=genericContentPermission event=return run-on-failure=true
  condition field-name=hasPermission operator=equals value=false 
type=Boolean/
  action service=yourCustomerService mode=sync result-to-result=true/
/eca

Thanks
--
Divesh Dutta.



On Feb 24, 2011, at 2:52 PM, Gavin Mabie wrote:

 Hi
 
 
 
 Can anybody give me a short answer on how to give view permission to an
 anonymous/guest user to view content.  I am  using
 /content/control/stream?contentId  in an FTL to show images but it only
 displays when I log onto the ContentMgr application on the back end.
 
 
 
 Thanks in advance.
 
 
 
 Gav
 




Re: Product store group

2011-02-25 Thread Divesh Dutta
This is Quite straight forward. 

1) Create new type for ProductStoreGroupType 
2) and create new ProductStoreGroup
3) Create new ProductStore and give id of ProductStoreGroup created above. i.e 
associate with above created ProductStore

Then create your Product and Product Price data. Now ProductPrice entity have 
productStoreGroupId. Give above created productStoreGroupId here. Create 
multiple ProductPrice data for each Product Store group to  maintain multiple 
prices.

HTH

Thanks
--
Divesh Dutta.

On Feb 25, 2011, at 2:04 PM, Santosh Malviya wrote:

 Hello list,
 
 I have a requirement to set different price (override a price) for a product 
 which is to be sold in different geos like Netherlands and Italy, I googled 
 about this and found a mail, which says about product store group, but it's 
 not implemented in OFBiz yet. I saw ProductStoreGroup and related entities 
 but I am confused to set up product store group. Is anyone having any idea, 
 how I can set up product store group and assign different prices?
 
 Thanks and Regards
 Santosh Malviya
 
 
 
 
 http://www.mindtree.com/email/disclaimer.html




Re: Product store group

2011-02-25 Thread Divesh Dutta
You may also see how this model will work in calculateProductPrice service in 
PriceServices.java . See use of productStoreGroupId here.

Thanks
--
Divesh Dutta.

On Feb 25, 2011, at 6:03 PM, Divesh Dutta wrote:

 This is Quite straight forward. 
 
 1) Create new type for ProductStoreGroupType 
 2) and create new ProductStoreGroup
 3) Create new ProductStore and give id of ProductStoreGroup created above. 
 i.e associate with above created ProductStore
 
 Then create your Product and Product Price data. Now ProductPrice entity have 
 productStoreGroupId. Give above created productStoreGroupId here. Create 
 multiple ProductPrice data for each Product Store group to  maintain multiple 
 prices.
 
 HTH
 
 Thanks
 --
 Divesh Dutta.
 
 On Feb 25, 2011, at 2:04 PM, Santosh Malviya wrote:
 
 Hello list,
 
 I have a requirement to set different price (override a price) for a product 
 which is to be sold in different geos like Netherlands and Italy, I googled 
 about this and found a mail, which says about product store group, but it's 
 not implemented in OFBiz yet. I saw ProductStoreGroup and related entities 
 but I am confused to set up product store group. Is anyone having any idea, 
 how I can set up product store group and assign different prices?
 
 Thanks and Regards
 Santosh Malviya
 
 
 
 
 http://www.mindtree.com/email/disclaimer.html
 
 




Re: Introspection about data flow in ofbiz

2011-02-08 Thread Divesh Dutta
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide
   . This should give you idea of all basic stuff. 

Thanks
--
Divesh Dutta.


On Feb 8, 2011, at 11:44 AM, Hardik Handa wrote:

 I know this might be a question that should be quite easy for most of you. 
 Could some one give a bit info about how data is extracted in an ftl and what 
 is the basic flow in this process.
 
 
 Regards,
 Hardik Handa
 Software Engineer - CMHP-RETAIL-COE-eCommerce
 HCL Technologies Ltd.
 C-22A, Sector 57, NOIDA. 201301, UP. (India)
 Tel: +91-120-2586417-19
 Mob: +91-9811671898
 www.hcltech.comhttp://www.hcltech.com
 www.hcl.comhttp://www.hcl.in/
 
 
 
 
 ::DISCLAIMER::
 ---
 
 The contents of this e-mail and any attachment(s) are confidential and 
 intended for the named recipient(s) only.
 It shall not attach any liability on the originator or HCL or its affiliates. 
 Any views or opinions presented in
 this email are solely those of the author and may not necessarily reflect the 
 opinions of HCL or its affiliates.
 Any form of reproduction, dissemination, copying, disclosure, modification, 
 distribution and / or publication of
 this message without the prior written consent of the author of this e-mail 
 is strictly prohibited. If you have
 received this email in error please delete it and notify the sender 
 immediately. Before opening any mail and
 attachments please check them for viruses and defect.
 
 ---




Re: query ofbi

2010-10-08 Thread Divesh Dutta

Use DynamicViewEntity class for this. For eg: look at OrderLookupServices.java

Thanks
--
Divesh Dutta.


On Oct 8, 2010, at 4:15 PM, Deepa Priolkar wrote:

 Hi ,
 
 
 
 Need some help, want to know how to do sql joins using delegator
 methods.
 
 
 
 Thanks  Regards,
 
 Deepa
 
 
 Disclaimer:
   This message and the information contained herein is proprietary and 
 confidential and subject to the Tech Mahindra policy statement, you may 
 review the policy at a 
 href=http://www.techmahindra.com/Disclaimer.html;http://www.techmahindra.com/Disclaimer.html/a
  externally and a 
 href=http://tim.techmahindra.com/Disclaimer.html;http://tim.techmahindra.com/Disclaimer.html/a
  internally within Tech 
 Mahindra.




Re: OfBiz e-commerce customization

2010-09-04 Thread Divesh Dutta
 a recommendation engine (providing recommendations to a user
   based on his activity - searches, purchases, reviews etc.) ? If no, how
   hard would it be to add it ? 

I didn't got what you mean by term recommendation engine here. But as per my 
understanding, I would say OFBiz e-commerce has features to recommend users buy 
products based on :

1) largest selling product in site on in particular category
2) Cross sell products ( complementary products are presented to a customer 
after the customer has demonstrated a desire and willingness to purchase a 
particular product )
3) Up sell products (An up-sell offer is typically for a better version of the 
same product or service you are considering)
4) Most viewed product or service

Also we can add more recommendation criteria 


   Can the OfBiz-based e-commerce web site be presented by browsers of
   smart phones  ? How hard would it be to enable it ?

Yes it can be, HTML should be  styling should be written accordingly. 
   Changing search/recommendations of OfBiz to be based on the requirements
   of the customer
   Changing search/recommendations of OfBiz to be based on the geolocation
   of the customer
   Adding support for customization of products/services and changes in the
   prices according to the customization during the purchase process

Can be achieved, but will require custom work . Data model supported

   Adding support for a composition solution of hardware, software and
   human services (bundles, kits). A seller could compose a new product by
   combining several existing products

Can be achieved by using existing data model. Data model supported.

   Adding support for manual approval of products by site administrators
   before submission of the products to the e-commerce site

Available in OFBiz OOTB . 
   Adding support for managing versions of the software applications that
   are sold on the e-commerce website
 
 Sorry for so many questions and sorry if some of them are out of context.

None of the question is out of context Vadim .  All the questions make sense 
and one would like to see in E-commerce site. And OFBiz is exactly what you 
need. 

But I would say, to achieve all your requirement and use OFBiz OOTB feature is  
difficult for newbie . So its recommended to get consulting from experienced 
person or team. Or get training to start in house development.  Or subcontract 
your work.



 
 Best Regards,
 Vadim
 ---
 Vadim Eisenberg
 IT for Healthcare  Life Sciences
 IBM Research - Haifa
 
 

Regards,
Divesh Dutta.
Hotwax Media Inc.
Global leader in OFBiz Training, Consulting and service providing.
Go to Google and see it yourself.

Re: whenever i am trying to build latest ofbiz code it throws an error

2010-08-30 Thread Divesh Dutta
Hello,

Your error itself tells the problem. You must upgrade Ant version to 1.7.1 or 
else use ./ant run-install

Thanks
--
Divesh Dutta


On Aug 30, 2010, at 2:15 PM, PrateekJain wrote:

 
 whenever i try to ant clean-all or do run-install it shows error shown 
 
 [r...@hnode1 ofbiz-10-Aug-2010]# ant clean-all
 Buildfile: build.xml
 
 BUILD FAILED
 /home/Prateek/ofbiz-10-Aug-2010/build.xml:22: The following error occurred
 while executing this line:
 /home/Prateek/ofbiz-10-Aug-2010/macros.xml:24: Please upgrade ant to at
 least 1.7.1
 
 Total time: 0 seconds
 
 -- 
 View this message in context: 
 http://ofbiz.135035.n4.nabble.com/whenever-i-am-trying-to-build-latest-ofbiz-code-it-throws-an-error-tp2399750p2399750.html
 Sent from the OFBiz - User mailing list archive at Nabble.com.




Re: about routing

2010-04-09 Thread Divesh Dutta
Routing is individual step that is needed to turn the raw material into 
finished product.


Thanks
--
Divesh Dutta.


Selvakumar Ganesan wrote:

why do we go for routing in manufacturing?
Thanks in advance.

  




Re: About tax

2010-04-09 Thread Divesh Dutta
Please refer DemoTaxAuthority.xml file. Here you will see data modeling 
between TaxAuthority, TaxAuthorityAssoc, TaxAuthorityRateProduct which 
will help you to set up the data. Also we use taxAuthorityRateTypeId = 
SALES_TAX for sales order.


Hope this helps

Thanks
--
Divesh Dutta.


Selvakumar Ganesan wrote:

There are various taxes belonging to different countries. where can I
specify which tax should be applied for the sales order?
and How can I make it take effect for a specific product to have specific
sales tax percentage?
Thanks in advance.

  




Re: Apache sold to Oracle for $1.5 Billion

2010-04-02 Thread Divesh Dutta

So that others cannot get the milk for free ;)

--
Divesh

David E Jones wrote:

Yeah, there was some discussing on the press mailing list about doing this.

The best part of the joke is the silly nature of it: why buy the cow when you 
can get the milk for free? ;)

-David


On Apr 2, 2010, at 6:51 AM, Scott Gray wrote:

  

see this link:
http://en.wikipedia.org/wiki/April_Fools'_Day

On 2/04/2010, at 6:45 AM, bsreekanth wrote:


see the link 
https://blogs.apache.org/foundation/entry/the_apache_software_foundation_receives

--
View this message in context: 
http://n4.nabble.com/Apache-sold-to-Oracle-for-1-5-Billion-tp1749114p1749114.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
  


  




Now Practice Application will also teach you, how to write ajax request using prototype library in OFBiz

2010-02-26 Thread Divesh Dutta

Hello Users,

I have introduced  new section in Practice application of OFBiz , which 
is all about How to write Ajax request.  By following this  a newbie 
can learn  writing ajax request and enabling client side validation by 
using prototype library.


All above stuffs  are available in newly introduced part-6 of practice 
application in following link: 
http://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide


I would like to thanks Arun Patidar for support and Rishi Solanki for 
idea of introducing this section.


Thanks
--
Divesh Dutta.



Re: Subversion is now part of apache

2010-02-22 Thread Divesh Dutta

Thanks for sharing this Amit.

Regards
--
Divesh Dutta.



Amit Sharma wrote:

JFYI Subversion is now part of apache  :-)

http://subversion.apache.org/

--
Regards,
Amit Sharma




Re: entity-auto - is there a way of doing createOrUpdate?

2010-02-04 Thread Divesh Dutta

No its not possible now. Refer EntityAutoEngine.java

Thanks
--
Divesh Dutta


Christopher Snow wrote:
Is it possible to do a createOrUpdate with the new entity-auto 
engine?  I.e. the operation depends on whether or not the primary key 
is supplier?


Many thanks in advance,

Chris




Re: Access service error

2009-12-30 Thread Divesh Dutta

Hi ,

Please try to call getRelatedParties service by setting,  
include-user-login=true .

Some thing like below,
call-service service-name=getRelatedParties include-user-login=true 
in-map-name=lookupMap /


Thanks
--
Divesh Dutta.

zhiyongcui wrote:

When I access a service called getRelatedParties from another service
definition , I got a message as below:
ServiceDispatcher.java:532:ERROR] Error in Service [getRelatedParties]: You
must be logged in to complete the [Get Parties Related to a Party] process.
But I can't see any permission check in the getRelatedParties definition.
Anybody could help me?
  




Re: How to create a new entity

2009-12-29 Thread Divesh Dutta

Hi Hemanth,

Restarting the OFBiz will not solve your purpose. ant run-install will 
be your friend, in that case.


Thanks
--
Divesh Dutta.

Hemanth Kumar Kanamarlapudi wrote:

Hi All,

I have added a new entity definition in an existing entitymodel.xml which is 
already loaded through ofbiz-component.xml


entity entity-name=trackUserSource package-name=com.pj.contact
title=Track User Source Entity 
field name=trackId type=id-ne/
field name=source type=long-varchar/
field name=medium type=long-varchar/
field name=campaign type=long-varchar/
field name=userId type=long-varchar/
field name=pid type=long-varchar/
prim-key field=trackId/
/entity

But I am not able to create this object when I restart ofbiz.

Your quick help is appreciated.

Thanks  Regards
Hemanth




http://www.mindtree.com/email/disclaimer.html

  




Re: How to create a new entity

2009-12-29 Thread Divesh Dutta

Yes exactly, It depends on case to case, What to use when.

Thanks
--
Divesh Dutta.


Hemanth Kumar Kanamarlapudi wrote:

Hi All,

I have tried in another developer system and it worked well. I need to figure 
out the problem in my local environment.
For your information,
We should not use run-install because it will override all the new changes done 
in the db.

Hi Priya,
Thanks for helping out.

Regards
Hemanth


-Original Message-
From: Divesh Dutta [mailto:divesh.du...@hotwaxmedia.com] 
Sent: Wednesday, December 30, 2009 10:41 AM

To: user@ofbiz.apache.org
Subject: Re: How to create a new entity

Hi Hemanth,

Restarting the OFBiz will not solve your purpose. ant run-install will 
be your friend, in that case.


Thanks
--
Divesh Dutta.

Hemanth Kumar Kanamarlapudi wrote:
  

Hi All,

I have added a new entity definition in an existing entitymodel.xml which is 
already loaded through ofbiz-component.xml


entity entity-name=trackUserSource package-name=com.pj.contact
title=Track User Source Entity 
field name=trackId type=id-ne/
field name=source type=long-varchar/
field name=medium type=long-varchar/
field name=campaign type=long-varchar/
field name=userId type=long-varchar/
field name=pid type=long-varchar/
prim-key field=trackId/
/entity

But I am not able to create this object when I restart ofbiz.

Your quick help is appreciated.

Thanks  Regards
Hemanth




http://www.mindtree.com/email/disclaimer.html

  



  




Re: direct capture during checkout

2009-12-27 Thread Divesh Dutta

Hi Alexander,

For this, you need to set field payment.cybersource.autoBill == true, 
in payment.properties or in PaymentGatewayCyberSource entity.

By doing this, auth and transaction will be done in single transaction.

Thanks
--
Divesh Dutta.

Alexander1893 wrote:

Hi all,

I set up cybersource as payment gateway. Everything works fine a the moment.
During the checkout only an authorize is done at the moment and I have to
do the capture manually in the backend.

Is there any way of configuring the checkout, so that the capture is done
directly when the user submits his order?

Thanks a lot!

Alexander
  




Re: direct capture during checkout

2009-12-27 Thread Divesh Dutta

One Improvement in Statement.

Divesh Dutta wrote:

Hi Alexander,

For this, you need to set field payment.cybersource.autoBill == 
true, in payment.properties or in PaymentGatewayCyberSource entity.

By doing this, auth and transaction will be done in single transaction.

auth and capture*


Thanks
--
Divesh Dutta.

Alexander1893 wrote:

Hi all,

I set up cybersource as payment gateway. Everything works fine a the 
moment.
During the checkout only an authorize is done at the moment and I 
have to

do the capture manually in the backend.

Is there any way of configuring the checkout, so that the capture is 
done

directly when the user submits his order?

Thanks a lot!

Alexander
  






Re: direct capture during checkout

2009-12-27 Thread Divesh Dutta

Hi Hemanth,

ccAuthCapture Java method in AIMPaymentServices.java will do your work.
Here, transType parameter, is set to AUTH_CAPTURE, which does 
auth+capture in single transaction.


HTH.

Thanks
--
Divesh Dutta.


Hemanth Kumar Kanamarlapudi wrote:

Hi All,

Can any one tell me how to do authorize and capture at the same time using 
Authorize.net payment gateway.

Thanks
Hemanth

-Original Message-
From: Divesh Dutta [mailto:divesh.du...@hotwaxmedia.com]
Sent: Monday, December 28, 2009 11:19 AM
To: user@ofbiz.apache.org
Subject: Re: direct capture during checkout

Hi Alexander,

For this, you need to set field payment.cybersource.autoBill == true,
in payment.properties or in PaymentGatewayCyberSource entity.
By doing this, auth and transaction will be done in single transaction.

Thanks
--
Divesh Dutta.

Alexander1893 wrote:
  

Hi all,

I set up cybersource as payment gateway. Everything works fine a the moment.
During the checkout only an authorize is done at the moment and I have to
do the capture manually in the backend.

Is there any way of configuring the checkout, so that the capture is done
directly when the user submits his order?

Thanks a lot!

Alexander





http://www.mindtree.com/email/disclaimer.html
  




Re: Unable to start Lambda Probe

2009-10-29 Thread Divesh Dutta
Wah Laddooo...  Fokut ke laddo  mil  rahe ho  to jarur khana  chahenge  
OFBiz  community ke log. Pehli bar koi OFBiz users ko ladooo offer kar 
raha hai.  ;-)


Nice to see Hindi in OFBiz user mailing list.

Thanks
--
Divesh Dutta
Team Lead
Enterprise Software Development
ApacheCon US 2009 Gold Sponsor
http://us.apachecon.com/c/acus2009/sponsors/sponsors


neha.me...@lntinfotech.com wrote:

to hum kya karen.. laddooo baaten ??

Thanks  Regards,
Neha Mehta
Software Engineer (A-1-1)
Larsen  Toubro Infotech Ltd.
Cell: +91 97694 72267
Email-id: neha.me...@lntinfotech.com
EL-200, TTC Electronic Zone,
Shil Mahape Road, 
Navi Mumbai, 400710

T: +91 022 67954324
India +0530 UTC/GMT

**
The most beautiful thing is to see a person smiling… 
And even more beautiful is knowing that you are the reason behind it!!! 
  Be a reason for others to smile 
HAVE A NICE DAY AHEAD..

**





Larsen  Toubro Infotech Ltd.
www.Lntinfotech.com

This Document is classified as: 

LT Infotech Proprietary   LT Infotech Confidential   LT Infotech 
Internal Use Only   LT Infotech General Business 

This Email may contain confidential or privileged information for the 
intended recipient (s) If you are not the intended recipient, please do 
not use or disseminate the information, notify the sender and delete it 
from your system. 




richa.mit...@lntinfotech.com 
10/29/2009 02:14 PM

Please respond to
user@ofbiz.apache.org


To
user@ofbiz.apache.org
cc

Subject
Unable to start Lambda Probe






I deployed Lambda probe as a component in ofbiz application.
I used this link: http://bizlift.com/ofbiz/lambda_probe_for_ofbiz.html
When I start the ofbiz application following exception comes: 
Cannot find class [org.jstripe.tomcat.probe.beans.TomcatUsersDaoBean] for 
bean with name 'userDetailsService' defined in ServletContext resource 
[/WEB-INF/spring-root-acegi.xml];
java.lang.ClassNotFoundException: 
org.jstripe.tomcat.probe.beans.TomcatUsersDaoBean




Thanks
Richa Mittal


__

__


__
  




Re: Unable to start Lambda Probe

2009-10-29 Thread Divesh Dutta
Wah Laddooo...  Fokut ke laddo  mil  rahe ho  to jarur khana  chahenge  
OFBiz  community ke log. Pehli bar koi OFBiz users ko ladooo offer kar 
raha hai.  ;-)


Nice to see Hindi in OFBiz user mailing list.

Thanks
--
Divesh Dutta
Team Lead
Enterprise Software Development
ApacheCon US 2009 Gold Sponsor
http://us.apachecon.com/c/acus2009/sponsors/sponsors


neha.me...@lntinfotech.com wrote:

to hum kya karen.. laddooo baaten ??

Thanks  Regards,
Neha Mehta
Software Engineer (A-1-1)
Larsen  Toubro Infotech Ltd.
Cell: +91 97694 72267
Email-id: neha.me...@lntinfotech.com
EL-200, TTC Electronic Zone,
Shil Mahape Road, 
Navi Mumbai, 400710

T: +91 022 67954324
India +0530 UTC/GMT

**
The most beautiful thing is to see a person smiling… 
And even more beautiful is knowing that you are the reason behind it!!! 
  Be a reason for others to smile 
HAVE A NICE DAY AHEAD..

**





Larsen  Toubro Infotech Ltd.
www.Lntinfotech.com

This Document is classified as: 

LT Infotech Proprietary   LT Infotech Confidential   LT Infotech 
Internal Use Only   LT Infotech General Business 

This Email may contain confidential or privileged information for the 
intended recipient (s) If you are not the intended recipient, please do 
not use or disseminate the information, notify the sender and delete it 
from your system. 




richa.mit...@lntinfotech.com 
10/29/2009 02:14 PM

Please respond to
user@ofbiz.apache.org


To
user@ofbiz.apache.org
cc

Subject
Unable to start Lambda Probe






I deployed Lambda probe as a component in ofbiz application.
I used this link: http://bizlift.com/ofbiz/lambda_probe_for_ofbiz.html
When I start the ofbiz application following exception comes: 
Cannot find class [org.jstripe.tomcat.probe.beans.TomcatUsersDaoBean] for 
bean with name 'userDetailsService' defined in ServletContext resource 
[/WEB-INF/spring-root-acegi.xml];
java.lang.ClassNotFoundException: 
org.jstripe.tomcat.probe.beans.TomcatUsersDaoBean




Thanks
Richa Mittal


__

__


__
  




Re: OrderHeader - Difference between RemainingSubtotal grandTotal

2009-09-21 Thread Divesh Dutta

In this case OrderAdjustment entity should be your friend.

Thanks
--
Divesh Dutta



su2 wrote:

Hi All,

I was able to find out the difference between  remainingSubtotal 
grandtotal. grandtotal includes shipping  Tax both. Is there anywhere where
I can get only shipping or only tax amount for the order?

Thanks for the help in advance.

Su-

su2 wrote:
  

Hello Friends,

In the entity Orderheader, is the remainingSubtotal shows orderamount
without tax and grandTotal - order amount with the tax ?

Or remainginsubtotal is the order amount remaining when customer pays
money in installment ?

I really appreciate the help.

Thanks you in advance.
Su-




  




Re: Access OFBiz webservice from external java client

2009-09-09 Thread Divesh Dutta
wsdl:output
soap:body 
encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
namespace=http://ofbiz.apache.org/service/; use=literal/

/wsdl:output
/wsdl:operation
/wsdl:binding
wsdl:service name=ComplexInputService
wsdl:port binding=tns:ComplexInputServiceSoapBinding 
name=ComplexInputServicePort
soap:address 
location=http://localhost:8088/webtools/control/SOAPService/

/wsdl:port
/wsdl:service
/wsdl:definitions
  

Change your wsdl part's  name according to above given modifications



I have created a java client in eclipse outside OFBiz

public static void main(String[] args) 
{

try
{
String endPoint = 
http://localhost:8088/webtools/control/SOAPService;;

Call call = (Call)new Service().createCall();
call.setTargetEndpointAddress(new URL(endPoint));
call.setOperationName(new 
QName(http://ofbiz.apache.org/service/,ComplexInputService;));

System.out.println(***call.add parameterl);
List inputList = new Vector();
inputList.add(neha);
inputList.add(mehta);
 call.addParameter(inputList,org.apache.axis.Constants.SOAP_VECTOR, 
javax.xml.rpc.ParameterMode.IN);
 call.addParameter(outputList,org.apache.axis.Constants.SOAP_VECTOR, 
javax.xml.rpc.ParameterMode.OUT);

call.setReturnType(org.apache.axis.Constants.SOAP_VECTOR);
System.out.println(***call invoking);
Object responseWS=call.invoke(new Object[]{inputList});
Map output = call.getOutputParams();
System.out.println(call invoked...);
}
catch(Exception exp)
{
exp.printStackTrace();
}
}

I get an exception on running the client : 


AxisFault
 faultCode: {
http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: org.xml.sax.SAXParseException: Premature end of file.
 faultActor: 
 faultNode: 
 faultDetail: 
{
http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXParseException: 
Premature end of file.



org.xml.sax.SAXParseException: Premature end of file.
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:701)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(
MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at MyClient.main(MyClient.java:37)

On OFbiz server, i get an exception as: 

Request SOAPService caused an error with the following message: Error 
calling event: org.ofbiz.webapp.event.EventHandlerException: 
org.xml.sax.SAXException cannot be cast to java.lang.String 
(org.xml.sax.SAXException cannot be cast to java.lang.String).



I am not able to understand how to go ahead... I am stuck up completely... 
Kindly help me out















Thanks  Regards,
Neha Mehta
Software Engineer (A-1-1)
Larsen  Toubro Infotech Ltd.
Email-id: neha.me...@lntinfotech.com
EL-200, TTC Electronic Zone,
Shil Mahape Road, 
Navi Mumbai, 400710

India +0530 UTC/GMT

**
The most beautiful thing is to see a person smiling… 
And even more beautiful is knowing that you are the reason behind it!!! 
  Be a reason for others to smile 
HAVE A NICE DAY AHEAD..

**





Larsen  Toubro Infotech Ltd.
www.Lntinfotech.com

This Document is classified as: 

LT Infotech Proprietary   LT Infotech Confidential   LT Infotech 
Internal Use Only   LT Infotech General Business 

This Email may contain confidential or privileged information for the 
intended recipient (s) If you are not the intended recipient, please do 
not use or disseminate the information, notify the sender and delete it 
from your system. 


__
  

Hope this will help you.

Thanks
--
Divesh Dutta



Re: How to access the services without passing http request

2009-06-11 Thread Divesh Dutta
Hi Prashant please send in detail what you are trying to do. And what 
are you expecting. And what is not happening. May be code snippet and 
errors will help us to understand your problem.


Thanks
--
Divesh


jillas wrote:

Hi

 How to access the createPerson service by passing the required
parameters to the simple-method in the form of a Map object, but the data is
not comming from the request. But it comes from the Map that is passed. Is
it possible to access the services without using http?

Thanks  Regards
Prashanth Jilla
  




When refundBillingAccountPayment is used

2009-06-11 Thread Divesh Dutta

Hello all,

Can any one please tell me the exact scenario when, 
refundBillingAccountPayment service is called. I am trying to generate 
this situation by :


1) Creating a sales order by choosing a payment method = Billing Account

2) Then I am completing this order and making return for it. Return type 
= Refund


3) And then I receive this return. Here I expect 
refundBillingAccountPayment service to run.


If some one knows  the exact purpose of this service then please share 
it with me. I can dig into the code and understand this, but it may take 
time. It will be great if some one has already worked for it  and share 
his experience, which will help to save bit time of mine.


Thanks
--
Divesh



Re: Service invocation error

2009-06-10 Thread Divesh Dutta

Hi Prashant,

Do you want reason of this error? Then you need to send more details on 
this or logs.


Thanks
--
Divesh


jillas wrote:

Hi

I am following the book ofbiz development and doing sample examples.
While doing it, I got an error as below

org.ofbiz.webapp.event.EventHandlerException: Service invocation error
(org.ofbiz.loyalty.loyalty.LoyaltyService)

Thanks  Regards
Prashanth Jilla
  




Re: Error while processing UPS shipment.

2009-06-04 Thread Divesh Dutta

Hi Rohit,

For your information no changes are made in upsShipmentConfirm service 
of UpsService.java , which can create a problem. Only one  Util Package 
HashMap is been removed which was not used any where in that service. 
Yes, new service are added in that file. Refer Commit: 780582 for more 
details.


I think one of your element's value is missing when 
ShipmentConfirmRequest XML document is prepared.  Putting  log messages  
will help you to find  exact  element which is missing.


As I believe and observed that all of the functionalities  are well 
tested by the Commiter when they check in the code. And they understand 
their responsibility more than you and me.
It may happen that few things get break, but I also believe that 
Commiters are not God. And those issues can be sorted out by community 
efforts.


Its just my thought and not in anyway to point you. ;-)

Thanks
--
Divesh


As I believe,
rohit2006 wrote:

Hi Pranay,

Yes i am doing it from Route Segments, BTW i guess thats only how you can
get ofbiz to prepare a shipping label.

However, The secure URL error that you wrote about in your email, has been
existing for a quite a while and its being radually sorted out, I was
assuming that if the service.http.parameters.require.encrypted property in
the  url.properties file, was changed it wourl just throw a warning and not
interfere with the process.

Also, if think the UpsServices.java was updated recently, i was just
wandering if the commiter did any checks on his code before commiting it.
Because had the commitor tried to run a test shipments it would have not
have succeeded and thus the code should not have been committed in the first
place. I am just trying to understand the process of commiting the code, as
some commits has given me the impression as having been committed without
actually checking them for accuracy. Its just a thought and not in anyway to
point faults at anyone.

Rohit




Pranay Pandey-2 wrote:
  

Hello Rohit,

Are you doing it from Shipment -- Rout Segments screen.
If yes then this screen is not having issue which your log is saying.  
Its clear from log that its a secure url problem.:


observe:
==

== Found URL parameter [shipmentId] passed to secure  
(https)
request-map with uri [duplicateShipmentRouteSegment] with an event  
that

calls service [duplicateShipmentRouteSegment]; this is not allowed for
security reasons! The data should be encrypted by making it part of  
the
request body (a form field) instead of the request URL. Moreover it  
would be

kind if you could create a Jira sub-task of
https://issues.apache.org/jira/browse/OFBIZ-2330 (check before if a  
sub-task
for this error does not exist). If you are not sure how to create a  
Jira
issue please have a look before at http://docs.ofbiz.org/x/r. Thank  
you in
advance for your help.; In session  
[743586BA803CB620BFE228FE0D77AA60.jvm1];

Note that this can be changed using the
service.http.parameters.require.encrypted property in the  
url.properties

file
  

==




The Following Errors Occurred:

Error writing the ShipmentConfirmRequest XML Document to a String:
java.io.IOException: javax.xml.transform.TransformerException:
java.lang.NullPointerException


  
This error usually comes when the xml begin prepared is not proper or  
having a string null for some value.  The code there should be  
improved and I and on it. Will submit a patch for it soon.



Thanks  Regards
--
Pranay Pandey

On Jun 4, 2009, at 2:31 PM, rohit2006 wrote:



Hi,

I think there is a bug in UpsServices.java. Its throwing the following
error. I am using the latest code from svn, still its throwing the  
error.



The Following Errors Occurred:

Error writing the ShipmentConfirmRequest XML Document to a String:
java.io.IOException: javax.xml.transform.TransformerException:
java.lang.NullPointerException


Has anyone else encountered similar error ?

Rohit

The log reads as below:

009-06-04 04:35:20,438 (TP-Processor7) [ RequestHandler.java: 
692:INFO ]

Rendering View [EditShipmentRouteSegments],
sessionId=743586BA803CB620BFE228FE0D77AA60.jvm1
2009-06-04 04:35:21,315 (TP-Processor7) [ ControlServlet.java: 
309:INFO ]

[[[EditShipmentRouteSegments] Request Done- total:0.88,since
last([EditShipmentRout...):0.88]]
2009-06-04 04:35:24,799 (TP-Processor6) [ ControlServlet.java: 
131:INFO ]

[[[duplicateShipmentRouteSegment] Request Begun, encoding=[UTF-8]-
total:0.0,since last(Begin):0.0]]
2009-06-04 04:35:24,807 (TP-Processor6) [ServiceEventHandler.java: 
407:ERROR]
=== Found URL parameter [shipmentId] passed to secure  
(https)
request-map with uri [duplicateShipmentRouteSegment] with an event  
that

calls service [duplicateShipmentRouteSegment]; this is not allowed for
security reasons! The data should be encrypted by making it part of  
the
request body (a form field) instead of the request URL. Moreover it  

Re: Multiple Product Images?

2009-06-04 Thread Divesh Dutta

Hello Cherif,

Easy and simple way to know that is to check Email achieves  or Markmail.

Thanks
--
Divesh


cherif wrote:

hi list,
It seems that ecommerce is now in /specialpurpose not in /application why ?

Thanks

Cherif

- Message d'origine - 
De : Torstein Hegbom torst...@itpolaris.no

À : user@ofbiz.apache.org
Envoyé : jeudi 4 juin 2009 12:21
Objet : SV: Multiple Product Images?


  

Yes, that's possible. I am very impressed by this application. It is


loaded
  

with functionality, but is lacking documentation.

Enter the webtools-application, and select xml-loading.

Better would be to enter the following area on your disk:
./specialpurpose/ecommerce/data/

and study these, and then you can choose if you would like to change one


of
  

those and use run-install, or if you would like to use the webtool.

Torstein

-Opprinnelig melding-
Fra: Sam Hamilton [mailto:sam.hamil...@virtualvillage.com]
Sendt: 4. juni 2009 12:09
Til: user@ofbiz.apache.org
Emne: Re: Multiple Product Images?

Many thanks for the answers guys! Torstein you said xml will import images
for categories - do you know if the same can be done for products as I


have
  

around 30,000 images to import against 4,000 products?

Sam


On 04/06/2009 16:54, BJ Freeman bjf...@free-man.net wrote:

The demo only put in the small image.
how ever if you adding product images through the catalog
you simply browse for the image and ofbiz ill upload it and put an image
in each image size.
https://localhost:8443/catalog/control/EditProductContent?productId=GC-001
and a trick i learned you can click on browse and put in a URL to an
image and it will upload it the same way.
Now if you want to use the demo data then you have to put the images in
the perspective folders the enter the data for all the image size in the
demo data.

Sam Hamilton sent the following on 6/3/2009 8:52 PM:


Perhaps this is a really simple but I cant seem to find an example on
  

the
  

demo ecommerce site of one product with more than one image?

--

BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com



http://www.linkedin.com/profile?viewProfile=key=1237480locale=en_UStrk=ta
  

b_pro
Systems Integrator.





Sam Hamilton
CTO
Virtual Village

Tel: +86 (21) 6271 3051
Fax: +86 (21) 5228 8539
Mobile: +86 (135) 2451 4480
E-mail: sam.hamil...@virtualvillage.com







  




Re: Bugs in OrderView.groovy

2009-05-31 Thread Divesh Dutta

+1

Thanks
--
Divesh


Ray wrote:
Lots of talk about different types of contributors etc and it should 
be noted there are also lots of types of bugs.


Your other posts highlight specific: do this, do that, it 
crashes/doesn't provide the expected result. That's helpful and will 
tend to get a response fairly quickly as they may not require as much 
time to verify and fix.


This post is very different and could be titled Potential bugs in 
OrderView.groovy. I don't think anybody involved in OFBiz can answer 
your post with out doing a full code review of the file.


There are numerous possible reasons for including the first check and 
not the second, it depends on lots of things and the file is split in 
to several 'if' sections that may have a lot of impact on whether a 
productStore is expected to be found. And in a file that is over 400 
lines long it could take some effort to assess and justify the one 
thing you've highlighted before dealing with the I didn't note all of 
them others.


I think with the:
 If yes, why the first test ?
 If no, there is missing a test in the second case.
you might be over simplifying the problem as there are always other 
dependencies.


So although it's a reasonable post to suggest there are problems in 
the file the difficulty is you need someone else to volunteer a 
reasonable amount of their own time to investigate, justify and fix a 
potential issue. It's basically a retrospective code review that will 
take a lot of effort, and carries it's own risks of introducing new 
problems.


Generally code quality gets looked at when someone is working on a file.

Don't take it personally on this post but I suspect you won't get 
someone jumping in and adding/removing a speculative 'if' wrapper as 
you are indirectly asking for quite a lot.


On the other hand if you read the code and can produce a test case 
that triggers a null pointer exception on line 380


Ray


Cimballi wrote:

Well, I don't know how to explain you, it seems evident to me...
In the first case you check if productStore is null or not. In the
second case, you don't check.
So, what is the correct behaviour ? Should an order be linked to a
productStore or not ?
If yes, why the first test ?
If no, there is missing a test in the second case.


From my point of view I would say no because an order with products of

type service don't need productStore.

To Scott : you should consider there are different kind of
contributors on open source projects, I'm the kind of contributor who
send emails when I find something I think is a bug, I'm still not in
the category of patch providers ! :-)

Cimballi


On Fri, May 29, 2009 at 7:16 PM, Scott Gray 
scott.g...@hotwaxmedia.com wrote:

Hi Cimballi

Inconsistencies aren't necessarily bugs, but you are most welcome to 
create

a patch and jira issue for the corrections you think should be made.

Thanks
Scott

On 30/05/2009, at 10:39 AM, Cimballi wrote:


Hi,

There are several inconsistancies in the file

applications/order/webapp/ordermgr/WEB-INF/actions/order/OrderView.groovy. 



I didn't note all of them, but here is an example :

Line 260, productStore can be null :
  productStore = orderHeader.getRelatedOne(ProductStore);
  if (productStore) {
  facility = productStore.getRelatedOne(Facility);

Line 380, here productStore cannot be null :
  productStoreId =
orderHeader.getRelatedOne(ProductStore).productStoreId;

Cimballi








Re: parentCommEventId is never saved in CommunicationEvent entity for storeIncomingEmail service

2009-05-09 Thread Divesh Dutta
After more testing I found that messageId is saved in CommunicationEvent 
only when I send mails through Party Component. But when I send mail 
through Marketing component using Contact list feature, then messageId 
is not saved in CommunicationEvent entity.


Thanks
--
Divesh



Divesh Dutta wrote:
Intersting to see that still no views on this imp issue. But we had 
good discussion for webtools login page ;-) . Here looking more into 
this code and testing , I found that messageId for outgoing mails are 
not saved in CommunicationEvent entity. If some one is getting the 
same behaviour please let me know.


Thanks
--
Divesh


Divesh Dutta wrote:

Hello all,

I was tracing and debugging the code in storeIncomingEmail service in 
CommunicationEventServices.java (on rev. 772658). Steps I followed:

-- Sent an outgoing mail from system . (say from abc@gmail.com)
-- Then replied to this email id (incoming email)

So reffering line no. 599 :
// check for for a reply to communication event (using in-reply-to 
the parent messageID) ( line 600 to 616). What I found is this part 
of code never works because parentCommEventId is never saved in 
database in CommunicationEvent entity. Reason being:


Here code is trying to get parentCommEvent on the basis of 
inReplyTo  field from CommunicationEvent entity by comparing it 
with messageId.


But what I found is messageId for outgoing mail is never *same *as 
inReplyTo for incoming mail.


Please correct me if I am wrong some where . Any views on this are 
most welcome


Thanks
--
Divesh









Re: Problem in getting field value of type time-stamp passed from form to my servlet method

2009-05-09 Thread Divesh Dutta

Hello Tanzeem,

You may try this one:

Map parameters = UtilHttp.getParameterMap(request); {Here request is 
object of HttpServletRequest}

   Timestamp date = (Timestamp) parameters.get(fieldname);

Hope this may help you

Thanks
--
Divesh
  



tanzeem.mb wrote:

Hi ofbiz nerds,

I'm trying to pass field values of type timestamp from my form to my servlet
method using java event handler. when i try to get the value of the field 
using getParameter(fieldname) i am getting the value as null.


This problem did not occur when i was using a service event handler and
using objectofDispatchContext.get(fieldName) . But i want to use servlet
method only and i am stuck.

How can i rectify the problem.Please help

Thanks in advance 
Tanzeem



  




No login page in Webtools

2009-05-08 Thread Divesh Dutta

Hello,

While accessing  https://demo.ofbiz.org/webtools/control/main, no link 
for Login or any page for Login is given. It should be changed.


Thanks
--
Divesh


Re: No login page in Webtools

2009-05-08 Thread Divesh Dutta

Should I open a jira issue for this?

Thanks
--
Divesh

Jacques Le Roux wrote:

Yes I saw that recently too, I suggest opening a Jira issue

Jacques

From: Ashish Vijaywargiya vijaywargiya.ash...@gmail.com

+1

--
Ashish

On Fri, May 8, 2009 at 2:42 PM, Divesh Dutta
divesh.du...@hotwaxmedia.comwrote:


Hello,

While accessing  https://demo.ofbiz.org/webtools/control/main, no 
link for

Login or any page for Login is given. It should be changed.

Thanks
--
Divesh









Re: parentCommEventId is never saved in CommunicationEvent entity for storeIncomingEmail service

2009-05-08 Thread Divesh Dutta
Intersting to see that still no views on this imp issue. But we had good 
discussion for webtools login page ;-) . Here looking more into this 
code and testing , I found that messageId for outgoing mails are not 
saved in CommunicationEvent entity. If some one is getting the same 
behaviour please let me know.


Thanks
--
Divesh


Divesh Dutta wrote:

Hello all,

I was tracing and debugging the code in storeIncomingEmail service in 
CommunicationEventServices.java (on rev. 772658). Steps I followed:

-- Sent an outgoing mail from system . (say from abc@gmail.com)
-- Then replied to this email id (incoming email)

So reffering line no. 599 :
// check for for a reply to communication event (using in-reply-to the 
parent messageID) ( line 600 to 616). What I found is this part of 
code never works because parentCommEventId is never saved in database 
in CommunicationEvent entity. Reason being:


Here code is trying to get parentCommEvent on the basis of 
inReplyTo  field from CommunicationEvent entity by comparing it with 
messageId.


But what I found is messageId for outgoing mail is never *same *as 
inReplyTo for incoming mail.


Please correct me if I am wrong some where . Any views on this are 
most welcome


Thanks
--
Divesh







Re: ant clean-all is not working

2009-05-08 Thread Divesh Dutta
I also found the same behavior. This is because in revision no. 773114, 
Jacques added patch of captcha file to delete from tempfiles. So while 
running ant clean-all it looks for captcha foleder. And as you said 
parimal capthcha folder is not present in tempfiles. I hope Jacques can 
help us in this.


Thanks
--
Divesh


Parimal Gain wrote:

Hello All,

After taking update when I used ant clean-all, it is showing error

BUILD FAILED
/home/parimal/ofbiz_dev/testing/build.xml:50: The following error 
occurred while executing this line:
/home/parimal/ofbiz_dev/testing/build.xml:80: Directory does not 
exist:/home/parimal/ofbiz_dev/testing/runtime/tempfiles/captcha


The reason is that there is no *captcha* folder inside 
/runtime/tempfiles on which is defined in target *clean-data .


*Regards
--
Parimal Gain




Re: @ofbizUrl, @ofbizContentUrl, and Uilabels are not working for CMS

2009-05-07 Thread Divesh Dutta

Thanks Sharad,

I was missing this. It worked.

Regards
--
Divesh


sharad gupta wrote:

Hello Divesh,

I think you are missing dataTemplateTypeId field in Data Resource entity.
After using  dataTemplateTypeId=FTL,  *@ofbizUrl* and
*@ofbizContentUrl* will work in ftl

Thanks
 --
Sharad Gupta

On Thu, Jan 1, 2004 at 9:08 AM, Divesh Dutta
divesh.du...@hotwaxmedia.comwrote:

  

Any views please ?

Divesh


Divesh Dutta wrote:



Hello all,

I am making use of content management system, for rendering Static
templates (ftl files). In my ftl files, I have used *@ofbizUrl* and
*@ofbizContentUrl*. But they are not working according to the desired
behavior. I have also used *Uilabels *in my ftl files but they are not
rendering the desired values.

Please suggest me whether I am missing some thing or this features does
not work when we use them with CMS.

Thanks
--
Divesh


  


  




parentCommEventId is never saved in CommunicationEvent entity for storeIncomingEmail service

2009-05-07 Thread Divesh Dutta

Hello all,

I was tracing and debugging the code in storeIncomingEmail service in 
CommunicationEventServices.java (on rev. 772658). Steps I followed:

-- Sent an outgoing mail from system . (say from abc@gmail.com)
-- Then replied to this email id (incoming email)

So reffering line no. 599 :
// check for for a reply to communication event (using in-reply-to the 
parent messageID) ( line 600 to 616). What I found is this part of code 
never works because parentCommEventId is never saved in database in 
CommunicationEvent entity. Reason being:


Here code is trying to get parentCommEvent on the basis of inReplyTo  
field from CommunicationEvent entity by comparing it with messageId.


But what I found is messageId for outgoing mail is never *same *as 
inReplyTo for incoming mail.


Please correct me if I am wrong some where . Any views on this are most 
welcome


Thanks
--
Divesh




@ofbizUrl, @ofbizContentUrl, and Uilabels are not working for CMS

2009-05-06 Thread Divesh Dutta

Hello all,

I am making use of content management system, for rendering Static 
templates (ftl files). In my ftl files, I have used *@ofbizUrl* and 
*@ofbizContentUrl*. But they are not working according to the desired 
behavior. I have also used *Uilabels *in my ftl files but they are not 
rendering the desired values.


Please suggest me whether I am missing some thing or this features does 
not work when we use them with CMS.


Thanks
--
Divesh


Re: @ofbizUrl, @ofbizContentUrl, and Uilabels are not working for CMS

2009-05-06 Thread Divesh Dutta

Any views please ?

Divesh

Divesh Dutta wrote:

Hello all,

I am making use of content management system, for rendering Static 
templates (ftl files). In my ftl files, I have used *@ofbizUrl* and 
*@ofbizContentUrl*. But they are not working according to the 
desired behavior. I have also used *Uilabels *in my ftl files but they 
are not rendering the desired values.


Please suggest me whether I am missing some thing or this features 
does not work when we use them with CMS.


Thanks
--
Divesh





Re: email

2009-05-05 Thread Divesh Dutta

Hello Jack,

As it is mentioned in the very first comment that this JavaMail Listener 
Container triggers MCA (Mail condition Action) rules. Presently there is 
only one MCA rule in mca.xml. *storeIncomingEmail* service is triggered 
and this stores all the incoming mail.


You can also trace storeIncomingEmail service in 
CommunicationEventServices.java for more details. So eventually for now 
by uncommenting this code one can store incoming mails, received on 
email which is configure in General.Properties.


But its major purpose is to trigger MCA rules. Please let me know if you 
need any more help.


Thanks
--
Divesh


Jack Liu wrote:

Hi, All

http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+
Setup+Guide
The document tells how to configure email settings in ${ofbiz install
dir}/framework/common/config/general.properties
In ${ofbiz install dir}/framework/base/config/ofbiz-containers.xml there
is an element container named javamail-container
!-- JavaMail Listener Container - Triggers MCA Rules --
!-- if delete-mail is set to true, will delete messages after
fetching them. otherwise, will try to mark them as seen 
mail.store.protocol supports both imap and pop3, but pop3 will
not be able to mark messages as seen, so you would need to delete them 
Sounds like mail.store.protocol value should be imaps for
GMail inbound emails to work. 
Not tested found here

https://sourceforge.net/forum/message.php?msg_id=5879468 --
!-- To use the mail listerner just uncomment and go...
container name=javamail-container
class=org.ofbiz.service.mail.JavaMailContainer
property name=delegator-name value=default/
property name=dispatcher-name value=JavaMailDispatcher/
property name=run-as-user value=system/
property name=poll-delay value=30/
property name=delete-mail value=false/
property name=maxSize value=10/
property name=default-listener value=store-listener
property name=mail.store.protocol value=imap/
property name=mail.host value=[host]/
property name=mail.user value=[user]/
property name=mail.pass value=[pass]/
property name=mail.debug value=false/
/property
/container
--

I'd like to know what javamail-container is configured for?
Does it only delete mails if delete-mail is set to true?
Thanks.


Best Regards,

Jack Liu 



  




Problem in XML data export

2009-04-25 Thread Divesh Dutta

Hello all,
 Actually  when I try to do XML data export from webtools then 
I did not get supposed result. Steps which I followed:

1) Checked required Entities

2) Specified Output Directory name and file name as well

3) Depressed on Export

Result : Wrote numbers records in to XML file filename
But when  I check these records in my Desktop, I could not fine them. Is 
any one is facing same problem?


Thanks
Divesh


Re: Problem in XML data export

2009-04-25 Thread Divesh Dutta

Hello Ashish,

Thanks for your help. I was making mistake in giving path of Output 
Directory. But I tried this for  https://demo.ofbiz.org/webtools . After 
following all the steps, I could not find any file created in my 
Desktop. So I think this is again a problem.


One more thing which I noticed is, when I depress on Export button 
then file is created having the name of Entity which I exported (For my 
local instance). It should be created with the name of filename which we 
mention over there. Any suggestions are most welcome.


Thanks
--
Divesh


Ashish Vijaywargiya wrote:

Divesh  Kathy,

It is working fine for me.
Let me try to help you.
I have selected checkbox for PartyType entity and then pressed the 
Export button.


Output Directory name : /home/ashish/Desktop

Given file name : PartyTypeData.xml
  

The output I see is one file created at my desktop by name 
PartyType.xml with all the records from PartyType entity and another 
one created at the root directory of project with name 
PartyTypeData.xml with all the records.


Please let us know if you need further help on this !

--
Ashish


Kathy jones wrote:

Hello Jacques,

Even I tried to export XML data from webtools. But I am getting the results
same as Divesh. Steps I tried :

- Checked Entities

- Output Directory name : /home/kathy/Desktop

- filename : testdata

- Clicked on Export

Not found any record in Desktop. Jacques Can you please tell if we are wrong
some where. Please given your steps as well.

Thanks
--
Kathy


On Sat, Apr 25, 2009 at 3:09 PM, Jacques Le Roux 
jacques.le.r...@les7arts.com wrote:

  

No problems here (just tested with OrderItem)

Jacques

From: Divesh Dutta divesh.du...@hotwaxmedia.com

 Hello all,


Actually  when I try to do XML data export from webtools then I
did not get supposed result. Steps which I followed:
1) Checked required Entities

2) Specified Output Directory name and file name as well

3) Depressed on Export

Result : Wrote numbers records in to XML file filename
But when  I check these records in my Desktop, I could not fine them. Is
any one is facing same problem?

Thanks
Divesh


  


  




Re: Problem in XML data export

2009-04-25 Thread Divesh Dutta

 Hey BJ,

Thanks for your email.
It looks like there is something wrong with your Keyboard  I guess its 
time to fix your keyboard problem ;o).
We people don't understand the words written in Capital letters (Its 
like Animal's dancing here and there).


What do you think if we provide a checkbox titled Download on Remote 
Location ?
If that checkbox is checked then file should be downloaded on the remote 
computer.
If community agrees on this approach then I can work on this issue and 
update on the progress being made through patch.


Thanks !
--
Divesh


BJ Freeman wrote:

A SERVER DOES NOT EXPORT TO YOUR DESKTOP.
IT EXPORTS TO THE SERVER PATH AND IS SAVED ON THE SERVER.

Divesh Dutta sent the following on 4/25/2009 7:15 AM:
  

Hello Ashish,

Thanks for your help. I was making mistake in giving path of Output
Directory. But I tried this for  https://demo.ofbiz.org/webtools . After
following all the steps, I could not find any file created in my
Desktop. So I think this is again a problem.

One more thing which I noticed is, when I depress on Export button
then file is created having the name of Entity which I exported (For my
local instance). It should be created with the name of filename which we
mention over there. Any suggestions are most welcome.

Thanks
--
Divesh


Ashish Vijaywargiya wrote:


Divesh  Kathy,

It is working fine for me.
Let me try to help you.
I have selected checkbox for PartyType entity and then pressed the
Export button.

Output Directory name : /home/ashish/Desktop

Given file name : PartyTypeData.xml
 
The output I see is one file created at my desktop by name

PartyType.xml with all the records from PartyType entity and another
one created at the root directory of project with name
PartyTypeData.xml with all the records.

Please let us know if you need further help on this !

--
Ashish


Kathy jones wrote:
  

Hello Jacques,

Even I tried to export XML data from webtools. But I am getting the
results
same as Divesh. Steps I tried :

- Checked Entities

- Output Directory name : /home/kathy/Desktop

- filename : testdata

- Clicked on Export

Not found any record in Desktop. Jacques Can you please tell if we
are wrong
some where. Please given your steps as well.

Thanks
--
Kathy


On Sat, Apr 25, 2009 at 3:09 PM, Jacques Le Roux 
jacques.le.r...@les7arts.com wrote:

 


No problems here (just tested with OrderItem)

Jacques

From: Divesh Dutta divesh.du...@hotwaxmedia.com

 Hello all,
   
  

Actually  when I try to do XML data export from webtools
then I
did not get supposed result. Steps which I followed:
1) Checked required Entities

2) Specified Output Directory name and file name as well

3) Depressed on Export

Result : Wrote numbers records in to XML file filename
But when  I check these records in my Desktop, I could not fine
them. Is
any one is facing same problem?

Thanks
Divesh


  

  




  




Re: getNextSequenceId without discontinuity

2009-04-24 Thread Divesh Dutta

Hello Charles,
 Please see my comments inline:

STELTZLEN Charles wrote:

Hi,

I'am using a getNextSequenceId to generate my id for invoice entity.

My problem is that the specifications of my client include the fact 
that the invoice id must have any discontinuity in these sequences 
(1, 2, 3,...).
 I hope you missed not here. 


For my knowlegde of ofbiz, the actual getNextSequence don't guaranted 
this requirement (don't check the highest sequence before giving a 
sequence).


Am I wrong ?
   Code snippet from line 370-377 in OrderReturnServices.xml may be of 
help (in latest revision, 768297). Here returnItemSeqId is generated in 
continuity.


Is there something that can fit my whishes in ofbiz standard ?

Charles.


Thanks



Re: Question about Offbiz document and process

2009-04-06 Thread Divesh Dutta

Hello,
 You may get list of recent changes which are done in OFBiz here in 
this document : http://docs.ofbiz.org/display/OFBIZ/Main+New+features. 
This list contains monthly updates from October 2007- till date.


Thanks
Divesh

Ambient Solution wrote:

Hi,

 After searching Document repository , I am not able to find all feature of
offbiz Listed in a single or multiple Doc. Does any one have those document
, Please pass to me.
 Also I visit  Feature list section on offbiz site , It was updated on 03
August 2004 Edited by Les Austin, after that this feature list is not
updated.


  Does offbiz maintain its use case and tech-spec document which include
requirement and implementation of that requirement in offbiz. If yes please
pass those thing to me.

 In offbiz workarea Is there any place where offbiz Ddeveloper/Designer are
keeping their changes list and publishing with the release notes which
include change type and the file name , Even those are for resolution for
error. I think this will help to resolve issue when migrating from old
version to new verison.

After a release ,does offbiz community do analysis and  create a feature  or
change list for new version  or  all changes or features are added on adhoc
basis as per the developer or user requirement.


  




Re: Removing applications from OfBiz

2009-04-05 Thread Divesh Dutta

Hello Mustansar,
You can not remove the any of the complete application. 
Each module is related to another module one or other way. Yes but if 
you do not want them in your UI to appear. Then you can go into the 
ofbiz-component.xml of that particular application and set 
app-bar-display=false in webapp tag. Hope this may help you.


Thanks
Divesh


Mustansar Mehmood wrote:

Dear ALL,
   My company(a service company) is considering ofbiz as 
their ERP/CRM/accounts Receivable  system but Ofbiz seems to have a 
few things that my company will not be using for instance E commerce 
or Manufacturing/. How do we removed those  applications ? and keep it 
running stable.

Regards,
Mustansar Mehmood




Re: JOB scheduling in Ofbiz

2009-03-26 Thread Divesh Dutta

Hello Vinu,
In serviceengine.xml , you may find, !-- Start-Up Services -- 
section which is commented out. Here you may also find one example:
Here is the code snippet:  startup-service name=testScv 
runtime-data-id=9900 runtime-delay=0 run-in-pool=pool/

This service will run every time when OFBiz starts. Hope this may help you.

Thanks
Divesh

Vinu Varghese wrote:

Hi

I checked http://docs.ofbiz.org/display/OFBTECH/Service+Engine+Guide  
section Job Scheduler. My query is can I have a Job scheduled when 
Ofbiz starts running, Is there any hook for this?


regards
Vinu





Re: One view entity member of another view entity

2009-03-23 Thread Divesh Dutta

Looking at very first mail will help to understand the question.

Thanks
Divesh


BJ Freeman wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

What seems to be the problem
what is not working


Pranay Pandey sent the following on 3/23/2009 3:45 AM:
  

Here for reference I am posting the view entity which has been created
and log I got while fetching records.

view-entity entity-name=OrderItemAndFacilityLocation
package-name=org.ofbiz.product.facility title=Order Item And Facility
Location View Entity
member-entity entity-alias=SMT entity-name=ShipmentMethodType/
member-entity entity-alias=OISG entity-name=OrderItemShipGroup/
member-entity entity-alias=OI entity-name=OrderItem/
member-entity entity-alias=PFLV
entity-name=ProductFacilityLocationView/
alias entity-alias=OISG name=orderId/
alias entity-alias=OISG name=shipGroupSeqId/
alias entity-alias=OISG name=shipmentMethodTypeId/
alias entity-alias=OISG name=carrierPartyId/
alias entity-alias=OI name=productId/
alias entity-alias=OI name=orderItemSeqId/
alias entity-alias=PFLV name=locationSeqId/
alias entity-alias=PFLV name=locationTypeEnumId/
view-link entity-alias=PFLV rel-entity-alias=OI
  key-map field-name=productId/
/view-link
view-link entity-alias=OI rel-entity-alias=OISG
  key-map field-name=orderId/
/view-link
view-link entity-alias=OISG rel-entity-alias=SMT
  key-map field-name=shipmentMethodTypeId/
/view-link
relation type=one-nofk rel-entity-name=ShipmentMethodType
  key-map field-name=shipmentMethodTypeId/
/relation
  /view-entity


and log:

SELECT OISG.ORDER_ID, OISG.SHIP_GROUP_SEQ_ID,
OISG.SHIPMENT_METHOD_TYPE_ID, OISG.CARRIER_PARTY_ID, OI.PRODUCT_ID,
OI.ORDER_ITEM_SEQ_ID, PFLV.PFL_LOCATION_SEQ_ID,
PFLV.FL_LOCATION_TYPE_ENUM_ID FROM (((SELECT PFL.PRODUCT_ID AS
PFL_PRODUCT_ID, PFL.FACILITY_ID AS PFL_FACILITY_ID, PFL.LOCATION_SEQ_ID
AS PFL_LOCATION_SEQ_ID, PFL.MINIMUM_STOCK AS PFL_MINIMUM_STOCK,
PFL.MOVE_QUANTITY AS PFL_MOVE_QUANTITY, FL.LOCATION_TYPE_ENUM_ID AS
FL_LOCATION_TYPE_ENUM_ID, FL.AREA_ID AS FL_AREA_ID, FL.AISLE_ID AS
FL_AISLE_ID, FL.SECTION_ID AS FL_SECTION_ID, FL.LEVEL_ID AS FL_LEVEL_ID,
FL.POSITION_ID AS FL_POSITION_ID FROM OFBIZ.PRODUCT_FACILITY_LOCATION
PFL INNER JOIN OFBIZ.FACILITY_LOCATION FL ON PFL.FACILITY_ID =
FL.FACILITY_ID AND PFL.LOCATION_SEQ_ID = FL.LOCATION_SEQ_ID) PFLV INNER
JOIN OFBIZ.ORDER_ITEM OI ON PFLV.PFL_PRODUCT_ID = OI.PRODUCT_ID) INNER
JOIN OFBIZ.ORDER_ITEM_SHIP_GROUP OISG ON OI.ORDER_ID = OISG.ORDER_ID)
INNER JOIN OFBIZ.SHIPMENT_METHOD_TYPE SMT ON
OISG.SHIPMENT_METHOD_TYPE_ID = SMT.SHIPMENT_METHOD_TYPE_ID WHERE
(OISG.ORDER_ID = ? AND PFLV.FL_LOCATION_TYPE_ENUM_ID = ? AND
OI.ORDER_ITEM_SEQ_ID = ?) ORDER BY OI.ORDER_ITEM_SEQ_ID ASC
=

Thanks  Regards
--
Pranay Pandey


On Mar 23, 2009, at 3:51 PM, Pranay Pandey wrote:



Hello All,

Please help me in  understanding that is it feasible to use one view
entity as a member entity into another view entity?

I have tried to do so and saw the log for prepared statement in
SQLProcessor.java.  Found that there are so many inner joins in the
query on console.

Thanks in advance for any help.

Regards
--
Pranay Pandey



  

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJx3DNrP3NbaWWqE4RAoz6AJ9BNX4Y0PQRd90kWGv1KoGQSalAGwCcDt7Z
CVCddvLEPo2pt3rGy1S5j64=
=02uo
-END PGP SIGNATURE-
  




Issue in WebslingerCatalinaContainer.java

2009-03-21 Thread Divesh Dutta

Hello,
   I am getting complation error, after running OFBiz in latest 
revision. This is because 
(org.webslinger.catalina.WebslingerAccessLogValve)  package is imported 
in WebslingerCatalinaContainer.java . But this Package does not exist.


Thanks
Divesh


Re: delegator.finlist method doesn't work in ftl

2009-03-20 Thread Divesh Dutta

+1

Thanks
-Divesh

Pranay Pandey wrote:

Thanks Hans,

Here is the url: https://localhost:8443/projectmgr/control/EditProjectSkills

Thanks  Regards
--
Pranay Pandey



- Hans Bakker mailingl...@antwebsystems.com wrote:

  

From: Hans Bakker mailingl...@antwebsystems.com
To: user@ofbiz.apache.org
Sent: Friday, March 20, 2009 2:19:02 PM GMT +05:30 Chennai, Kolkata, Mumbai, 
New Delhi
Subject: Re: delegator.finlist method doesn't work in ftl

skill type within project manager is working fine here as i can
see...
please give me the url and i will have a look

On Fri, 2009-03-20 at 03:32 -0500, Pranay Pandey wrote:


Hello David,

Arun is referring to the existing ftl which is in OFBiz trunk, so
  

IMO we should improve the code for those screens in which this has
been used in ftls. There are 3 ftls from projectmgr which uses this.


Thanks  Regards
--
Pranay Pandey

- David E Jones david.jo...@hotwaxmedia.com wrote:

  

From: David E Jones david.jo...@hotwaxmedia.com
To: user@ofbiz.apache.org
Sent: Friday, March 20, 2009 1:39:47 PM GMT +05:30 Chennai,


Kolkata, Mumbai, New Delhi


Subject: Re: delegator.finlist method doesn't work in ftl

Why are you calling it in the FTL file and not in an action in the

 


screen definition (the normal place to do data preparation, FTL is

 


just for layout of prepared data).

-David


On Mar 20, 2009, at 12:17 AM, Arun Patidar wrote:



Hello all,

When I try to access this request
  
https://localhost:8443/projectmgr/control/EditProjectSkills 


, getting error.
IMO this is because we can not use delegator.findList method in
  

ftl.

This has been used like this: #assign skillTypes =  
delegator.findList(SkillType, null, null, null, null, false)
If I use it like #assign skillTypes =  
delegator.findList(SkillType, NULL, NULL, NULL, NULL, false) 
  
 


then it works fine.
Do we need to change something at framework level.

Here is the log:

Method public java.util.List  
org 
.ofbiz 
.entity 
.GenericDelegator 
.findList 
(java 
.lang 
.String 
,org 
.ofbiz 
.entity 
.condition 
.EntityCondition 
,java 
.util 

  

.Set,java.util.List,org.ofbiz.entity.util.EntityFindOptions,boolean)

 


throws org.ofbiz.entity.GenericEntityException threw an
  
exception  

when invoked on org.ofbiz.entity.genericdelega...@10b51f4 The  
problematic instruction: -- == assignment:  
skillTypes=delegator.findList(SkillType, null, null, null,
  
null, 


false) [on line 36, column 13 in component://projectmgr/webapp/
  
projectmgr/project/editProjectskills.ftl] -- Java
  
backtrace 

for programmers: --  
freemarker.template.TemplateModelException: Method public  
java.util.List  
org 
.ofbiz 
.entity 
.GenericDelegator 
.findList 
(java 
.lang 
.String 
,org 
.ofbiz 
.entity 
.condition 
.EntityCondition 
,java 
.util 

  

.Set,java.util.List,org.ofbiz.entity.util.EntityFindOptions,boolean)

 


throws org.ofbiz.entity.GenericEntityException threw an
  
exception  

when invoked on org.ofbiz.entity.genericdelega...@10b51f4 at  

  

freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:

130) at  

  
freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) 


at
  

freemarker.core.Expression.getAsTemplateModel(Expression.java:89)

 

at freemarker.core.Assignment.accept(Assignment.java:90) at  
freemarker.core.Environment.visit(Environment.java:209) at  
freemarker.core.MixedContent.accept(MixedContent.java:92) at  
freemarker.core.Environment.visit(Environment.java:209) at  
freemarker.core.Environment.process(Environment.java:189) at



Please correct me if I am wrong.

Thanks  Regards
--
Arun Patidar
  

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





Re: user interface

2009-03-20 Thread Divesh Dutta

One of the example of form widget, which may help you is ProductForms.xml

Thanks
-Divesh

Divesh Dutta wrote:

Hello,
1)You can make changes in .ftl file to change the user interface. 
There also exist form-widget in OFBiz, from where you can change user 
interface. Some places .ftl files are used and in some places 
form-widget is used.

2) .groovy are used for data preparation  logic.
3).bsh are not used in ofbiz now (Though some where it still exists, 
but .groovy files are used instead of .bsh)

4) Reading this link will help you to learn more:
http://docs.ofbiz.org/display/OFBIZ/OFBiz+Beginners+Development+Guide+Using+Practice+Application+(helloworld) 



Thanks
Divesh

lahmar wrote:

hello,

i am new in ofbiz. I would like to know how can i change the user 
interface
(for ex : modify a form by replacing the fields and add new fields) 
What is

the files that i must modify (file.java or file.ftl or file.bsh)?

thanks for all. (excuse for my bad english)
  






Re: user interface

2009-03-20 Thread Divesh Dutta

Hello,
1)You can make changes in .ftl file to change the user interface. There 
also exist form-widget in OFBiz, from where you can change user 
interface. Some places .ftl files are used and in some places 
form-widget is used.

2) .groovy are used for data preparation  logic.
3).bsh are not used in ofbiz now (Though some where it still exists, but 
.groovy files are used instead of .bsh)

4) Reading this link will help you to learn more:
http://docs.ofbiz.org/display/OFBIZ/OFBiz+Beginners+Development+Guide+Using+Practice+Application+(helloworld)

Thanks
Divesh

lahmar wrote:

hello,

i am new in ofbiz. I would like to know how can i change the user interface
(for ex : modify a form by replacing the fields and add new fields) What is
the files that i must modify (file.java or file.ftl or file.bsh)?

thanks for all. (excuse for my bad english)
  




Re: user interface

2009-03-20 Thread Divesh Dutta
You server may not be started properly or your build may be failed. 
Clean the database and run (ant run-install) to reload the database. 
This may solve your problem.


Thanks
Divesh

lahmar wrote:

Thk for your response,
i used this link
http://docs.ofbiz.org/display/OFBIZ/OFBiz+Beginners+Development+Guide+Using+Practice+Application+(helloworld).

but when i arrived at step10. i had this msg : 
HTTP Status 404 - /practice/control/main

type Status report

message /practice/control/main.

Note i use eclipse in windows vista to run the project.

thks.

  




Re: delegator.finlist method doesn't work in ftl

2009-03-20 Thread Divesh Dutta

Hello all,
   Major concern was that findList method should not be 
used in .ftl files. But it is used in EditTimeEntry.ftl,  
edittasklist.ftl and in editProjectskills.ftl. And following .ftl files 
are not used in any where. So I think this should be cleaned up if it is 
not of use:

1) EditTimeEntry.ftl
2) edittasklist.ftl

And if EditProjectSkills request is not used in any of the link then 
entries related to this should also be cleaned up from controller.xml of 
projectmgr.


Thanks
-Divesh

BJ Freeman wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hans I just ran this against the trunk and it is there.


Pranay:
I looked at the log and see no errors.

Hans Bakker sent the following on 3/20/2009 3:09 AM:
  

But you did not tell where this was used, apparently not?

The simplest solution is to simply delete these files because they are
not usedthey are left overs from a previous version of the project
manager

Regards,
Hans

On Fri, 2009-03-20 at 04:58 -0500, Pranay Pandey wrote:


Thanks Hans for looking into it.

Let me explain whats happening.
Url which you have given is:
https://localhost:8443/projectmgr/control/EditTaskSkills?workEffortId=9103
Your url points to the view TaskScreens.xml#EditTaskSkills in which ftl has not 
been used its using form widget.

and In my url I am referring to following request and view:

request-map uri=EditProjectSkills
security https=true auth=true/
response name=success type=view value=EditProjectSkills/
/request-map

view-map name=EditProjectSkills type=screen 
page=component://projectmgr/widget/ProjectScreens.xml#EditProjectSkills/


Which referes to an ftl by name editProjectskills.ftl. In this file findList has been used and thats not working. 



Thanks  Regards
--
Pranay Pandey

- Hans Bakker mailingl...@antwebsystems.com wrote:

  

From: Hans Bakker mailingl...@antwebsystems.com
To: user@ofbiz.apache.org
Sent: Friday, March 20, 2009 3:03:35 PM GMT +05:30 Chennai, Kolkata, Mumbai, 
New Delhi
Subject: Re: delegator.finlist method doesn't work in ftl

Hi Pranay,
this is very interesting because i cannot find this url on any link
in
the systemfurther, skills are defined on the task level for
example:
https://localhost:8443/projectmgr/control/EditTaskSkills?workEffortId=9103
and there it is working fine.

so i am very puzzled how you get to this link using the menus..
In the trunk version there are no projectskills

Regards,
Hans

On Fri, 2009-03-20 at 04:03 -0500, Pranay Pandey wrote:


Thanks Hans,

Here is the url:
  

https://localhost:8443/projectmgr/control/EditProjectSkills


Thanks  Regards
--
Pranay Pandey



- Hans Bakker mailingl...@antwebsystems.com wrote:

  

From: Hans Bakker mailingl...@antwebsystems.com
To: user@ofbiz.apache.org
Sent: Friday, March 20, 2009 2:19:02 PM GMT +05:30 Chennai,


Kolkata, Mumbai, New Delhi


Subject: Re: delegator.finlist method doesn't work in ftl

skill type within project manager is working fine here as i can
see...
please give me the url and i will have a look

On Fri, 2009-03-20 at 03:32 -0500, Pranay Pandey wrote:


Hello David,

Arun is referring to the existing ftl which is in OFBiz trunk,
  

so


IMO we should improve the code for those screens in which this


has


been used in ftls. There are 3 ftls from projectmgr which uses


this.


Thanks  Regards
--
Pranay Pandey

- David E Jones david.jo...@hotwaxmedia.com wrote:

  

From: David E Jones david.jo...@hotwaxmedia.com
To: user@ofbiz.apache.org
Sent: Friday, March 20, 2009 1:39:47 PM GMT +05:30 Chennai,


Kolkata, Mumbai, New Delhi


Subject: Re: delegator.finlist method doesn't work in ftl

Why are you calling it in the FTL file and not in an action in


the

 


screen definition (the normal place to do data preparation,


FTL is

 


just for layout of prepared data).

-David


On Mar 20, 2009, at 12:17 AM, Arun Patidar wrote:



Hello all,

When I try to access this request
  
https://localhost:8443/projectmgr/control/EditProjectSkills 


, getting error.
IMO this is because we can not use delegator.findList method
  

in


ftl.

This has been used like this: #assign skillTypes =  
delegator.findList(SkillType, null, null, null, null,
  

false)

If I use it like #assign skillTypes =  
delegator.findList(SkillType, NULL, NULL, NULL, NULL,
  
false) 

 


then it works fine.
Do we need to change something at framework level.

Here is the log:

Method public java.util.List  
org 
.ofbiz 
.entity 
.GenericDelegator 
.findList 
(java 
.lang 
.String 
,org 
.ofbiz 
.entity 
.condition 
.EntityCondition 
,java 

New field: desiredDeliveryDate

2009-03-19 Thread Divesh Dutta

Hello All,
As I started this discussion on Dev mailing list because I 
proposed  new field desiredDeliveryDate to be introduce in OFBiz. But 
after getting BJ's comment I am redirecting it to User maililng list. I 
have little confusion regarding the dates which are used in OFBiz. For 
example :
1) DesiredDeliveryDate which is asked to user , while creating an 
Purchase Order .
Result : When Order is created then, this date is saved  in  
estimatedDeliveryDate in OrderItem.


2) While editing the Order in orderdetail page, when user appends order 
items in Order then again DesiredDeliveryDate is asked to user

Result: Now this Date is saved  in shipBeforeDate.

3) And As new feature which was introduced recently in OFBiz where Buyer 
can record Estimated Delivery Date from UI in which is given by Supplier.

Result : Now this date is again saved in estimatedDeliveryDate

4) While creating shipment from Order detail page
Result : Estimated Delivery Date is saved in estimatedArrivalDate .

So purpose of these dates are quite confusing. I think We should have:

1) one more field in OrderItem entity  called desiredDeliveryDate and  
its purpose should be like  desired Delivery date which user wants, 
while creating an Order or while adding items in Order after creating it.
2)  estimatedDeliveryDate : Its purpose should be like Buyer can record 
estimatedDeliveryDate which is told by Supplier.


Thanks
-Divesh


Re: List size in OFBiz

2009-03-17 Thread Divesh Dutta

Hello Kathy,
   It was bit tricky. I just searched for listsize in xml. This 
code may help :

set field=listSize value=0 type=Long/
if-not-empty field=maintList
set field=listSize value=${util:size(maintList)} type=Long/
/if-not-empty

Thanks
-Divesh



Kathy jones wrote:

Hello all,
 Is there any way to count or get size of list in OFBiz. Please
help.

Thanks
-Kathy

  




Re: About automatic purchase order ship and receive

2009-03-02 Thread Divesh Dutta

Hello Liu,
Now in OFBiz , When Purchase Order is placed, Order is in 
ORDER_CREATED status and item in order is in ITEM_CREATED status. So 
when user clicks on link of  Approve Order then, Order is in 
ORDER_APPROVED status and item in Order is in ITEM_APPROVED status. So 
according to your service when ever user Clicks on Approve Order link, 
Shipment will be created automatically and Inventory will also be 
received automatically. And if receive is successfull then Order will be 
in Complete status. But if user approves the order and if he wish to 
edit items or add more items in order after that. Then your service will 
be  killing this process.
 Presently if User clicks on 
Approve Order then an option occurs for Quick Receive Purchase Order. 
This is a multi process step where Shipment is created first and then 
Order items are received for this Shipment. So to automate this process, 
we can have functionality like when user clicks on Quick Receive 
Purchase Order then quickShipPurchaseOrder and receiveInventoryProduct 
should be called automatically. And so this multi step process can be 
reduced to single step process.

  Lets see what community says on this.

Thanks
-Divesh



Hi all,

We have implement automatically purchase order ship and receive

by the follow step,

1. Create a customize service and invoke service quickShipPurchaseOrder and
receiveInventoryProduct

2. Add a customize eca service as below to invoke this new defined service.

eca service=*changeOrderItemStatus* event=*commit*
  condition field-name=*statusId* operator=*equals* value=*
ITEM_APPROVED* /
  action service=*automaticReceivePurchaseOrder* mode=*sync* /
/eca

So does anybody also did this kind of change before and can u advice us that
whether there would be any impact to the out-of-the-box process for this
change?

Regards,
Liu Xiangqian

Wizitsoft Information Technology Ltd.
www.wizitsoft.com | (86) 010-62670653 ext 614

  




Why LookupBulkAddSupplierProducts functionality is disabled?

2009-02-23 Thread Divesh Dutta

Hello Hans,
 In commit revision number 746158, you have commented  this 
part of code :
#--a 
href=javascript:quicklookup(document.quickaddform.add_product_id) 
class=buttontext${uiLabelMap.OrderQuickLookup}/a--  in  
ordermgr/entry/cart/showcart.ftl
After commenting this code, user can not get option of adding bulk 
products into the cart (in case of Purchase order). I think its good to 
have back this functionality so that user can have choice, to add bulk 
products or single product into the cart.


Thanks
-Divesh


Re: Why LookupBulkAddSupplierProducts functionality is disabled?

2009-02-23 Thread Divesh Dutta

 Well Hans,
  LookupBulkAddSupplierProducts is already a request made in 
controller.xml of Ordermgr. And this request open up a 
LookupBulkAddSupplierProducts form, present in OrderEntryForms.xml which 
shows the products dependent on supplier selected. Now, it is useful 
because when user want to add multiple products into the cart then this 
is the best way to do that. Otherwise user can  add only one product at 
a time .  And if  he  want  to  add  more than one product into the cart 
then he needs to click on lookup multiple times. I think this helps you 
to understand. Please let me know if I can help you more.


Thanks
-Divesh



All my customers are very confused by this option both in the sales
order and purchase order and i have disabled it many times here locally.

This time i have forgot it to put it back. But if you think it is useful
feel free to change it back. I would appreciate to know why you think it
is useful, remember that especially in the purchase order the products
are dependent on the supplier selected.

Regards,
Hans

On Mon, 2009-02-23 at 15:10 +0530, Divesh Dutta wrote:
  

Hello Hans,
  In commit revision number 746158, you have commented  this 
part of code :
#--a 
href=javascript:quicklookup(document.quickaddform.add_product_id) 
class=buttontext${uiLabelMap.OrderQuickLookup}/a--  in  
ordermgr/entry/cart/showcart.ftl
After commenting this code, user can not get option of adding bulk 
products into the cart (in case of Purchase order). I think its good to 
have back this functionality so that user can have choice, to add bulk 
products or single product into the cart.


Thanks
-Divesh





Re: The following required parameter is missing: [IN]

2009-02-09 Thread Divesh Dutta

Could you please post the code snippet of service which you are using?

Divesh

Could you please post the controller.xml entries?

Jacopo

On Feb 9, 2009, at 11:59 AM, Roel Veldhuizen wrote:


I made a form to add a basic person ( firstname, lastname). But
(Although the main functionality of the form works, it's adding a
person) the following errors occur:

The Following Errors Occurred:
The following required parameter is missing: [IN] 
[createPerson.firstName]
The following required parameter is missing: [IN] 
[createPerson.lastName]


Why do they occur?

Form:
   form name=createPerson type=single target=createPerson
   field name=firstNametext//field
   field name=lastNametext//field
   field name=submitsubmit//field
   /form

Widget:
   screen name=createPerson
   section
   widgets
   decorator-screen name=main-decorator
location=${parameters.mainDecoratorLocation}
   decorator-section name=body
   include-form name=createPerson
location=component://crm/widget/CrmForms.xml/
   /decorator-section
   /decorator-screen
   /widgets
   /section
   /screen

Thanks in advance,

Roel Veldhuizen






Re: The following required parameter is missing: [IN]

2009-02-09 Thread Divesh Dutta

Hello Roel,
In Your Service Definition you have not defined the in 
Parameters. Also In controller entry you dont need to make enrty for 
Handlers and Pre-processors as you have included common-controller and 
this entries are already their. Please see my amendment inline. Also 
write code for creating Party first and then go for creating Person.Also 
see example component for reference as suggested by Pranay.

-Divesh


Hereby, the service and the controller

Service:
service name=createPerson default-entity-name=Person
engine=entity-auto invoke=create auth=true
descriptionCreate a Person/description
/service
  

attribute type=String mode=IN name=firstName optional=false/
attribute type=String mode=IN name=lastName optional=false/


Controller:
?xml version=1.0 encoding=UTF-8 ?

site-conf xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:noNamespaceSchemaLocation=http://www.ofbiz.org/dtds/site-conf.xsd;

include 
location=component://common/webcommon/WEB-INF/common-controller.xml/

descriptionCRM Configuration File/description
ownerOpen For Business Project (c) 2005 /owner
errorpage/error/error.jsp/errorpage

handler name=java type=request
class=org.ofbiz.webapp.event.JavaEventHandler/
handler name=soap type=request
class=org.ofbiz.webapp.event.SOAPEventHandler/
handler name=service type=request
class=org.ofbiz.webapp.event.ServiceEventHandler/
handler name=service-multi type=request
class=org.ofbiz.webapp.event.ServiceMultiEventHandler/
handler name=simple type=request
class=org.ofbiz.webapp.event.SimpleEventHandler/

handler name=ftl type=view
class=org.ofbiz.webapp.ftl.FreeMarkerViewHandler/
handler name=jsp type=view
class=org.ofbiz.webapp.view.JspViewHandler/
handler name=screen type=view
class=org.ofbiz.widget.screen.ScreenWidgetViewHandler/

handler name=http type=view
class=org.ofbiz.webapp.view.HttpViewHandler/

preprocessor
!-- Events to run on every request before security (chains exempt) --
!-- event type=java
path=org.ofbiz.webapp.event.TestEvent invoke=test/ --
event type=java
path=org.ofbiz.securityext.login.LoginEvents
invoke=checkExternalLoginKey/
/preprocessor
postprocessor
!-- Events to run on every request after all other processing
(chains exempt) --
!-- event type=java
path=org.ofbiz.webapp.event.TestEvent invoke=test/ --
/postprocessor


!-- Request Mappings --

!-- normal mappings --
request-map uri=main
security https=true auth=true/
response name=success type=view value=main/
response name=error type=view value=main/
/request-map

request-map uri=person
   security https=true auth=true/
   response name=success type=view value=person/
   response name=error type=view value=main/
/request-map

request-map uri=createPerson
security https=true auth=true/
event type=service invoke=createPerson/
response name=success type=view value=createPerson/

/request-map

   !-- end of request mappings --

   !-- View Mappings --

   view-map name=main type=screen
page=component://crm/widget/CrmScreens.xml#main/
   view-map name=person type=screen
page=component://crm/widget/CrmScreens.xml#person/
   view-map name=createPerson type=screen
page=component://crm/widget/CrmScreens.xml#createPerson/
   !-- end of view mappings --

/site-conf

2009/2/9 Divesh Dutta divesh.du...@hotwaxmedia.com:
  

Could you please post the code snippet of service which you are using?

Divesh


Could you please post the controller.xml entries?

Jacopo

On Feb 9, 2009, at 11:59 AM, Roel Veldhuizen wrote:

  

I made a form to add a basic person ( firstname, lastname). But
(Although the main functionality of the form works, it's adding a
person) the following errors occur:

The Following Errors Occurred:
The following required parameter is missing: [IN]
[createPerson.firstName]
The following required parameter is missing: [IN] [createPerson.lastName]

Why do they occur?

Form:
  form name=createPerson type=single target=createPerson
  field name=firstNametext//field
  field name=lastNametext//field
  field name=submitsubmit//field
  /form

Widget:
  screen name=createPerson
  section
  widgets
  decorator-screen name=main-decorator
location=${parameters.mainDecoratorLocation}
  decorator-section name=body
  include-form name=createPerson
location=component://crm/widget/CrmForms.xml/
  /decorator-section
  /decorator-screen
  /widgets
  /section
  /screen

Thanks in advance,

Roel Veldhuizen






Re: Form-Widget call multiple services?

2009-02-05 Thread Divesh Dutta
Please see my amendments inline: I think thsi may help you,please let me 
know:

Well, let me sum this up (I am really hoping that somebody could hint me to
my mistake in this logic). I did the following:

1) I added the following to the controller: 


request-map uri=createCategoryI18nAndRollup

security https=true auth=true/
event type=service invoke=createCategoryI18nAndRollup/
response name=success type=view value=categories/
/request-map


2) I added the following to my service_groups.xml file:

group name=createCategoryI18nAndRollup send-mode=all 
invoke name=createCategoryI18n mode=sync
result-to-context=true/
invoke name=createCategoryRollupI18n mode=sync/
/group
  
   


  invoke name=createCategoryRollupI18n mode=async/

   
 
3) I added the following to the service xml file:

  service name=createCategoryI18n default-entity-name=ProductCategory
engine=entity-auto invoke=create auth=true
descriptionCreate a Category/description
permission-service 
service-name=exampleGenericPermission
main-action=CREATE/
auto-attributes include=pk mode=OUT 
optional=false/
auto-attributes include=nonpk mode=INOUT 
optional=true/
 override name=productCategoryId 
optional=false/


/service

  
   service name=createCategoryRollupI18n

default-entity-name=ProductCategoryRollup engine=entity-auto
invoke=create auth=true
descriptionCreate a Category Rollup/description
permission-service 
service-name=exampleGenericPermission
main-action=CREATE/
auto-attributes include=pk mode=INOUT 
optional=false/
auto-attributes include=nonpk mode=IN 
optional=true/
/service
  
  


  auto-attributes include=pk mode=INOUT 
optional=true/



service name=createCategoryI18nAndRollup engine=group
location=createCategoryI18nAndRollup invoke= auth=true
descriptionCreates a WorkEffort entity and
WorkEffortAssoc/description
/service


4) I added the following form: 


 form name=test target=createCategoryI18nAndRollup type=single 

	!-- Create Category --

field name=productCategoryId title=
display/
/field
	
	field name=productCategoryTypeId 

hidden value=QUICKADD_CATEGORY /
/field

!-- Add ParentRollup --
field name=fromDate 
date-time type=timestamp default-value=${nowTimestamp}/
/field
	  
	 field name=parentProductCategoryId

title=${uiLabelMap.FormFieldTitle_parentCategoryId}
tooltip=tooltip-text
drop-down allow-empty=false current-description= 
current=selected no-current-selected-key=guys 

entity-options description=${categoryName}
key-field-name=productCategoryId
entity-name=ProductCategoryRollupAndChild
entity-constraint name=parentProductCategoryId
operator=equals value=bproot/ 
entity-order-by field-name=categoryName/

/entity-options
/drop-down
/field
	
	
	field name=submitButton title=${uiLabelMap.CommonAdd}submit

button-type=button//field
/form
 




With all of the above I want to: 


a) create a new ProductCategory
b) Create a new ProductCategoryRollup, where the parentProductCategoryId and
the fromDate is specified in the form


I really don't think that I got it ALL wrong, I just think that there might
be a mistake in my logic that I simply cannot grasp...
  


Thanks
Divesh



Re: want to change username and password

2009-02-03 Thread Divesh Dutta

 Hello Ansh,
One amendment in Ashish's answer.When you run ant 
run-install command you dont need to run ant create-admin-user-login 
command because when you run ant run-install user login with admin and 
password with ofbiz will be created.When you install seed data or run 
ant run-install-extseed then you need to run ant create-admin-user-login 
command.


Thanks
Divesh

Hello Ansh,

Please follow these steps:

1) Take latest ofbiz update from svn using svn up command.
2) Run ant clean-all command to clean temporarily used files.
3) Run ant run-install command.
4) Run ant create-admin-user-login command  follow what i told 
earlier.The username you provide while using this command will only be 
the administrator for your project.(There will not be any else admin 
user than this)

5) Run webtools or other backoffice applications to change the password.

Please do not create new threads  demolish previous replies. Let me 
know if any queries.


Regards:
- -
Ashish Nagar

ansh jain wrote:

dear sir,

i face this problem when i follow the ashish nagar sir's instruction 
that is



The Following Errors Occurred:

error following occurred during login:

so please tell me how to solve this problem





On Tue, Feb 3, 2009 at 12:09 PM, Deepesh Kapoor 
deepesh.kap...@hotwaxmedia.com wrote:

 

Ansh ,

Please take ofbiz update before you follow the steps provided by Ashish
earlier. Let me know if you still face any problem.

Regards
- -
Deepesh



Ashish Nagar wrote:

   

Hello Ansh,

Please refer to my previous reply. ant create-admin-user-login 
command
creates new /admin /user.The name of this user will be same as what 
you
provided while running this command. Now this user will have all 
privileges

that admin user had before.
Let me know if anything is not clear to you.

Regards:
--
Ashish Nagar

ansh jain wrote:

 
i want to change username from admin to other name, can any one 
help me

for
tht



   
  





  


  







Ecommerce: Error in one Page checkout

2009-02-03 Thread Divesh Dutta

Hello ,
 While running One page checkout in Ecommerce (in case of 
anonymous user) , I am getting error while submitting shipping 
information. Its working fine in revision number 739740.But its not 
working from revision number 739743.


Thanks
Divesh


Re: What is the use of ProductFeatureIactn entity

2009-01-28 Thread Divesh Dutta

Hello Amit,
Generally ProductFeatureIactn entity  provides the capability 
to store which features are incompatible with other features.And 
productFeatureIactnTypeId=FEATURE_IACTN_INCOMP shows that two features 
are incompatible.You can get more detail from page number 78 of data 
model book.You might be knowing this.May be you are asking some thing 
else related to this entity.

Please let us know if this does not solve your problem.
Regards
Divesh.

Hello all,

I was reviewing DemoProduct.xml of ecommerce.

Can anybody tell me what is the use of  ProductFeatureIactn entity.


Thanks and Regards

Amit Sharma




Associate product with carrier party Id

2009-01-06 Thread Divesh Dutta
Hello all, 
   I want to associate product with specific carrier party Id.Is there 
any way to do so? My major concern is to identify some products whether they 
are FEDEX shippable or not?

Thanks in advance
Regards
Divesh Dutta


Re: Associate product with carrier party Id

2009-01-06 Thread Divesh Dutta
Thanks David.Thing is clear to me,and this solves my issue.

Regards
Divesh Dutta



- David E Jones david.jo...@hotwaxmedia.com wrote:

| For modeling concerns the most important question related to this is: 
| 
| what does is mean to be FedEx Shippable? (ie what are the actual rules
|  
| that determine if something is FedEx shippable or not)
| 
| With those rules you can look at the two common options:
| 
| 1. if the data for the factors in the rules is already in the system 
| 
| then you can write code to automatically determine if each product is 
| 
| FedEx Shippable or not
| 
| 2. if the data is not available in the system, and/or there are issues
|  
| with maintaining the data reliably, then you can add a flag (indicator
|  
| field on the Product entity) so that someone managing products can  
| manually specify FedEx Shippable or not
| 
| Those are the two basic paths: automatic, or manual. To decide which 
| 
| way to go you need to know the rules for determining the outcome. That
|  
| is especially important for a particular end-user because different  
| organizations may have VERY different definitions/rules for something 
| 
| like this.
| 
| -David
| 
| 
| On Jan 6, 2009, at 3:33 AM, Divesh Dutta wrote:
| 
|  Hello all,
|I want to associate product with specific carrier party  
|  Id.Is there any way to do so? My major concern is to identify some 
| 
|  products whether they are FEDEX shippable or not?
| 
|  Thanks in advance
|  Regards
|  Divesh Dutta


why geoIdTo in ShipmentCostEstimate

2008-12-09 Thread Divesh Dutta
Hello all,
  I am not getting purpose of geoIdFrom and geoIdTo in 
ShipmentCostEstimate entity.What I guess is it simply specifies source and 
destination for shipment.If this is the case then how will we handle the case 
if shipment is in part.I mean if I want to ship data from warehouse to 
customer's home.In this case geoIdFrom=warehouse and  geoIdTo=customer's 
home.But what if there are two or three terminals in between. 
Thanks in advance
Regards
Divesh Dutta


Re: why geoIdTo in ShipmentCostEstimate

2008-12-09 Thread Divesh Dutta
Hello All, 
   Thank you much for your answers.I just went through 
ShipmentRouteSegment entity.By this i can handle Distributed shipments.But my 
problem is to calculate shipment cost.And I find no relation between  
ShipmentCostEstimate entity and ShipmentRouteSegment entity.And I still didnt 
got the reply for my first mail.Purpose of geoIdTo ? Is it mean destination 
here? Thanks again to all of you.

Regards
Divesh Dutta


- Sumit Pandit [EMAIL PROTECTED] wrote:

| Ah David ! 
| 
| You are amazing, I really missed the route segment concept. It can
| handle the problem of Divesh. 
| 
| Thank you very much. 
| 
| -- 
| Regards 
| Sumit Pandit 
| 
| - Original Message - 
| From: David E Jones [EMAIL PROTECTED] 
| To: user@ofbiz.apache.org 
| Sent: Wednesday, December 10, 2008 9:35:59 AM GMT +05:30 Chennai,
| Kolkata, Mumbai, New Delhi 
| Subject: Re: why geoIdTo in ShipmentCostEstimate 
| 
| 
| The concept closest to this in OFBiz is handled by the 
| ShipmentRouteSegment and related entities. There is nothing in the 
| checkout process for the customer to specify such information, and I'm
| 
| not sure if you'd want the customer to specify such things. 
| 
| When manually creating a Shipment for an order in the Facility Manager
| 
| you can specify multiple route segments with different carriers, 
| tracking codes, and the works. 
| 
| -David 
| 
| 
| On Dec 9, 2008, at 9:00 PM, Sumit Pandit wrote: 
| 
|  Vivak, 
|  
|  Split shipping does not solve this problem. Split shipping is used 
|  when Order have more then one delivery point. Like if you have 2 
|  products in your order and you want to ship each of them at separate
| 
|  location then at that time we split the order into two and assign 
|  the desire destination for each product. 
|  So splitting works when the items from the same order ship to more 
|  then one location. Not in case is shipment is passes from terminals.
| 
|  
|  Concept is same as one to many : one order many destination. 
|  
|  Thanks 
|  Sumit Pandit 
|  
|  
|  
|  
|  
|  - Original Message - 
|  From: Vivek Mishra [EMAIL PROTECTED] 
|  To: user@ofbiz.apache.org 
|  Sent: Tuesday, December 9, 2008 8:49:36 PM GMT +05:30 Chennai, 
|  Kolkata, Mumbai, New Delhi 
|  Subject: Re: why geoIdTo in ShipmentCostEstimate 
|  
|  Hi Divesh, 
|  
|  I think split shipping which is implemented in Quick Checkout(three
| 
|  page 
|  chekout) would serve the solution. 
|  
|  Kind Regards, 
|  -- 
|  Vivek Mishra 
|  
|  Divesh Dutta wrote: 
|  Hello all, 
|  I am not getting purpose of geoIdFrom and geoIdTo in 
|  ShipmentCostEstimate entity.What I guess is it simply specifies 
|  source and destination for shipment.If this is the case then how 
|  will we handle the case if shipment is in part.I mean if I want to
| 
|  ship data from warehouse to customer's home.In this case 
|  geoIdFrom=warehouse and geoIdTo=customer's home.But what if there 
|  are two or three terminals in between. 
|  Thanks in advance 
|  Regards 
|  Divesh Dutta 
| 


ShipmentCostEstimate entity

2008-12-08 Thread Divesh Dutta
Hello all,
  In ShipmentCostEstimate entity what is the purpose for 
orderItemFlatPrice, weightUnitPrice and priceUnitPrice  and how they differ 
form one another.please provide with example if possible

Thanks in advance
Regards
Divesh Dutta


Ecommerce not running on Demo site

2008-11-25 Thread Divesh Dutta
Hello Users,
I tried to run Ecommerce on Demo site https://demo.hotwaxmedia.com/ecommerce. 
But it is showing No Product Store.
I tried webtools and partymgr as well but there is error related to Global 
Decorator.

Regards
Divesh Dutta


Re: ProductConfig entity

2008-11-24 Thread Divesh Dutta
Hi Bilgin,
  Thank you very much.Now the concept is very clear to me.

Regards
Divesh Dutta


- Original Message -
From: Bilgin Ibryam [EMAIL PROTECTED]
To: user@ofbiz.apache.org
Sent: Monday, November 24, 2008 4:13:51 PM GMT +05:30 Chennai, Kolkata, Mumbai, 
New Delhi
Subject: Re: ProductConfig entity

On Sat, 2008-11-22 at 03:55 -0600, Divesh Dutta wrote:
 Hello all,
   I was reviewing democonfigurator.xml of ecommerce.In
 ProductConfig entity, configTypeId=QUESTION is given.What is the use
 of this field? Is it mandatory to mention it?
 
 Regards
 Divesh Dutta

Hi Divesh,

right now there are 2 configTypeIds : QUESTION and STANDART
In case of STANDARD, all the options are always included/selected,
otherwise, the user has a choice to select an option

Bilgin



  1   2   >