Commit Graph
38 Commits
Author SHA1 Message Date
Si Chen e7670d5bd5 OFBIZ-733: Create invoices for drop ship orders
- Adding logic to createInvoicesFromShipments service to deal with creating both purchase invoices for drop shipment orders and sales invoices for the sales order linked to drop shipment orders - a sales invoice is created if the createSalesInvoicesForDropShipments parameter is true.
- Adding createSalesInvoiceFromDropShipment service to wrap call to createInvoicesFromShipments, passing the createSalesInvoicesForDropShipments parameter.
- Adding SECAs on updateShipment to generate a purchase invoice when a drop shipment is shipped and a sales invoice when a drop shipment is received
- Adding quickDropShipOrder service, linked from orderview page, to create a drop shipment and set the shipment status to shipped and then received, in order to trigger the SECAs for drop shipment invoice generation.
- Fixed flaw in createInvoiceForOrder service - now pro-rating OrderAdjustments based on OrderItem quantity from the database instead of the passed-in OrderItem, in case the OrderItem quantity has been replaced upstream.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510664 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 21:49:10 +00:00
Si Chen 337145f9e9 Adding missing addCategoryDefaults request-map to ordermgr controller
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508448 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 15:29:18 +00:00
Scott Gray f06ac34ad4 Fixed a bug in order manager's quick finalize order which was causing shipping costs to be left off the order. Reported by Rohit Sureka (OFBIZ-690)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@504458 13f79535-47bb-0310-9956-ffa450edef68
2007-02-07 08:14:07 +00:00
Si Chen 92ed36e505 In ordermgr checkout, directing errors from createPostalAddress back to EditShipAddress instead of shipsetting, so that the error message makes sense and refers to what's on the screen. Also repopulating address fields with parameters in case of error.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@502669 13f79535-47bb-0310-9956-ffa450edef68
2007-02-02 17:38:20 +00:00
Si Chen c3d21207cf Workflow improvements in ordermgr checkout:
- Directing successful create-customer requests to the EditShipAddress screen, via the new checkout parameter 'finalizeReqNewShipAddress'

- Adding COD as a payment option in the non-quick checkout flows. This required a restructuring of the form that appears when no payment methods are available to the customer - now a Javascript directs the browser either to the finalizeOrder request (if EXT_OFFLINE or EXT_COD are selected) or to the setBilling request (if CC or EFT are selected, to create a new payment method).

- Directing successful payment method creation ahead in the checkout. Includes a fix for OFBIZ-583 (using a similar but lighter approach to the one proposed by Anil Patel and Iain Fogg) via detection of the paymentMethodId request attribute. The newly-created CC/EFT account becomes selected as the only payment method for the order.

