Commit Graph
17 Commits
Author SHA1 Message Date
Si Chen 0953215ce0 The checkCreateDropShipPurchaseOrders service has been set to run as system user in SECA after storeOrder, or ecommerce store orders could not be processed properlY
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510213 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 21:06:25 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Jacopo Cappellato 51268097d8 The "processOrderPaymets" service now internally gets a ShoppingCart instance by calling the "loadCartFromOrder" service instead of the "loadCartForUpdate" method.
The latter is a dangerous method, since it removes all the order reservations (I've added a comment to explain how it should be used).
With this change, I've reactivated the seca that calls the "processOrderPaymets" service when items are cancelled (that has been disabled to avoid the loss of reservations).
This should completely close issue OFBIZ-380.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@476251 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 18:57:16 +00:00
Si Chen 6cf20905d6 when a return header is updated to canceled, all return items will be updated to canceled. Basically from Ashish Vijaywargiya's patch OFBIZ-462
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@476018 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 01:28:46 +00:00
Jacopo Cappellato 3761b9c085 Thanks to the great comments from Ray Barlow (OFBIZ-380), I've disabled the seca to run processOrderPayments after the call cancelOrderItem: the big issue is that the reservations were lost.
This is only a temp fix, to get back to the status prior to the mods I did in r439995 (when I've reimplemented cancelOrderItem from an event to secas/services calls).


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@466024 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 07:46:35 +00:00
Jacopo Cappellato 266b41531b Implemented a new service that, when atp goes under minimum stock, creates a requirement for the reorder qty.
So now we have three different requirement services that look at inventory levels:
STOCK_QOH: when qoh goes under minimum stock a requirement is created for the reorder qty
STOCK_ATP (new): when atp goes under minimum stock a requirement is created for the reorder qty
ATP (was STOCK_ATP): creates a requirement on ATP levels and links it to the order item that caused the reservations


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@449366 13f79535-47bb-0310-9956-ffa450edef68
2006-09-24 06:48:27 +00:00
Jacopo Cappellato 2b320cfc6d Automatic requirement creation services (triggered by eca) are now executed using the "system" account to avoid auth error when executed by ecommerce users.
This will close OFBIZ-217.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@442471 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 06:07:08 +00:00
Jacopo Cappellato 62d48a7416 Automatic creation of a purchase order from the 'drop ship' shipment group;
the ship to address in the po is the one set in the sales order 'drop ship' shipment group.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@442140 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 09:40:49 +00:00
Jacopo Cappellato e4191038f1 Newly created purchasing requirements (i.e. requirements of type "PRODUCT_REQUIREMENT") are now automatically assigned to the main supplier (from the SupplierProduct entity) thru the RequirementRole entity.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@440103 13f79535-47bb-0310-9956-ffa450edef68
2006-09-04 15:08:12 +00:00
Jacopo Cappellato fb8827d962 Now shoppingCart is an optional parameter of the "processOrderPayment" service (if not available, it is retrieved from the orderId).
In this way the "processOrderPayment" service can be more easily triggered by eca.
In fact it is now triggered by the cancelOrderItem service.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@440018 13f79535-47bb-0310-9956-ffa450edef68
2006-09-04 10:28:35 +00:00
Jacopo Cappellato 2fcec88deb Order items are now cancelled invoking directly the "cancelOrderItem" service instead of calling the omonimous CheckOutEvents method (that I have removed).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@439995 13f79535-47bb-0310-9956-ffa450edef68
2006-09-04 09:36:01 +00:00
David E. Jones 6ce9c38bd2 Applied patch from Tim Ruppert to implement the auto-suggestion shopping list; also added indicator to ProductStore to turn it on and off (off by default); Apache Jira #OFBIZ-159
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@432136 13f79535-47bb-0310-9956-ffa450edef68
2006-08-17 04:02:58 +00:00
Si Chen 282079997c OFBIZ-158: Remove seca that is changing RETURN_COMPLETED items to RETURN_ACCEPTED, messing up the return business logic.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431998 13f79535-47bb-0310-9956-ffa450edef68
2006-08-16 19:24:51 +00:00
Jacopo Cappellato dc9c759053 License change from MIT to ASL2.0 for the files of the order component.
Thanks to Ashish Vijaywargiya for the patch (Apache OFBIZ-87).


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422819 13f79535-47bb-0310-9956-ffa450edef68
2006-07-17 19:47:26 +00:00
David E. Jones 7c214b8082 Added subscription processing services, which are now enabled by default with an ECA; includes a demo product for a Gizmo Newsletter; also some cleanups of and improvements to the subscription admin UI
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@419428 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 03:42:45 +00:00
David E. Jones 96d6832b95 Moved content.subscription stuff to product.subscription, since it really is more generic and extends the product model rather than being part of the content stuff; note that also resolved the issue with the old updateSubscription service name, which is not very descriptive: changed to updateContentSubscription so that the updateSubscription name can be used where it should be: for the Subscription entity
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418893 13f79535-47bb-0310-9956-ffa450edef68
2006-07-04 01:32:06 +00:00
David E. Jones 94fe6d1cda Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00