Commit Graph
14503 Commits
Author SHA1 Message Date
Jacopo Cappellato 8248da512b Removed bad log message.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530371 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 10:46:45 +00:00
Jacopo Cappellato 80044a55e7 New service that computes and returns the OrderItemShipGroup estimated ship date based on the associated items.
If maySplit=Y, then the ship group's ship date is the earliest of all of the items.  If the maySplit=N, then it's the latest of the estimated items' dates. For now I've considered the OrderItemShipGrpInvRes.promisedDatetime as the estimated ship date for the reserved items.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530366 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 10:36:20 +00:00
Jacopo Cappellato c2a7a40c1e Better handling, in the MRP, of the years offset for orders without a date. Now it adds the years from now.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530348 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 09:32:34 +00:00
Scott Gray c48a72e072 Changed the getOrderAvailableReturnedTotal service to use BigDecimal
OFBIZ-880

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530341 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 09:02:26 +00:00
Scott Gray 2cc5cd49dc Small fix to my last commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530329 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 08:37:00 +00:00
Scott Gray 370933c204 Changed the getReturnAmountByOrder service to use BigDecimal and also checkPaymentAmountForRefund which uses this service
Part of OFBIZ-880

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530326 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 08:30:01 +00:00
Jacopo Cappellato 2ee08c7f22 Small change to the position of facility menu items.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530311 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 07:58:30 +00:00
Scott Gray d9f87b64e3 A couple more conversions to BigDecimal, OFBIZ-880
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530293 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 07:09:02 +00:00
Jacopo Cappellato 6a55652f81 Removed 'debug' label used to test the layout of the screen, that I forgot to remove before I committed the change yesterday.
I guess I couldn't say I'm not responsible of this :(


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530275 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 05:41:37 +00:00
Hans Bakker 7e57a368b3 added mimetype text/x-diff
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530219 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 01:31:24 +00:00
David E. Jones be33bfe63a Implemented feature to support excemption inheritance, used for example when a county tax is setup and the customer has an exemption with the state
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530218 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 01:28:22 +00:00
Si Chen 32550bffc1 Retrieving facilityId from the parameters map
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530184 13f79535-47bb-0310-9956-ffa450edef68
2007-04-18 22:17:22 +00:00
Andrew Zeneski b22f6734f5 changed a few fields to use like; and changed so most fields can be forced to use like with * or %
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530173 13f79535-47bb-0310-9956-ffa450edef68
2007-04-18 21:52:58 +00:00
Jacopo Cappellato dbf5e02223 Misc layout cleanups to the picking option screen.
Small enhancements to the packing report to better display qty available and not available into two separate columns.
Also fixed the value of the qty available.
Issue OFBIZ-312


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530168 13f79535-47bb-0310-9956-ffa450edef68
2007-04-18 21:38:58 +00:00
Si Chen 5cd57e9e42 Replace request.getparameter with parameters
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530167 13f79535-47bb-0310-9956-ffa450edef68
2007-04-18 21:36:16 +00:00
Andrew Zeneski 5c57192083 refactored order find; now uses a re-usable service to do lookups; a lot more powerful now utilizing dynamic view entity; will also now lookup inventory items (serial number, soft identifier) from orders issued to shipments; will also now query all variant products when search by a virtual ID; can now pass a list of values (status, store, website, etc) so that multi-select can be enbaled (not yet enabled in the UI)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530158 13f79535-47bb-0310-9956-ffa450edef68
2007-04-18 21:13:36 +00:00
David E. Jones b28bf291e0 Small change to modernize and take advantage of things done by the screen widget; delegator will already be there, and parameters map will handle the request/session thingy
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530120 13f79535-47bb-0310-9956-ffa450edef68
2007-04-18 18:33:22 +00:00
Si Chen 77dbe9be20 Improved facility bsh scripts to get facilityId from session if not in parameters. This helps other screens re-use these bsh files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530113 13f79535-47bb-0310-9956-ffa450edef68
2007-04-18 18:18:41 +00:00
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
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 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
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
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 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
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
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
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
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
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
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
Andrew Zeneski 0fec103801 fixed category query to take in account the view allow category; seems to have been broken for quite some time
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528292 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 00:26:38 +00:00
Andrew Zeneski 004258961c fixed listsize index after filtering view allows
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528234 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 21:05:35 +00:00
Ray Alan Barlow 421396681d Changed 'Find Parties' screen under Contact List to use a new LookupContactMech search added to party mgr. Last one was a restricted result listing based on partyId which is fine when editting existing entries but not for finding them.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528049 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 17:23:29 +00:00
Scott Gray 0723990e34 Changed the EditElectronicText form to support additions as well as updates, the existing form AddElectronicText was not being used.
Fixes bug reported by Michel Dielissen on the mailing list

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@527866 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 09:53:07 +00:00
Andrew Zeneski 777656a579 added x509 auto-login event
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@527758 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 03:18:38 +00:00