- Directing errors in payment setting or creation to the payment settings screen instead of all the way back to orderentry, by discriminating between the 'error' response and a new 'paymentError' response from CheckOutEvents.finalizeOrderEntry()

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@502340 13f79535-47bb-0310-9956-ffa450edef68
2007-02-01 20:02:51 +00:00
Si Chen c0c5566262 OFBIZ-654: Approved product requirements by vendor screen. This is an interesting screen as it uses two view entities chained together to perform a two-level query. One view entity is a subquery to group requirements, the next one calls it and counts the results.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@500287 13f79535-47bb-0310-9956-ffa450edef68
2007-01-26 17:37:11 +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
Si Chen e2b3d6cb82 Fix bug in quickcheckout where the tax is not calculated before the payments are created. As of this commit, the checkout pages for ecommerce and ordermgr produce correct payment maxAmounts for a variety of payment method options, especially Billing Account.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@497689 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 02:22:25 +00:00
Si Chen ec36d374c9 OFBIZ-628: Add product category lookup to ordermgr's showcart for PO, fix some issues in catalog mgr caused by new prod category lookups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@497101 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 17:57:09 +00:00
Jacopo Cappellato c47b822de2 Added link and event to initialize a cart from an existing order: this implements the ability to clone an order.
The link to run it is at the bottom of the "order view" screen.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@487781 13f79535-47bb-0310-9956-ffa450edef68
2006-12-16 10:06:36 +00:00
David E. Jones 71a25d953d Remove JPublish and EdenLib, now they are gone; includes doc/notice file updates too
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@485565 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 08:59:37 +00:00
Jacopo Cappellato 76a1f70af6 Fixed typo in controller's view definition; thanks to Iain Fogg for the patch (OFBIZ-476).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@476792 13f79535-47bb-0310-9956-ffa450edef68
2006-11-19 10:34:34 +00:00
Jacopo Cappellato 81c5951267 Moved some more bsh/ftl files that were referenced by the order component from the ecommerce to the order component: the order component is at a lower level than the ecommerce one and so cannot use ecommerce's resources.
Part of OFBIZ-220, but the task is not complete: the order component still references the uilabel files of the ecommerce component.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@471155 13f79535-47bb-0310-9956-ffa450edef68
2006-11-04 09:43:07 +00:00
Jacopo Cappellato 9378e10871 Disabled the two examples of reports developed using JasperReport and added a comment to document this.
OFBIZ-408


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@468304 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 07:42:18 +00:00
Si Chen 180b286737 Allow specifying ship group when creating order adjustments in editorderitems. Force a recalcOrderTax after createOrderAdjustment so that new adjustments get taxed correctly. Fixes bug where new shipping adjustments are not taxed correctly.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@465443 13f79535-47bb-0310-9956-ffa450edef68
2006-10-19 01:44:12 +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
Jacopo Cappellato c9b9db5abb Break up of orderheader templates (for order confirm and order view screens) and the showPromotions template with multiple screenlets: this should improve the template readability and also make the customization much more simple.
Really thanks to Chris Howe for this work (OFBIZ-68): I had to manually apply the patch (many templates were changed after the patch was submitted, and in the patch there were some issues) and so I did something different from Chris' patch, however his work is now finally committed. 
I've also removed some unused resources from the ecommerce component (a few entries in the controller, a screen definition and a template).


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@452766 13f79535-47bb-0310-9956-ffa450edef68
2006-10-04 06:47:22 +00:00
Si Chen 6db338f088 ability to cancel order payment preferences from orders which have not been completed, canceled, or rejected
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@451493 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 23:40:50 +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
Si Chen 3aeda4a8a3 Added report for open order items. Basically allows one to see what orders have unshipped items.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@450266 13f79535-47bb-0310-9956-ffa450edef68
2006-09-27 00:26:12 +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 840865a535 Enhance send confirmation email to preview generated email and edit it.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@447585 13f79535-47bb-0310-9956-ffa450edef68
2006-09-18 22:00:26 +00:00
Jacopo Cappellato beeebda7d1 Applied patch from Scott Gray to clean up the last (hopefully) Copyright issues.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@446858 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 12:04:10 +00:00
Jacopo Cappellato 829c1a3e0c The OrderComplete screen is now skipped and when an order is created the orderview screen is shown.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@441614 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 18:56:20 +00:00
Jacopo Cappellato e65c97da92 Completed quick purchase order creation with the quick checkout process (using default values).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@441498 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 14:04:51 +00:00
Jacopo Cappellato eae557399b First draft of quick purchase order creation from requirements list.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@440422 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 17:56:15 +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 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
Jacopo Cappellato a893437f29 Completed the implementation of user interface for ship groups management during order entry checkout: there is now a new screen to assign shopping cart items to the ship groups in the cart.
Empty ship groups are automatically removed from the cart during the checkout process.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@433243 13f79535-47bb-0310-9956-ffa450edef68
2006-08-21 13:31:03 +00:00
Jacopo Cappellato 37d077d4a7 A bunch of changes to the backoffice order entry checkout screens (ship settings and option settings) and related events to better support the multi ship groups management.
Now the creation of more than one ship group is very easy, but the screen to assign the items to different ship groups is still not implemented.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@433195 13f79535-47bb-0310-9956-ffa450edef68
2006-08-21 08:07:26 +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
David E. Jones c84ed3c644 Moved the more core login methods from LoginEvents to LoginWorker as they don't depend on the applications stuff but are used by the framework stuff; also updated various text references to the new locations
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431021 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 12:12:18 +00:00
Jacopo Cappellato 29cd61f90d Implemented new lookup search for products limited by supplier's product if the order is a purchase order.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429290 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 10:12:53 +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 03c3265865 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@422746 13f79535-47bb-0310-9956-ffa450edef68
2006-07-17 15:49:22 +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
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