Commit Graph
9 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
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 bd8cd549e1 Invoicing services now support pro-rating of taxes based on product store settings and invoicing of additional shipping charges from the Shipment entity
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@470173 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 01:31:40 +00:00
Si Chen 9b77dc5416 Fix bug where invoice terms were not created correctly while invoices were created
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@466280 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 22:25:02 +00:00
David E. Jones 5f62c3ab4a Basics in place for sample customer affiliate commission service, with commented out ECA rule to trigger; just need to implement the invoice creation now
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@449224 13f79535-47bb-0310-9956-ffa450edef68
2006-09-23 12:29:54 +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
Hans Bakker d01df96156 create a new service to create an invoice from an order using all orderitems: createInvoiceForOrderAllItems
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@425946 13f79535-47bb-0310-9956-ffa450edef68
2006-07-27 03:52:55 +00:00
Jacopo Cappellato 0151f032dd Conversion from MIT to ASL2.0 for the files of the accounting component.
Many thanks to Scott Gray for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422398 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 07:57:05 +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