[jira] Commented: (OFBIZ-1963) Added support for migrating FacilityRole to FacilityParty

2008-09-22 Thread Ashish Vijaywargiya (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-1963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12633185#action_12633185
 ] 

Ashish Vijaywargiya commented on OFBIZ-1963:


Hello Surya,

While running the migration service from Webtools I am getting the following 
error :-

errorMessageERROR: Could not complete the Migrate Data From FacilityRole To 
FacilityParty 
[file:/home/ashish/ofbiz_dev/other/applications/product/script/org/ofbiz/product/UpgradeServices.xml#migrateFacilityRole]
 process [problem creating the facilityParty value: Error while inserting: 
[GenericEntity:FacilityParty][createdStamp,2008-09-22 
14:35:41.792(java.sql.Timestamp)][createdTxStamp,2008-09-22 
14:35:41.76(java.sql.Timestamp)][facilityId,WebStoreWarehouse(java.lang.String)][fromDate,2008-09-22
 14:35:41.792(java.sql.Timestamp)][lastUpdatedStamp,2008-09-22 
14:35:41.792(java.sql.Timestamp)][lastUpdatedTxStamp,2008-09-22 
14:35:41.76(java.sql.Timestamp)][partyId,approver(java.lang.String)][roleTypeId,ACCOUNT(java.lang.String)]
 (SQL Exception while executing the following:INSERT INTO public.FACILITY_PARTY 
(FACILITY_ID, PARTY_ID, ROLE_TYPE_ID, FROM_DATE, THRU_DATE, LAST_UPDATED_STAMP, 
LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, 
?, ?, ?, ?) (ERROR: insert or update on table facility_party violates foreign 
key constraint facility_prty_role Detail: Key 
(party_id,role_type_id)=(approver,ACCOUNT) is not present in table 
party_role.))] 
responseMessage error   

To overcome from this error you should add the code to associate the roleTypeId 
with the partyId in the PartyRole table.
This error is coming because now we have added the foreign key constraint in 
the FacilityParty table with PartyRole table.

Please let me know if you need more description on this.

--
Ashish Vijaywargiya

 Added support for migrating FacilityRole to FacilityParty
 -

 Key: OFBIZ-1963
 URL: https://issues.apache.org/jira/browse/OFBIZ-1963
 Project: OFBiz
  Issue Type: Improvement
  Components: product
Reporter: surya kusumakar
Assignee: Ashish Vijaywargiya
Priority: Minor
 Attachments: LatestUpdatedFacilityParty.patch


 1)  Write a migrate service to upgrade existing data from the FacilityRole 
 entity to the new FacilityParty entity. For these, changes has been made in 
 UI as well.
 2) The FacilityRole entity has been deprecated and new entity FacilityParty 
 is created for these changes has been made in UI and entitymodel.xml files.
 3) Also add fromDate and thruDate fields to maintain records of FacilityRole 
 entity.
 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (OFBIZ-1965) A new Web Pos application

