Commit Graph
15 Commits
Author SHA1 Message Date
Anil Patel dca3e2f839 Now updateReturnHeader checks if the status change is valid.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565985 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 00:11:22 +00:00
Jacopo Cappellato 5b6f11b09b The payment method is now mandatory for repair returns.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536189 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 13:01:26 +00:00
Jacopo Cappellato f3e24fa40d Before a cross-ship return can be approved, a paymentMethodId must be associated on the ReturnHeader.
The payment method is used to guarantee the cross-shipped item.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@533827 13f79535-47bb-0310-9956-ffa450edef68
2007-04-30 19:02:39 +00:00
Si Chen 8858c874f0 Adding the getOrderItemValue service, which calculates the value of a given orderItem by totalling the item subtotal, any adjustments for that item, and the item's share of any order-level adjustments. The last is calculated by applying the percentage of the items total that the item represents to the order-level adjustments total - EG if the item subtotal is $10, the total value of all items and item-level adjustments is $50, and the total of order-level adjustments is $5, the service will claim that the orderItem's value is $11.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529416 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 21:57:34 +00:00
Si Chen a298a2bb2d Completing purchase orders:
- Link from ReceiveInventoryAgainstPurchaseOrder and orderview (for approved purchase orders) screens calls completePurchaseOrder service group
- Unreceived order item quantities are cancelled and product requirements generated for those quantities
- Order item status set to completed (or cancelled, if total quantity was cancelled)
- checkOrderItemStatus service is called to make sure that the order status correctly reflects the item statuses

Small fixes to ReceiveInventoryAgainstPurchaseOrder screen:
- Adding a UPCA column
- Cancelled quantity in a separate column
- Using orderItem to calculate quantities instead of orderItemAndShipGroupAssoc, since the latter can have its quantity figure manipulated in some cases
- Formatting fixes and fix to possible NPE when an orderId is not passed

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@520120 13f79535-47bb-0310-9956-ffa450edef68
2007-03-19 22:18:20 +00:00
Si Chen ab274da7ed Implementing logic to handle automatic creation of drop ship groups during checkout
- If a product is set to always drop ship (Product.requirementMethodEnumId == 'PRODRQM_DS').
    - If a product is set to drop ship when inventory is low (Product.requirementMethodEnumId == 'PRODRQM_DSATP'). In this case, item quantities > ATP will be drop shipped.
    - Items are reassigned to ship groups based on supplier.
    - Ship groups are created if necessary.
    - Suppliers are determined using by ProductSupplier.canDropShip == Y, and ProductSupplier.supplierPrefOrderId - main suppliers are used in preference to alternate suppliers.
    - Changing Enumeration.enumId PRODRQM_DSQOH to PRODRQM_DSATP in ProductTypeData.xml.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512373 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 19:51:52 +00:00
Jacques Le Roux 64cea174fc This is the change of ASL2 headers in properties files only. Please see comments in another post in dev ML.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@497074 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 16:49:01 +00:00
Si Chen 682a6bcead Fix bugs with re-calculation of tax when removing order adjustments. Now, instead of removing all the order adjustments, it recalculates tax and then adds it as an additional adjustment
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@477773 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 17:35:15 +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 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
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 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 c41fc7ba10 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@422744 13f79535-47bb-0310-9956-ffa450edef68
2006-07-17 15:46:49 +00:00
Si Chen 04a6d0e9b8 Cosmetic improvements to add adjustment to completed order. OFBIZ-55. Thanks to Ashish Vijaywargiya.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@420944 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 18:33:03 +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