Commit Graph
89 Commits
Author SHA1 Message Date
Adrian Crum 9a753b9865 Fixed a problem where service definitions were using "GenericValue" as attribute types, but that threw exceptions because the service definitions needed the full class name - "org.ofbiz.entity.GenericValue". The problem was reported in https://issues.apache.org/jira/browse/OFBIZ-2268 and https://issues.apache.org/jira/browse/OFBIZ-2311.
I checked the commit logs and I don't see what changed to cause these services to stop working, so I took the shotgun approach and changed all occurrences of GenericValue service attributes.

If anyone has a better solution, please feel free to revert this commit and change it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765864 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 06:33:43 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Vikas Mayur 752c58c1f2 Adjust Purchase Order Items if received quantity is higher.
Applied slightly different patch from OFBIZ-2249 (https://issues.apache.org/jira/browse/OFBIZ-2249)

Thanks Pratik Khera and Pranay Pandey.

Pratik, I have done few changes in the service updatePoOnReceiveInventory.
1) Used service updateItemIssuance to update the records in ItemIssuance entity instead through <store-value>. If their is a service, then service should be used
   for such purpose. 
2) Removed <clear-field> tag, it seems to me that they are not required.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757749 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 12:02:34 +00:00
Jacques Le Roux 4b6a8d7172 order component
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755936 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 11:36:53 +00:00
Vikas Mayur 9e7732ea1a Functionality to add bulk products to purchase order through order detail page.
Patch applied from OFBIZ-2221 (https://issues.apache.org/jira/browse/OFBIZ-2221) with slight modification to
1) Label
2) Used view-size in form instead of screen definition.

Thanks to Akash Jain, Pranay Pandey (review and test).