2008-09-22 Thread Marco Risaliti (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-1965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marco Risaliti updated OFBIZ-1965:
--

Attachment: webpos.zip

First version of webpos application to be expanded into hot-deploy folder.

 A new Web Pos application
 -

 Key: OFBIZ-1965
 URL: https://issues.apache.org/jira/browse/OFBIZ-1965
 Project: OFBiz
  Issue Type: Improvement
Reporter: Marco Risaliti
Assignee: Marco Risaliti
Priority: Minor
 Attachments: webpos.zip


 This is the first alpha version of the new web pos application.
 I have converted some of the actual services of pos application with a web 
 user interface.
 I would like to get some feedbacks on it.
 Thanks
 Marco

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (OFBIZ-1965) A new Web Pos application

2008-09-22 Thread Marco Risaliti (JIRA)
A new Web Pos application
-

 Key: OFBIZ-1965
 URL: https://issues.apache.org/jira/browse/OFBIZ-1965
 Project: OFBiz
  Issue Type: Improvement
Reporter: Marco Risaliti
Assignee: Marco Risaliti
Priority: Minor
 Attachments: webpos.zip

This is the first alpha version of the new web pos application.
I have converted some of the actual services of pos application with a web user 
interface.
I would like to get some feedbacks on it.

Thanks
Marco

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



A new web pos application

2008-09-22 Thread [EMAIL PROTECTED]
This is the first alpha version of the new web pos application.
I have converted some of the actual services of pos application with a web user 
interface.
I would like to get some feedbacks on it.
You can find it on https://issues.apache.org/jira/browse/OFBIZ-1965.

Thanks
Marco



[jira] Updated: (OFBIZ-1963) Added support for migrating FacilityRole to FacilityParty

2008-09-22 Thread surya kusumakar (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-1963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

surya kusumakar updated OFBIZ-1963:
---

Attachment: LatestUpdatedFacilityParty.patch

Hello Ashish,

This is updated with the required modifications.

Thanks
Surya .

 Added support for migrating FacilityRole to FacilityParty
 -

 Key: OFBIZ-1963
 URL: https://issues.apache.org/jira/browse/OFBIZ-1963
 Project: OFBiz
  Issue Type: Improvement
  Components: product
Reporter: surya kusumakar
Assignee: Ashish Vijaywargiya
Priority: Minor
 Attachments: LatestUpdatedFacilityParty.patch, 
 LatestUpdatedFacilityParty.patch


 1)  Write a migrate service to upgrade existing data from the FacilityRole 
 entity to the new FacilityParty entity. For these, changes has been made in 
 UI as well.
 2) The FacilityRole entity has been deprecated and new entity FacilityParty 
 is created for these changes has been made in UI and entitymodel.xml files.
 3) Also add fromDate and thruDate fields to maintain records of FacilityRole 
 entity.
 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Issue Comment Edited: (OFBIZ-1963) Added support for migrating FacilityRole to FacilityParty

2008-09-22 Thread surya kusumakar (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-1963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12633204#action_12633204
 ] 

kusumakarsurya edited comment on OFBIZ-1963 at 9/22/08 3:43 AM:
-

Hello Ashish,

This is updated patch with the required modifications.

Thanks
Surya .

  was (Author: kusumakarsurya):
Hello Ashish,

This is updated with the required modifications.

Thanks
Surya .
  
 Added support for migrating FacilityRole to FacilityParty
 -

 Key: OFBIZ-1963
 URL: https://issues.apache.org/jira/browse/OFBIZ-1963
 Project: OFBiz
  Issue Type: Improvement
  Components: product
Reporter: surya kusumakar
Assignee: Ashish Vijaywargiya
Priority: Minor
 Attachments: LatestUpdatedFacilityParty.patch, 
 LatestUpdatedFacilityParty.patch


 1)  Write a migrate service to upgrade existing data from the FacilityRole 
 entity to the new FacilityParty entity. For these, changes has been made in 
 UI as well.
 2) The FacilityRole entity has been deprecated and new entity FacilityParty 
 is created for these changes has been made in UI and entitymodel.xml files.
 3) Also add fromDate and thruDate fields to maintain records of FacilityRole 
 entity.
 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (OFBIZ-1965) A new Web Pos application

2008-09-22 Thread BJ Freeman (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-1965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12633210#action_12633210
 ] 

BJ Freeman commented on OFBIZ-1965:
---

what are the advantages of this over the current POS app.

 A new Web Pos application
 -

 Key: OFBIZ-1965
 URL: https://issues.apache.org/jira/browse/OFBIZ-1965
 Project: OFBiz
  Issue Type: Improvement
Reporter: Marco Risaliti
Assignee: Marco Risaliti
Priority: Minor
 Attachments: webpos.zip


 This is the first alpha version of the new web pos application.
 I have converted some of the actual services of pos application with a web 
 user interface.
 I would like to get some feedbacks on it.
 Thanks
 Marco

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (OFBIZ-1966) Improvement in updateTaskAssignment Service.

2008-09-22 Thread Ratnesh Upadhyay (JIRA)
Improvement in updateTaskAssignment Service.
--

 Key: OFBIZ-1966
 URL: https://issues.apache.org/jira/browse/OFBIZ-1966
 Project: OFBiz
  Issue Type: Improvement
  Components: specialpurpose/projectmgr
Reporter: Ratnesh Upadhyay


Improve the service for delegation process.

-- Ratnesh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (OFBIZ-1966) Improvement in updateTaskAssignment Service.

