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 9b70e009a0 Allow the createPaymentApplication service to accept overrideGlAccountId as an optional parameter
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@504637 13f79535-47bb-0310-9956-ffa450edef68
2007-02-07 18:27:50 +00:00
Jacopo Cappellato 2774954be0 Added new screens and services to manage the AgreementGeoApplicability entity.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@504496 13f79535-47bb-0310-9956-ffa450edef68
2007-02-07 11:03:37 +00:00
David E. Jones 8dc8d47e1c Applied patch from Anil Patel to add feature to create product maint plan based on template workeffort, in Jira #OFBIZ-679
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@503298 13f79535-47bb-0310-9956-ffa450edef68
2007-02-03 20:14:53 +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
David E. Jones c5ff197fd7 Applied patch from Anil Patel with a new FixedAssetMaintOrder entity and related artifacts; Jira #OFBIZ-598
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@498756 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 19:24:43 +00:00
Andrew Zeneski ad6e81d0e5 existing service group files migrated to new format
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@493120 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 18:27:44 +00:00
Si Chen 2a093551d7 OFBIZ-442: Modify createInvoicesFromShipment so that additional shipping charges are authorized and captured along with rest of order amount. Refactored and created new service to release an individual order payment preference. Thanks to Chris Liberty.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@474623 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 01:48:07 +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
Jacopo Cappellato c51b3afd20 Removed author information from all the files of the "accounting" component: keeping this information in source files is discouraged by the ASF (clearer information about the contributors of a file can be derived from the commit logs).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@454106 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 09:11:44 +00:00
Si Chen ae0e4c666c Commented out the automatic setting of commission invoices to READY. Usually commission invoices are reviewed and approved
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@453431 13f79535-47bb-0310-9956-ffa450edef68
2006-10-05 23:51:47 +00:00
Jacopo Cappellato 636110c028 Fixed bad service definitions for the operations on the FixedAssetStdCostentity (pk fields were defined as optional parameters)): thanks to Anil K Patel for the bug report and patch (OFBIZ-347); I have applied a slightly different version of the patch.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@451716 13f79535-47bb-0310-9956-ffa450edef68
2006-10-01 05:33:21 +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
David E. Jones d3f94c5aef Replaced all old references to [Copyright * The Open For Business Project] which should take care of all of the legal loose ends
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@446798 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 00:35:48 +00:00
Si Chen afffd92082 More comment about authorize.net
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@443439 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 18:47:35 +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
David E. Jones 8b9c8e3d28 Fixed bad service def
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@442395 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 00:11:27 +00:00
David E. Jones 7d5919d655 Added functionality for picking out and retrying CC auths for NSF failures, meant for auto-orders to get better chance of successful charge for subscriptions and such; tries once a week for the number of times specified on the ProductStore
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@441736 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 04:15:54 +00:00
Si Chen b2ad0620ff Fixed bug with generating sales commission invoices. Patch from Vinay Agarwal. OFBIZ-80
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@438976 13f79535-47bb-0310-9956-ffa450edef68
2006-08-31 16:27:22 +00:00
Si Chen 5bd4f387a0 Service for capturing billing account payments will now create a PaymentGatewayResponse record so that later we can use it to figure out how much of the order was captured to each payment method
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@433421 13f79535-47bb-0310-9956-ffa450edef68
2006-08-21 23:21:48 +00:00
Jacopo Cappellato ce16e2c4ca Changed transaction-timout to transaction-timeout.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@432688 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 19:22:49 +00:00
David E. Jones 4b871d6df1 Some additions to help with CC decline or bad info recovery options like return flags for bad expire date, nsf, and bad card number to help enable automated response to these; added testing services for these different conditions; added initial implementation of the feature to try incrementing expire date years for the current card date plus 2, 3, then 4 years if option enabled in ProductStore.autoOrderCcTryExp and if the order is an auto-order, ie OrderHeader.autoOrderShoppingListId is not empty
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431154 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 09:05:07 +00:00
Si Chen 2ac4a45a30 OFBIZ-132: Make paymentMethodTypeId optional and get it from paymentMethod. If neither is supplied, then return an error. Thanks to Ashish Vijaywargiya
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428529 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 21:14:58 +00:00
Si Chen 8333712da4 Changed transaction time out of post accounting transaction service to 10 minutes to allow for larger transactions such as those from importing data
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@427640 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 16:39:41 +00:00
Jacopo Cappellato 31e9ddd06b small cleanup.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@427168 13f79535-47bb-0310-9956-ffa450edef68
2006-07-31 16:48:33 +00:00
Jacopo Cappellato ef9e63a249 Implemented the copy of an agreement.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@427159 13f79535-47bb-0310-9956-ffa450edef68
2006-07-31 16:33:26 +00:00
Si Chen 2c06ee1c0a Forgot to add this new parameter from last commit
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@426180 13f79535-47bb-0310-9956-ffa450edef68
2006-07-27 18:18:40 +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
Si Chen 584c11f77a Simplification of CheckOutHelper.availableAccountBalance to take advantage of BillingAccountWorker.getBillingAccountAvailableBalance(). This moves the concern of computing the available balance to the accounting component, where it should reside.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@424489 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 23:15:19 +00:00
Si Chen ab89361f3d Refactoring of the way billing accounts work, using PaymentApplication to track the amount of a billing account used up in each invoice. Also changed captureOrderPayments to use up billing accounts first before other payment methods. Finally, new methods to get net vs. available balances of a billing account
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@424484 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 22:39:30 +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
Si Chen 0ada1860b0 OFBIZ-81: Add PaymentMethod.description field to describe individual payment methods. For example, a customer may want to describe a CC as a "primary card". Added support for this field wherever payment methods are created/updated. Display this field in ordermgr checkout, ecommerce checkout, and partymgr viewprofile. Thanks to Ashish Vijaywargiya.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@421780 13f79535-47bb-0310-9956-ffa450edef68
2006-07-14 01:23:49 +00:00
David E. Jones 7d203d1573 Disabled commission calculation, breaks order creation for digital products; see OFBIZ-80 for details
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@419413 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 02:37:22 +00:00
Hans Bakker 51434a8e62 add a clearCommerce service to check for creditcard validity only
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@419381 13f79535-47bb-0310-9956-ffa450edef68
2006-07-05 23:13:07 +00:00
Jacopo Cappellato c48a6e68fe Fixed broken xml file definition.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418558 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 07:47:56 +00:00
David E. Jones 828a0fe319 Applied patch from Anil Patel with some AgreementTerm screen cleanups and enhancements
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418539 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 01:05:50 +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