Commit Graph
12781 Commits
Author SHA1 Message Date
Jacopo Cappellato 74551ebe9b Tabs to spaces.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529893 13f79535-47bb-0310-9956-ffa450edef68
2007-04-18 06:55:16 +00:00
Andrew Zeneski ec4177bd91 added methods to StringUtil to convert results of Map.toString() and List.toString() back to Map/List (assuming the contents are Strings for now); changed the ObjectType for Arrays->List conversion to only run when the type is List (per discussion on Dev list)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529716 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 19:06:45 +00:00
Andrew Zeneski 464f744f1b added test service to test map/list conversions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529712 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 19:03:43 +00:00
Jacques Le Roux 2e610e12ed This fix "Problem in the pos module related to item discount and sales discount" (https://issues.apache.org/jira/browse/OFBIZ-828)
Fix a double bug in POS when using a discount (on item(s) or sale) and a cash amount higher than total (hence issuing change).
Though I'm sure that it corrects this double bug (in InvoiceServices.java) I commit it as CTR because I'm still not sure it corrects all the problems in accounting.
I also applied Si'advice from https://issues.apache.org/jira/browse/OFBIZ-828#action_12483045 in OrderServices.java even if I guess it was not needed (because I agree that  "A payment of a negative amount is highly suspicious")
This is enough from a POS POV, but I'm not sure that the corrects payments are generated (it generates paiements of zero value). 
Anyway all the informations are there and it's usable as is. Let me know if you find the payments an issue, thanks.

BTW I noticed that there are still a *lot of* Doubles where BigDecimals should be used... (even after recent Scott's effort).
I hope to do an exhaustive work on this begining from POS (where there are only Doubles for now) ... one day... (before 2007 end, hopefully)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529701 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 18:30:15 +00:00
Andrew Zeneski a8dff4a381 added Array to List conversion
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529696 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 18:08:25 +00:00
Andrew Zeneski 9094f59a83 added new fields to inventory item display
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529680 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 17:31:56 +00:00
Timothy Ruppert d45550c9d1 Updated UpsServices to utilize dimensions (shippingWidth, shippingHeight, shippingDepth) if the inShippingBox flag is set.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529677 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 17:15:51 +00:00
Jacopo Cappellato a699b8ecc3 Added 'description' field to the InventoryItemDetail entity; the field can be used to further describe the detail record (such as the reason for an issuance).
Implemented code and artifacts to populate this new field when production run issuances are done.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529589 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 13:05:44 +00:00
Scott Gray 08afbc4eaa Fixed a pile of bigDecimal.setScale() calls which should be bigDecimal = bigDecimal.setScale()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529522 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 07:50:42 +00:00
Scott Gray 888dfccd9f Couple more changes from Double to BigDecimal
OFBIZ-880

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529503 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 06:49:52 +00:00
Scott Gray b14779e626 Changed a few doubles to BigDecimals, includes a service def change for getOrderShippingAmount.
Part of OFBIZ-880

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529499 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 06:18:29 +00:00
Andrew Zeneski b5909605e3 changed to use the normal host checking by default
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529496 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 06:10:57 +00:00
David E. Jones 5003ee5a9f Fixed compile error; I think related to some stuff Andrew Zeneski was working on, so will do this for now and let him review it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529492 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 05:49:04 +00:00
David E. Jones 56479fcd03 Fixed bug in GenericEntity.setString based on patch from Michael Imhof; not a commonly used piece of code, but good to fix anyway; Jira #OFBIZ-894
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529473 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 02:57:58 +00:00
Andrew Zeneski e12a9fb5c8 now loads the JSSE settings before starting catalina; this way tomcat uses our truststore instead of the default java truststore
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529429 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 22:49:57 +00:00
Andrew Zeneski 0ea3b57138 now uses the new hostname verifier code
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529428 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 22:49:11 +00:00
Andrew Zeneski 88a4d9e5d6 implemented hostname verifier so that SSL certs do not HAVE to match that of the site; as long as we add them to the trust store
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529427 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 22:48:52 +00:00
Andrew Zeneski 0af480b6e7 now ignores the issuers; since we are looking for a specific alias; we now just look up that alias for all issuers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529425 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 22:48:09 +00:00
Andrew Zeneski 4cef879e88 x509 required SSL to function; added code to make sure you can't slip by the security by using HTTP (instead of HTTPS)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529423 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 22:46:24 +00:00
Si Chen ffa829c793 UPS Support for: Insured package value; Third-party shipper payment; COD
- Insured package value controlled by a new ShipmentPackage.insuredValue field and UI in EditShipmentPackages screen
- Third-party shipper payment controlled by new ShipmentRouteSegment.thirdPartyAccountNumber and ShipmentRouteSegment.thirdPartyContactMechId fields, and UI in EditShipmentRouteSegments screen
- COD controlled by properties in shipment.properties and this assumption: If all items in a shipment package come from orders which were paid ONLY with EXT_COD, then the package is a COD package
- COD surcharge amount defined in shipment.properties and split (or not) between packages, and converted to the shipment currency if necessary
- Package value for COD is calculated using the getShipmentPackageValueFromOrders service, which calculates the value of each shipment package item by prorating the value of the order item (as determined by the getOrderItemValue service) via packed quantity vs. ordered quantity, for each item of the shipment - converting to the shipment currency if necessary
- Providing a 'Residential Delivery' checkbox in the EditShipmentRouteSegments screen for UPS shipments so that UPS Voice Notification service will be requested automatically if checked (and a destination telecom contactMechId is provided)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529422 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 22:39:18 +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
David E. Jones a9fd8393a4 Fixed problem caused by recent ProductSearch changes; also fixed issue with transaction for query and such, uses a timeout of 10 minutes instead of 1 as well for these ops
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529363 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 19:08:03 +00:00
David E. Jones 50b7606b26 Changed alias-view-columns setting for MySQL, now that this setting is being honored it seems that the new version of MySQL has a problem with the old setting; thanks to various for reporting it, including in OFBIZ-895
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529354 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 18:48:09 +00:00
Andrew Zeneski 4932217a02 XML-RPC handler only returns valid out parameters back; no more internal parameters
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529339 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 17:45:33 +00:00
Jacopo Cappellato 636e15a7af Improved navigation for picklist related facility screens.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529202 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 10:56:25 +00:00
Jacopo Cappellato 11f85ac6f7 Added userLoginId near the name of the logged in party.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529183 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 09:31:41 +00:00
Jacopo Cappellato 87d2feb20f Fixed wrong selection for drop down options of carrier ship methods in stor ship settings.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529149 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 07:08:42 +00:00
Jacopo Cappellato ac33217ca3 Applied patch from Adrian Crum to clean up the layout of the Example application: OFBIZ-887
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529140 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 06:28:12 +00:00
Scott Gray 3d4c6dcc65 A few more fixes related to editing/cancelling orders
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529138 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 06:00:53 +00:00
Jacopo Cappellato 9d055878da Applied main app style improvements from Adrian Crum (OFBIZ-892).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529136 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 05:21:31 +00:00
Timothy Ruppert 8d283219ef Added an additional image reference to ProductCategoryLinks for greater flexibility
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529093 13f79535-47bb-0310-9956-ffa450edef68
2007-04-15 23:20:57 +00:00
Jacopo Cappellato f7cb22700a Applied localization patch for Russian.
Thanks to Oleg Andreyev for the patch (OFBIZ-889).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528928 13f79535-47bb-0310-9956-ffa450edef68
2007-04-15 05:10:01 +00:00
Jacopo Cappellato be208c0544 Applied patch from Adian Crum (OFBIZ-892) to refactor the layout of the main application bar: it now uses the same style of the other menu bars and so it is simpler and less graphically rich.
This is a Commit-Then-Review approach: if you don't like it I'll revert this change.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528927 13f79535-47bb-0310-9956-ffa450edef68
2007-04-15 04:43:49 +00:00
Jacopo Cappellato a572b41e75 Added separator element to the main navigation tab bar.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528926 13f79535-47bb-0310-9956-ffa450edef68
2007-04-15 04:39:25 +00:00
Jacopo Cappellato dee12d81a6 Applied patch from Adrian Crum (OFBIZ-892) to refactor UI elements in the Common component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528925 13f79535-47bb-0310-9956-ffa450edef68
2007-04-15 04:26:12 +00:00
David E. Jones b5c39c9c24 Changed postgres config to not alias columns in views
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528862 13f79535-47bb-0310-9956-ffa450edef68
2007-04-14 19:25:35 +00:00
Timothy Ruppert 1440944bf6 Committed these checkImageUrl services to help fix the problem that can be caused by the setAllProductImageNames. We should probably use some of the logic from these services to update that to check and see if the images exists and only populate the defaults if they do - but that can be for another day
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528829 13f79535-47bb-0310-9956-ffa450edef68
2007-04-14 16:23:44 +00:00
David E. Jones 38d8093683 Added code so that the feature category stuff would actually do something instead of just treating the feature category ids as feature ids; this required use of a view-entity in a sub-select which required a bunch of lower level changes so that the DatasourceInfo settings would actually be used in the sql generation stuff; all seems to be working now, at least on derby
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528804 13f79535-47bb-0310-9956-ffa450edef68
2007-04-14 13:04:39 +00:00
David E. Jones 93076873b6 A fairly dramatic change required because the DatasourceInfo stuff was being mostly ignored for most of the sql generation code, especially in the view entity stuff; fixing this resulted in a problem with derby requiring adding the alias-view-columns=false attribute to the datasource element in the entityengine.xml file; in any case, the somewhat tricky and funny but useful option of using a view-entity in a sub-select is now working properly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528801 13f79535-47bb-0310-9956-ffa450edef68
2007-04-14 13:01:51 +00:00
Scott Gray 4be88c4c9e Removed a bad assignment from recreateOrderAdjustments, I can't be sure just yet but it has probably been causing some of the problems we've been having with editing/canceling order items
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528792 13f79535-47bb-0310-9956-ffa450edef68
2007-04-14 10:22:41 +00:00
David E. Jones d39165550b Fixed feature and category constraints with exclude using the new sub-select stuff; now seems to work as expected/desired
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528791 13f79535-47bb-0310-9956-ffa450edef68
2007-04-14 10:21:09 +00:00
David E. Jones b51f2ec479 Added a EntityConditionValue implementation that does a sub-select on another entity; initial example in the ProductSearch class
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528790 13f79535-47bb-0310-9956-ffa450edef68
2007-04-14 10:18:05 +00:00
Jacopo Cappellato 307960dad8 Small cleanup to use the declared constants instead of the string values.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528771 13f79535-47bb-0310-9956-ffa450edef68
2007-04-14 05:58:20 +00:00
Jacopo Cappellato 6cb06b5f02 Partially converted to BigDecimal (to fix some approx issues) part of the process order payment service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528770 13f79535-47bb-0310-9956-ffa450edef68
2007-04-14 05:47:46 +00:00
Jacopo Cappellato 64bf407235 Added missing 'authTrans' in optional parameter from the paymentReleaseInterface that was used at least by the Payflow and Rita payment processors.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528768 13f79535-47bb-0310-9956-ffa450edef68
2007-04-14 05:38:40 +00:00
Andrew Zeneski 27212c4d9e changed x509 code to looked certs in the database by serialnumber instead of trying to query the clob
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528719 13f79535-47bb-0310-9956-ffa450edef68
2007-04-14 00:36:42 +00:00
David E. Jones f8d2c5d1e9 Fixed problem with category search in sub-categories caused by the include/exclude/alwaysInclude stuff added a while back; note that there is still a problem with excludes in certain circumstances
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528686 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 22:12:31 +00:00
David E. Jones 1eb2a521f3 Some enhancements to product search to support shorter parameter alternatives; parameter string generation uses these now
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528633 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 19:53:27 +00:00
David E. Jones 49b7aa2c67 A few improvements/fixes for the product search stuff; now processes feature and feature category parameters correctly, and outputs them in search strings correctly as well; also inclues patch from Anil Patel in OFBIZ-886 to add output of supplier constraint in search parameters string
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528595 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 19:07:22 +00:00
Jacopo Cappellato 19c81159ba Fixed wrong variable assignment: the payTo variable was never used after this line.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528390 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 08:46:41 +00:00