2008-09-22 Thread awdesh singh parihar (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-1966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

awdesh singh parihar updated OFBIZ-1966:


Attachment: ImprovedUpdateTaskAsssignmentService.patch

Added two field with name delegateReasonEnumId and comments ,  in service 
definition  and using them at the time of updating task. . 

Thanks Ratnesh Upadhyay for suggested improvement.

--Awdesh Parihar


 Improvement in updateTaskAssignment Service.
 --

 Key: OFBIZ-1966
 URL: https://issues.apache.org/jira/browse/OFBIZ-1966
 Project: OFBiz
  Issue Type: Improvement
  Components: specialpurpose/projectmgr
Reporter: Ratnesh Upadhyay
 Attachments: ImprovedUpdateTaskAsssignmentService.patch


 Improve the service for delegation process.
 -- Ratnesh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Assigned: (OFBIZ-1966) Improvement in updateTaskAssignment Service.

2008-09-22 Thread Ashish Vijaywargiya (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-1966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish Vijaywargiya reassigned OFBIZ-1966:
--

Assignee: Ashish Vijaywargiya

 Improvement in updateTaskAssignment Service.
 --

 Key: OFBIZ-1966
 URL: https://issues.apache.org/jira/browse/OFBIZ-1966
 Project: OFBiz
  Issue Type: Improvement
  Components: specialpurpose/projectmgr
Reporter: Ratnesh Upadhyay
Assignee: Ashish Vijaywargiya
 Attachments: ImprovedUpdateTaskAsssignmentService.patch


 Improve the service for delegation process.
 -- Ratnesh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Closed: (OFBIZ-1966) Improvement in updateTaskAssignment Service.

2008-09-22 Thread Ashish Vijaywargiya (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-1966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish Vijaywargiya closed OFBIZ-1966.
--

Resolution: Fixed

Thanks Awdesh  Ratnesh for your contribution.
Changes are in Rev # 697833.

--
Ashish Vijaywargiya

 Improvement in updateTaskAssignment Service.
 --

 Key: OFBIZ-1966
 URL: https://issues.apache.org/jira/browse/OFBIZ-1966
 Project: OFBiz
  Issue Type: Improvement
  Components: specialpurpose/projectmgr
Reporter: Ratnesh Upadhyay
Assignee: Ashish Vijaywargiya
 Attachments: ImprovedUpdateTaskAsssignmentService.patch


 Improve the service for delegation process.
 -- Ratnesh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (OFBIZ-1965) A new Web Pos application

2008-09-22 Thread Anil K Patel (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-1965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12633262#action_12633262
 ] 

Anil K Patel commented on OFBIZ-1965:
-

I think connecting to devices like, printer, scanner, signature pad and other 
similar thing can be an issue. May be we can get away with using trusted java 
applet for few.

 A new Web Pos application
 -

 Key: OFBIZ-1965
 URL: https://issues.apache.org/jira/browse/OFBIZ-1965
 Project: OFBiz
  Issue Type: Improvement
Reporter: Marco Risaliti
Assignee: Marco Risaliti
Priority: Minor
 Attachments: webpos.zip


 This is the first alpha version of the new web pos application.
 I have converted some of the actual services of pos application with a web 
 user interface.
 I would like to get some feedbacks on it.
 Thanks
 Marco

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (OFBIZ-1965) A new Web Pos application

2008-09-22 Thread Jacopo Cappellato (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-1965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12633268#action_12633268
 ] 

Jacopo Cappellato commented on OFBIZ-1965:
--

A scenario when this application could be really useful is for example in a 
restaurant, when waiters take orders at tables: they could use an handheld 
devices running a browser connected to this application

Jacopo

 A new Web Pos application
 -

 Key: OFBIZ-1965
 URL: https://issues.apache.org/jira/browse/OFBIZ-1965
 Project: OFBiz
  Issue Type: Improvement
Reporter: Marco Risaliti
Assignee: Marco Risaliti
Priority: Minor
 Attachments: webpos.zip


 This is the first alpha version of the new web pos application.
 I have converted some of the actual services of pos application with a web 
 user interface.
 I would like to get some feedbacks on it.
 Thanks
 Marco

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: svn commit: r696941 - in /ofbiz/trunk/applications/party: config/ webapp/partymgr/WEB-INF/ webapp/partymgr/WEB-INF/actions/party/ webapp/partymgr/party/ widget/partymgr/

2008-09-22 Thread Hans Bakker
There are more thing wrong with thiswe will correct it as soon as we
can

Regards,
Hans

On Fri, 2008-09-19 at 20:22 +1200, Scott Gray wrote:
 Oh and Financail is spelt wrong too...
 
 Regards
 Scott
 
 2008/9/19 Christian Geisert [EMAIL PROTECTED]:
  Hans,
 
  looks like an old header slipped in...
 
  Christian
 
  [EMAIL PROTECTED] schrieb:
 
  Author: hansbak
  Date: Thu Sep 18 23:43:34 2008
  New Revision: 696941
 
  URL: http://svn.apache.org/viewvc?rev=696941view=rev
  Log:
  first version of a function copied from sharedofbiz: financial history of
  a party, groovy file to be enhanced later
 
  Added:
 
   
  ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/PartyFinancailHistory.groovy
(with props)
 
  [..]
 
  ---
  ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/PartyFinancailHistory.groovy
  (added)
  +++
  ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/PartyFinancailHistory.groovy
  Thu Sep 18 23:43:34 2008
  @@ -0,0 +1,312 @@
  +/*
  + *  Copyright (c) 2001-2005 The Open For Business Project - www.ofbiz.org
  + *
  + *  Permission is hereby granted, free of charge, to any person obtaining
  a
  + *  copy of this software and associated documentation files (the
  Software),
  + *  to deal in the Software without restriction, including without
  limitation
  + *  the rights to use, copy, modify, merge, publish, distribute,
  sublicense,
  + *  and/or sell copies of the Software, and to permit persons to whom the
  + *  Software is furnished to do so, subject to the following conditions:
  + *
  + *  The above copyright notice and this permission notice shall be
  included
  + *  in all copies or substantial portions of the Software.
  + *
  + *  THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND,
  EXPRESS
  + *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  + *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  NONINFRINGEMENT.
  + *  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  + *  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  TORT
  + *  OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
  OR
  + *  THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  + *
  + [EMAIL PROTECTED] Hans Bakker ([EMAIL PROTECTED])
  + [EMAIL PROTECTED]$Rev$
  + [EMAIL PROTECTED]  3.0
  + */
 
-- 
Antwebsystems.com: Quality OFBiz services for competitive prices



[jira] Commented: (OFBIZ-1965) A new Web Pos application

2008-09-22 Thread Jacques Le Roux (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-1965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12633350#action_12633350
 ] 

Jacques Le Roux commented on OFBIZ-1965:


Yes, I did not look into details yet, but I think it could be a good 
complementary to our XUI/Swing/JavaPos POS

 A new Web Pos application
 -

 Key: OFBIZ-1965
 URL: https://issues.apache.org/jira/browse/OFBIZ-1965
 Project: OFBiz
  Issue Type: Improvement
Reporter: Marco Risaliti
Assignee: Marco Risaliti
Priority: Minor
 Attachments: webpos.zip


 This is the first alpha version of the new web pos application.
 I have converted some of the actual services of pos application with a web 
 user interface.
 I would like to get some feedbacks on it.
 Thanks
 Marco

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (OFBIZ-1965) A new Web Pos application

2008-09-22 Thread Marco Risaliti (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-1965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12633424#action_12633424
 ] 

Marco Risaliti commented on OFBIZ-1965:
---

The first advantage I have found in my mynd between a web application and a 
client/server application is that you don't need to distribute the software on 
every single drawer but if you think about it you can find also find something 
else.

The connection to devices/printer/scanner is still not been developed and this 
is why I said is an alpha version but all people can contribute on develop it 
if they were interested.

Jacques you are right, it does want to replace pos application but 
complementary.

It used the same OFBiz table and same service logics.

This is my opinions.

I don't know if we have to vote to include it into OFBiz or I can proceed 
commit it as a special purpose application.

Thanks
Marco






 A new Web Pos application
 -

 Key: OFBIZ-1965
 URL: https://issues.apache.org/jira/browse/OFBIZ-1965
 Project: OFBiz
  Issue Type: Improvement
Reporter: Marco Risaliti
Assignee: Marco Risaliti
Priority: Minor
 Attachments: webpos.zip


 This is the first alpha version of the new web pos application.
 I have converted some of the actual services of pos application with a web 
 user interface.
 I would like to get some feedbacks on it.
 Thanks
 Marco

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (OFBIZ-1965) A new Web Pos application

2008-09-22 Thread David E. Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-1965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12633431#action_12633431
 ] 

David E. Jones commented on OFBIZ-1965:
---

This would definitely go in a component in the specialpurpose directory and not 
in the applications directory. Even the existing POS component is in the 
specialpurpose directory (because it is oriented to a specific role and process 
as opposed to being generic functionality organized around the data it manages).

 A new Web Pos application
 -

 Key: OFBIZ-1965
 URL: https://issues.apache.org/jira/browse/OFBIZ-1965
 Project: OFBiz
  Issue Type: Improvement
Reporter: Marco Risaliti
Assignee: Marco Risaliti
Priority: Minor
 Attachments: webpos.zip


 This is the first alpha version of the new web pos application.
 I have converted some of the actual services of pos application with a web 
 user interface.
 I would like to get some feedbacks on it.
 Thanks
 Marco

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (OFBIZ-1965) A new Web Pos application

2008-09-22 Thread Marco Risaliti (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-1965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12633434#action_12633434
 ] 

Marco Risaliti commented on OFBIZ-1965:
---

Yes, David.
I would say specialpurpose component (into the specialpurpose/webpos directory).

Thanks
Marco  

 A new Web Pos application
 -

 Key: OFBIZ-1965
 URL: https://issues.apache.org/jira/browse/OFBIZ-1965
 Project: OFBiz
  Issue Type: Improvement
Reporter: Marco Risaliti
Assignee: Marco Risaliti
Priority: Minor
 Attachments: webpos.zip


 This is the first alpha version of the new web pos application.
 I have converted some of the actual services of pos application with a web 
 user interface.
 I would like to get some feedbacks on it.
 Thanks
 Marco

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



PO creation for aggregated product for a drop ship group is broken?

2008-09-22 Thread Ritesh Trivedi

Hi,

If you have an aggregate (configurable) product in the cart with the
dropship supplier corresponding PO is not generated. This happens because in
OrderServices.checkCreateDropShipPurchaseOrders when new ShoppingCartItem is
created for the PO, it is not passed the configWrapper (a null is passed)
and due to this ShoppingCartItem.makePurchaseOrderItem() on line 205 it
throws CartItemModifyException.

Wondering how can I fix this - because it seems like at this point the
config itself is not saved in product_config_config and original
ShoppingCartItem is not passed in the context (not sure why). If original
ShoppingCartItem was passed, corresponding configwrapper could have been
passed to create corresponding PO item. 

Will appreciate faster response since this is breaking the flow.
-- 
View this message in context: 
http://www.nabble.com/PO-creation-for-aggregated-product-for-a-drop-ship-group-is-broken--tp19614354p19614354.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.



dev advice - yahoo order import service

2008-09-22 Thread mayo

I'm somewhat new to OfBiz, but have read the wiki, forums, and tutorials for
over a month, and have created some simple modifications to my own version. 
I am looking to create a service that will import Yahoo orders (XML text as
a parameter) as OFBiz orders.  

I have a plan of attack, using OFBiz 4.0's javolution sax reader to parse
the XML and cutting the needed parts from the order entry process to create
the orders.  I know it is suggested to reuse code, but would the existing
order entry process and servlets be unsuitable for a SOAP service import
implementation? Would it be quicker development to omit OFBiz security in a
my custom order process or to make a dummy user with sufficient permissions
and use the existing order entry process? 

I would greatly appreciate any advice on the best approach or any comments
anyone would has.  I searched the forums and mailing lists but could not
find any Yahoo order import being attempted before.

BTW, I must use the OFBiz 4.0 release.
-- 
View this message in context: 
http://www.nabble.com/dev-advice---yahoo-order-import-service-tp19616077p19616077.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.



Re: A new web pos application

2008-09-22 Thread Tim Ruppert

Great stuff Marco!

Cheers,
Tim
--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com

o:801.649.6594
f:801.649.6595

On Sep 22, 2008, at 4:12 AM, [EMAIL PROTECTED] wrote:


This is the first alpha version of the new web pos application.
I have converted some of the actual services of pos application with  
a web user interface.

I would like to get some feedbacks on it.
You can find it on https://issues.apache.org/jira/browse/OFBIZ-1965.

Thanks
Marco





smime.p7s
Description: S/MIME cryptographic signature


Re: dev advice - yahoo order import service

2008-09-22 Thread BJ Freeman
I have a yahoo realtime/email you can use. I will provide the jars and
support it if you wish.
you can download the demo
http://www.businessesnetwork.com/customerSupport/ofbiz/download/
however if you like the flow
all the orders are stored as orginal xml in  folder
so if email or realtme they go to the same place.
there is a service that reads the folder and put them in the shopping cart
there is also some code in the
specialpurpose\ebay\src\org\ofbiz\ebay\ImportOrdersFromEbay.java
that will give you some ideas./

mayo sent the following on 9/22/2008 2:20 PM:
 I'm somewhat new to OfBiz, but have read the wiki, forums, and tutorials for
 over a month, and have created some simple modifications to my own version. 
 I am looking to create a service that will import Yahoo orders (XML text as
 a parameter) as OFBiz orders.  
 
 I have a plan of attack, using OFBiz 4.0's javolution sax reader to parse
 the XML and cutting the needed parts from the order entry process to create
 the orders.  I know it is suggested to reuse code, but would the existing
 order entry process and servlets be unsuitable for a SOAP service import
 implementation? Would it be quicker development to omit OFBiz security in a
 my custom order process or to make a dummy user with sufficient permissions
 and use the existing order entry process? 
 
 I would greatly appreciate any advice on the best approach or any comments
 anyone would has.  I searched the forums and mailing lists but could not
 find any Yahoo order import being attempted before.
 
 BTW, I must use the OFBiz 4.0 release.



[jira] Closed: (OFBIZ-715) Utils for doing date calculations based on timeUomIds

2008-09-22 Thread Adrian Crum (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adrian Crum closed OFBIZ-715.
-

Resolution: Fixed

Elapsed time calculation added to org.ofbiz.base.util.TimeDuration class in rev 
698055.

 Utils for doing date calculations based on timeUomIds
 -

 Key: OFBIZ-715
 URL: https://issues.apache.org/jira/browse/OFBIZ-715
 Project: OFBiz
  Issue Type: Improvement
  Components: framework
Reporter: Andrew Sykes
Assignee: Jacques Le Roux
Priority: Minor
 Attachments: elapsed_time.patch, UtilDateTime.java.patch, 
 UtilDateTime.java.patch


 6 new methods, 
 1/ adjustDateTime (3 methods) adjusts either a Timestamp Date or Calendar by 
 the given timeUomId and timeUomMultiple
 2/ getTimeUomMultipleDifference (3 methods) gets the timeUomMultiple for two 
 Timestamp Date or Calendar objects given the timeUomId.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: PO creation for aggregated product for a drop ship group is broken?

2008-09-22 Thread BJ Freeman
create a patch and put in a jira.

Ritesh Trivedi sent the following on 9/22/2008 11:57 AM:
 Hi,
 
 If you have an aggregate (configurable) product in the cart with the
 dropship supplier corresponding PO is not generated. This happens because in
 OrderServices.checkCreateDropShipPurchaseOrders when new ShoppingCartItem is
 created for the PO, it is not passed the configWrapper (a null is passed)
 and due to this ShoppingCartItem.makePurchaseOrderItem() on line 205 it
 throws CartItemModifyException.
 
 Wondering how can I fix this - because it seems like at this point the
 config itself is not saved in product_config_config and original
 ShoppingCartItem is not passed in the context (not sure why). If original
 ShoppingCartItem was passed, corresponding configwrapper could have been
 passed to create corresponding PO item. 
 
 Will appreciate faster response since this is breaking the flow.



[jira] Updated: (OFBIZ-1963) Added support for migrating FacilityRole to FacilityParty

2008-09-22 Thread surya kusumakar (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-1963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

surya kusumakar updated OFBIZ-1963:
---

Attachment: LatestUpdatedFacilityParty.patch

This patch contains following changes :
1)In FacilityForms fromDate is added in deletelink as it was showing error when 
we delete FacilityParty.

2)Changes made in migrateFacilityRole service , now it is creating a record in 
PartyRole entity .

Thanks.
Surya Kusumakar

 Added support for migrating FacilityRole to FacilityParty
 -

 Key: OFBIZ-1963
 URL: https://issues.apache.org/jira/browse/OFBIZ-1963
 Project: OFBiz
  Issue Type: Improvement
  Components: product
Reporter: surya kusumakar
Assignee: Ashish Vijaywargiya
Priority: Minor
 Attachments: LatestUpdatedFacilityParty.patch, 
 LatestUpdatedFacilityParty.patch, LatestUpdatedFacilityParty.patch


 1)  Write a migrate service to upgrade existing data from the FacilityRole 
 entity to the new FacilityParty entity. For these, changes has been made in 
 UI as well.
 2) The FacilityRole entity has been deprecated and new entity FacilityParty 
 is created for these changes has been made in UI and entitymodel.xml files.
 3) Also add fromDate and thruDate fields to maintain records of FacilityRole 
 entity.
 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (OFBIZ-1963) Added support for migrating FacilityRole to FacilityParty

