Commit Graph
46 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
Si Chen a5322bc7f5 More requirements stuff: Add a summary showing the quantity of products to be ordered and the distinct product count. Required changing the in-form service call to bsh script called externally.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@501644 13f79535-47bb-0310-9956-ffa450edef68
2007-01-31 00:07:13 +00:00
Si Chen 75452c45e9 Improve the getRequirementsForSupplier service to include useful data about the supplier and product. Required replacing the simple method with a java service due to the complexity. Improved requirement forms as well.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@501216 13f79535-47bb-0310-9956-ffa450edef68
2007-01-29 22:51:57 +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 4b506c53a9 Implemented service to upgrade data from OldOrderItemAssociation to OrderItemAssoc entity.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@485145 13f79535-47bb-0310-9956-ffa450edef68
2006-12-10 08:26:24 +00:00
Jacques Le Roux ccee7f2ccf A patch from Ray Barlow " Small change that can greatly reduce the amount of processing that autoCancelOrderItems does..." (https://issues.apache.org/jira/browse/OFBIZ-523).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@485087 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 23:22:47 +00:00
Si Chen 3edad7cc53 introduced a new parameter countNewReturnItems to getOrderAvailableReturnedTotal which controls whether newly created return items are counted, so that quick refund order works again
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@478417 13f79535-47bb-0310-9956-ffa450edef68
2006-11-23 01:08:05 +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
Si Chen 0e6df58ef4 comments
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@473162 13f79535-47bb-0310-9956-ffa450edef68
2006-11-10 01:44:18 +00:00
Si Chen ec1d7ebc90 comments
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@473157 13f79535-47bb-0310-9956-ffa450edef68
2006-11-10 01:30:49 +00:00
David E. Jones c43a796ea3 Removed WfMC XPDL definition (DTD, XSD) files, added README files with more information about their location, and changed example files to refer to the public locations instead of one hosted for OFBiz and such; this resolves licensing issue with these text/source files
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472405 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 06:35:23 +00:00
David E. Jones 2706572d5a Fixed bug where placingUserLogin isn't found for anonymous users, so the userLogin from anonymous request variable is now used; this is tested and fixes the confirmation email problem
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@471137 13f79535-47bb-0310-9956-ffa450edef68
2006-11-04 07:57:52 +00:00
David E. Jones 62d2374e4c Changed email confirmation service to support new anonymous checkout userlogin request attribute that is used after the session has been cleared
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@471133 13f79535-47bb-0310-9956-ffa450edef68
2006-11-04 07:16:16 +00:00
Si Chen 1bea986172 New OrderAdjustmentBilling entity to record the relationship between OrderAdjustment and InvoiceItem to help determine which tax, shipping, or promo has been invoiced
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@470162 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 01:24:29 +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
Si Chen dfc7fae37d Ability to change the billing and order shipping address within orderview. Handy macro to generate the options. Thanks to Ashish Vijaywargiya.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@465435 13f79535-47bb-0310-9956-ffa450edef68
2006-10-19 01:06:40 +00:00
Jacques Le Roux f07047ddda A patch from Chris Howe : "Allow statusDateTime to be passed to service changeOrderItemStatus" (https://issues.apache.org/jira/browse/OFBIZ-377)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@464136 13f79535-47bb-0310-9956-ffa450edef68
2006-10-15 06:02:14 +00:00
Si Chen e5f546242f Fix bug where changing order adjustments was not changing order total
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@463518 13f79535-47bb-0310-9956-ffa450edef68
2006-10-12 23:50:36 +00:00
Si Chen 3983b7d516 Some services to support adding a payment method to an existing order and automatically authorizing it. Screen modifications to follow
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@451076 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 00:46:24 +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
Si Chen 55ba200527 Toggle order notes from public to private and back.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@448971 13f79535-47bb-0310-9956-ffa450edef68
2006-09-22 15:50:57 +00:00
Si Chen d97aa01549 Replaced storeAll/toStore with service calls in createInvoiceForOrder. Created a new service for it to use. Fixes bugs where downstream operations in the logic requires upstream objects to be created first. Test case: User captures a payment for a CC then generates invoice via shipment system. Expected outcome is that payment is applied to invoice and if fulfilled, invoice is marked as paid.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@443108 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 20:16:28 +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
Si Chen 2846ddf0ae Ability to update order item description when editing order items
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@442355 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 21:37:04 +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 3fd69dd536 Implemented searches by unassigned purchase requirements and added supplier id to requirement info.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@441441 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 08:55:29 +00:00
Jacopo Cappellato aef79c21cc Implemented services and ui to manage the RequirementRole entries.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@440284 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 07:14:53 +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
Si Chen 02969258c8 OFBIZ-155: Refactored processRefundReturn to handle any combination of payment methods, especially billing accounts (EXT_BILLACT). Thanks to Chris Liberty.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@434231 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 22:41:22 +00:00
Jacopo Cappellato 33c0910c88 Added optional input parameter to the cart service that assigns items to ship groups to make optional the removal of empty groups.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@433199 13f79535-47bb-0310-9956-ffa450edef68
2006-08-21 08:51:11 +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 d8f8f58e0c The "Approve Requirements" screen has been moved from the manufacturing to the order component.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431867 13f79535-47bb-0310-9956-ffa450edef68
2006-08-16 09:28:12 +00:00
Si Chen 16fb591f68 Ability to update shipping destination and method. Based on patch from Ashish Vijaywargiya. OFBIZ-54
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@426301 13f79535-47bb-0310-9956-ffa450edef68
2006-07-27 22:47:12 +00:00
Jacopo Cappellato 32606aa777 Implemented new screen, forms and services to manage order terms for existing orders.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@424684 13f79535-47bb-0310-9956-ffa450edef68
2006-07-23 06:37:15 +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 ceba1a5648 Added a new OrderHeader field: autoOrderShoppingListId, used to track the shoppingListId for orders auto-created from a ShoppingList; also added some fields to the ProductStore to configure certain payment retry settings for these automatic orders from shopping lists; the new OrderHeader field is now also being saved through the storeOrder service, ie all changes in place there
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@420753 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 07:47:06 +00:00
Si Chen 910192c703 Add/delete adjustments to created orders. OFBIZ-55. Thanks go to Ashish Vijaywargiya
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@420664 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 00:01:22 +00:00
Si Chen 6f4ee276f9 Another fix for adding item to created order: removed duplicate prodCatalogId in service definition appendOrderItem. Also added prodCatalogId to makeItem() so that the issue is actually resolved. See OFBIZ-53 for reference.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@419743 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 23:37:59 +00:00
Si Chen cea853cfd4 Fixed bug where adding an item to a created order would crash due to inability to compute price.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@419736 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 23:15:27 +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