i18n note: This commit has new label.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755627 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 16:10:44 +00:00
Vikas Mayur 7bc9f320d3 Cancel back orders from supplier if the cancelBackOrderDate (new field on OrderItem) has passed. This is achieved using a schedule job.
Patch applied from OFBIZ-2220 (https://issues.apache.org/jira/browse/OFBIZ-2220). 

Thanks Deepesh Kapoor and Pranay Pandey for testing.

On a side note, I have changed the field description on the entity to use <description> element instead of <!-- -->. Also changed this for adjacent field.
Changed the description of the service a bit. 



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755596 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 13:54:53 +00:00
Jacques Le Roux 219f600813 A patch from Divesh Dutta " Functionality for putting in estimatedShipDate and estimatedDeliveryDate for order items." (https://issues.apache.org/jira/browse/OFBIZ-2239) - OFBIZ-2239
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755011 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 21:34:50 +00:00
Jacques Le Roux 357213101c A patch from Bharat Soni "When recording PO, Company automatically sets price as "last price" on Supplier record." (https://issues.apache.org/jira/browse/OFBIZ-2234) - OFBIZ-2234
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754834 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 07:30:35 +00:00
David E. Jones 9bca6f0bc2 Fixed commit in rev 752866 which had a duplicate service attribute definition for orderId, changed to a single INOUT attribute
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753131 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 05:49:37 +00:00
Jacques Le Roux 73e2cca8cf A patch from Bharat Soni "Buyer should be able to specify PO# otherwise it should be generated automatically while placing a purchase order." (https://issues.apache.org/jira/browse/OFBIZ-2218) - OFBIZ-2218
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@752866 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 13:51:35 +00:00
Jacques Le Roux 246090c0a6 BigDecimal in POS (complete). Integration of ofbiz-1945.patch changes (with some modifications) but still not used since it miss some features:
* AutoSave (automatically save current transaction)
* Add a saved sale to the current sale
* Remove a savec sale
* Replace current sale by a saved sale and remove simultaneously the saved sale

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@745257 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 21:16:33 +00:00
Jacques Le Roux 363ae34457 A slightly modified patch from Stephen Rufle "OrderServices.updateApprovedOrderItems should update OrderItemAttributes" '(https://issues.apache.org/jira/browse/OFBIZ-2115) - OFBIZ-2115
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737200 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 21:44:42 +00:00
David E. Jones 874f02e9da Manual merge of typecheckcleanup200810 branch as of rev 731346 in that branch, resolved all conflicts; with this BigDecimal is not the native type for many entity fields and is used for many calculations; some work is still needed in certain areas of the project but this covers the most critical ones; thanks especially to Scott for his work on this
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731851 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 07:13:36 +00:00
Jacques Le Roux 2971e21a13 A patch from Krzysztof Podejma "Cannot complete order that contains products of type "SERVICE"" (https://issues.apache.org/jira/browse/OFBIZ-943) - OFBIZ-943
+ some demo data



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@722588 13f79535-47bb-0310-9956-ffa450edef68
2008-12-02 19:33:25 +00:00
Vikas Mayur 447a7b212b Now on One page checkout, new profile and manage address pages state is an optional field (cause some countries does not have states).
Patch applied from Jira issue OFBIZ-2043 (https://issues.apache.org/jira/browse/OFBIZ-2043).
Thanks to Surya Kusumakar, Onima Kasliwal, Kirti Dhakad and others.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@714238 13f79535-47bb-0310-9956-ffa450edef68
2008-11-15 12:08:36 +00:00
Vikas Mayur d97c649e65 Fix:Few countries does not have any state. Made the state field on One Page Checkout as an optional field.
Applied patch from Jira Issue OFBIZ-2014 (https://issues.apache.org/jira/browse/OFBIZ-2014)
Thanks to Onima Kasliwal and Rishi Solanki.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@707349 13f79535-47bb-0310-9956-ffa450edef68
2008-10-23 11:36:30 +00:00
Adrian Crum 1420174177 Replaced missing </services> tag.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@692569 13f79535-47bb-0310-9956-ffa450edef68
2008-09-05 22:40:58 +00:00
Vikas Mayur 95f49da9af Done following changes:
1) Converted all of these events to services "createUpdatePerson, createUpdateEmailAddress, createUpdateTelecomNumber, createUpdateUserLogin, 
   createUpdateShippingAddress, createUpdateBillingAddress, createUpdateCreditCard"
2) Added Demo data for telecom number for DemoCustomer so that this party can do checkout on One page checkout.
3) Modified behaviour of billing and shipping telecom number field on new customer page with respect to check box "Billing is the same as the shipping address" and 
   corresponding changes to createCustomerProfile event. Now billing and shipping phone numbers are handled separtely from billing and shipping addresses resp.
4) Misc. changes to profile Java Script and one page template.

Thanks to Rishi Solanki, Santosh Malviya, Brajesh Patel and Sumit Pandit (for review) for this contribution.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@692448 13f79535-47bb-0310-9956-ffa450edef68
2008-09-05 14:08:18 +00:00
Si Chen 3b109fccc3 changed updateOrderItemShipGroup to auto-fields OrderItemShipGroup
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676062 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 19:56:25 +00:00
Hans Bakker 74ff3e83ac created a automatic subscription extension, improved the (product) subscription screens, and added 3 fields in the subscription and subscription resource to enable this function
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661283 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 10:31:14 +00:00
Bilgin Ismet Ibryam 553941e8f2 Added UI for entering Order Item Change reason and comments during Order Item update/cancel/append.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658036 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 23:13:02 +00:00
Bilgin Ismet Ibryam 2727a93034 "Store Order Item changes" from Jira Issue OFBIZ-1773
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655452 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 09:36:04 +00:00
Bilgin Ismet Ibryam 596fcf462a Fix for bug that happens when you try to delete an order adjustment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@619867 13f79535-47bb-0310-9956-ffa450edef68
2008-02-08 12:52:51 +00:00
Si Chen efde02ecb1 increase transaction timeout for canceling orders
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@614119 13f79535-47bb-0310-9956-ffa450edef68
2008-01-22 05:07:44 +00:00
Marco Risaliti b4e368e3ce eBay features are now moved to a specialpurpose application and it can be removed from the order application (Part of issue OFBIZ-1441)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603351 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 20:34:48 +00:00
Anil Patel 4c7ee7942c Adding service for setting OrderPaymentStatus.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598491 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 02:01:18 +00:00
Anil Patel 6313bf7c8b Now tracking orderPaymentPreference status change. Thanks to Vikas for providing this patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598148 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 06:56:30 +00:00
David E. Jones dade3f1222 Moved test service for orders to a new file to trim down the behemoth a little; refactored to use a separate service to test the natuctored to create the orders in a separate service to test the lock wait timeout issue, and it turns out it IS related to the one huge transaction, so we have a solution to the problem in a way, but still need to find more about the nature of it and such
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@596999 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 09:15:34 +00:00
David E. Jones 756f883eb4 Small changes to add default parameters to make a simple test easy, and one that causes the lock wait timeout problem too
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@593859 13f79535-47bb-0310-9956-ffa450edef68
2007-11-11 08:36:43 +00:00
Si Chen 1ca46a5aaa Make the append item to order service more useful to purchase orders. The service required a prodCatalogId, but it needs to be optional for POs.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583221 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 16:52:18 +00:00
Jacopo Cappellato 9eb823a1db Misc improvements by Marco Risaliti to the eBay import service: added support for sales taxes and address2 field.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577215 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 09:34:30 +00:00
Andrew Zeneski 7147d44724 added mass reject
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573673 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 19:02:39 +00:00
Andrew Zeneski 0ee53316b2 added mass order change for hold/process/cancel
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573665 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 18:38:36 +00:00
Jacopo Cappellato b348a81312 Added missing input parameter to the importOrderFromEbay service: this should fix the bug reported in OFBIZ-1202
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@571426 13f79535-47bb-0310-9956-ffa450edef68
2007-08-31 10:50:32 +00:00
David E. Jones 742ef5cab3 Added an update method for OrderShipment, used when splitting ShipmentItems
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569750 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 01:03:26 +00:00
Jacopo Cappellato ef2b12d296 Implemented service to create several test sales orders with random products in them.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565129 13f79535-47bb-0310-9956-ffa450edef68
2007-08-12 20:12:36 +00:00
Anil Patel 3d8775574f Adding a service to check if orderItem is on BackOrder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564359 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 19:53:35 +00:00
Jacopo Cappellato ebd7e83536 Added ability to set a work effort id at the beginning of the order entry (backend); it will generate a record in the OrderHeaderWorkEffort entity.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@563525 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 15:34:47 +00:00
David E. Jones 29c4b4235e Fixed bug where ProductStore.headerApprovedStatus wasn't working because the check item status service was always setting it to approved; not sure when how this happened, but it seems to be related to a weird way of setting the order header status to approved by setting all item statuses; changed the orderdetail page in the order manager to use changeOrderStatus instead of changeOrderItemStatus, and also changed changeOrderStatus to support setting item statuses first if parameter for that is passed; this fixes the ProductStore.headerApprovedStatus problem, and hopefully won't have an impact on other areas; in the check order item status there is only a small reason why it won't auto approve the header, mainly for the headerApprovedStatus case and it checks specifically for that
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@562843 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 09:41:52 +00:00
Jacopo Cappellato 3d321ffc85 Misc fixes and enhancements for the eBay interface; by Marco Risaliti plus a fix for a typo by David Shere (OFBIZ-1159).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@559428 13f79535-47bb-0310-9956-ffa450edef68
2007-07-25 12:41:04 +00:00
Jacopo Cappellato b274861177 Misc fixes and improvements to the eBay integration.
Implemented service and eca rule to set the eBay order status to complete when the associated OFBiz order is completed. By Marco Risaliti OFBIZ-1159.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@558939 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 06:34:58 +00:00
Jacopo Cappellato 35fe7daef4 New patch by Marco Risaliti (OFBIZ-1159) with new stuff for the eBay integration (still in progress).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@557918 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 08:08:16 +00:00
Jacopo Cappellato a234041f45 formatting fix: tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@557914 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 07:52:10 +00:00
Jacopo Cappellato 6ca265d3bc This is the first version (still not completed) of the eBay integration (import of orders from eBay to OFBiz and export of products from OFBiz to eBay). Thanks to Marco Risaliti for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@557392 13f79535-47bb-0310-9956-ffa450edef68
2007-07-18 20:41:01 +00:00
Anil Patel d5f535bf67 Improved Shipment notification email set up.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@556264 13f79535-47bb-0310-9956-ffa450edef68
2007-07-14 11:19:11 +00:00
Jacques Le Roux b786040337 A patch from Ashish Vijaywargiya "Email Notification on Shipment SHIPPED" (https://issues.apache.org/jira/browse/OFBIZ-1076)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@554200 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 13:26:45 +00:00
Si Chen 8b708a8294 Adding the getOrderItemInvoicedAmountAndQuantity service as a replacement for the getOrderItemValue service, and refactoring the getShipmentPackageValueFromOrders service to use getOrderItemInvoicedAmountAndQuantity. Essentially we're deriving the amount and quantity ever invoiced for a given order item and then prorating the invoiced amount by the proportion of issued quantity to invoiced quantity. This should result in order item values which are very close to the invoice item amounts related to the order item, aggregated across all invoices.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@550858 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 17:01:45 +00:00
Andrew Zeneski ae53a7ffe6 fixed attribute types
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549710 13f79535-47bb-0310-9956-ffa450edef68
2007-06-22 05:10:52 +00:00
Andrew Zeneski 4f18258644 added check order status service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549677 13f79535-47bb-0310-9956-ffa450edef68
2007-06-22 02:56:48 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00