2008-09-22 Thread surya kusumakar (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-1963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

surya kusumakar updated OFBIZ-1963:
---

Attachment: (was: LatestUpdatedFacilityParty.patch)

 Added support for migrating FacilityRole to FacilityParty
 -

 Key: OFBIZ-1963
 URL: https://issues.apache.org/jira/browse/OFBIZ-1963
 Project: OFBiz
  Issue Type: Improvement
  Components: product
Reporter: surya kusumakar
Assignee: Ashish Vijaywargiya
Priority: Minor
 Attachments: LatestUpdatedFacilityParty.patch, 
 LatestUpdatedFacilityParty.patch, LatestUpdatedFacilityParty.patch


 1)  Write a migrate service to upgrade existing data from the FacilityRole 
 entity to the new FacilityParty entity. For these, changes has been made in 
 UI as well.
 2) The FacilityRole entity has been deprecated and new entity FacilityParty 
 is created for these changes has been made in UI and entitymodel.xml files.
 3) Also add fromDate and thruDate fields to maintain records of FacilityRole 
 entity.
 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (OFBIZ-1963) Added support for migrating FacilityRole to FacilityParty

2008-09-22 Thread surya kusumakar (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-1963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

surya kusumakar updated OFBIZ-1963:
---

Attachment: LatestUpdatedFacilityParty.patch

 Added support for migrating FacilityRole to FacilityParty
 -

 Key: OFBIZ-1963
 URL: https://issues.apache.org/jira/browse/OFBIZ-1963
 Project: OFBiz
  Issue Type: Improvement
  Components: product
Reporter: surya kusumakar
Assignee: Ashish Vijaywargiya
Priority: Minor
 Attachments: LatestUpdatedFacilityParty.patch, 
 LatestUpdatedFacilityParty.patch, LatestUpdatedFacilityParty.patch


 1)  Write a migrate service to upgrade existing data from the FacilityRole 
 entity to the new FacilityParty entity. For these, changes has been made in 
 UI as well.
 2) The FacilityRole entity has been deprecated and new entity FacilityParty 
 is created for these changes has been made in UI and entitymodel.xml files.
 3) Also add fromDate and thruDate fields to maintain records of FacilityRole 
 entity.
 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (OFBIZ-1963) Added support for migrating FacilityRole to FacilityParty

2008-09-22 Thread surya kusumakar (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-1963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

surya kusumakar updated OFBIZ-1963:
---

Attachment: (was: LatestUpdatedFacilityParty.patch)

 Added support for migrating FacilityRole to FacilityParty
 -

 Key: OFBIZ-1963
 URL: https://issues.apache.org/jira/browse/OFBIZ-1963
 Project: OFBiz
  Issue Type: Improvement
  Components: product
Reporter: surya kusumakar
Assignee: Ashish Vijaywargiya
Priority: Minor
 Attachments: LatestUpdatedFacilityParty.patch, 
 LatestUpdatedFacilityParty.patch


 1)  Write a migrate service to upgrade existing data from the FacilityRole 
 entity to the new FacilityParty entity. For these, changes has been made in 
 UI as well.
 2) The FacilityRole entity has been deprecated and new entity FacilityParty 
 is created for these changes has been made in UI and entitymodel.xml files.
 3) Also add fromDate and thruDate fields to maintain records of FacilityRole 
 entity.
 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.