Commit Graph
12781 Commits
Author SHA1 Message Date
Adrian Crum b5fcf837b9 Trivial code cleanups from Bilgin Ibryam, OFBIZ-1212.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567087 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 17:02:55 +00:00
Jacopo Cappellato 1cb87d6e78 Implemented util methods to get the total shippable quantitiy from all the ship groups of an order.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567065 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 15:15:19 +00:00
Hans Bakker a52e59334e make the fixed asset calendar also usable for one2one rental product
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567051 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 13:15:30 +00:00
Si Chen 12deaed505 Add an additionalShippingChargeDesc field to the Shipment entity to accompany the additionalShippingCharge field. If this field is populated, it will be used for the order adjustment and invoice item descriptions instead of the default description.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566834 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 20:37:42 +00:00
Alfred Maxwell Byers 2c8afab971 I am adding these GIS related files for safe keeping and to serve notice that a GIS component will be forthcoming.
Actually, they work now, so it will be a matter of filling the out - especially translating ogc filter constraints to 
simple method entity expressions.

WFS is a standard in the GIS world for querying and returning metadata (as opposed to the other two standards, WMS and WMC,
which deal with returning images from vector info or images as the native format (coverages).
By putting a WFS server interface in OFBiz, it can be used to add point-of-interest plotting to many business apps.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566781 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 17:14:18 +00:00
David E. Jones 4889829faf Some changes to more robustly get an address for recalculating tax, AND made it optional so that if there is no address (which we technically allow in OFBiz) it won't blow up but instead just won't recalculate tax; note that orders in that category generally don't have tax in the first place; this was reported in Jira #OFBIZ-1198; also added note for handling face-to-face or immediately fulfilled orders, which would also be applicable for rental orders... ie that special case needs to be identified by appropriate criteria and handled as needed here in the OrderServices.recalcOrderTax method AND in the related method that works on the cart when an order is placed, namely CheckOutHelper.makeTaxContext
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566719 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 13:50:38 +00:00
David E. Jones c187e6c246 Small change so it doesn't blow up... didn't test to see if this works as desired though
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566715 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 13:46:41 +00:00
Hans Bakker 51859b0f67 correction on Revision: 566696 as spotted by Jacopo, thanks.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566709 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 13:40:08 +00:00
Hans Bakker 555c9bda61 delete service createFixedAssetAndLinkToProduct (is moved to product)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566702 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 13:14:25 +00:00
Hans Bakker a6cc00973f start a separated file for rentalservices, will expect more additions in the next few months. move one service (createFixedAssetAndLinkToProduct) from the accounting component to be deleted in the next revision
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566700 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 13:12:27 +00:00
Hans Bakker ee8b8e1e6c allow the form also to be used in a one2one product-fixedasset rental relationship
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566696 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 13:01:36 +00:00
David E. Jones ecd7cd329b Changed for better userLogin passing around and a fairly big change to handle business/message errors separate from system errors so that retry and Confirm BOD behavior is as desired
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566646 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 10:22:17 +00:00
David E. Jones 9484bf4926 Removed property for class that no longer exists in OFBiz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566645 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 10:18:52 +00:00
David E. Jones 9dafec29fd No real functionality change, but consolidated exception handling for simpler and more consistent handling and so that unexpected exceptions don't derail the whole processing process
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566576 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 08:53:06 +00:00
David E. Jones 92719ec8e0 More testing and review, changes mostly to add validation where it was missing based on new test cases
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566504 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 06:51:22 +00:00
David E. Jones 527dd592e7 A few updates to handle some of the todos, support for multiple returns per file just in case, still doesn't support partial return processing but there is a comment about that and it is closer (need status management on ReturnItems first); also resolved some todos like constraining InventoryItem by serial number search to also include productIds
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566461 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 01:10:52 +00:00
David E. Jones 3457b534c1 Added little utility method for getting refurb or original productIds, useful for doing inventory queries by serial number and productId when it may change after refurbishment but keep the same serial number
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566458 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 01:05:20 +00:00
David E. Jones c729ca70aa Added returnId and returnItemSeqId to InventoryItemDetail for tracking inventory changes based on returns
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566456 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 01:01:37 +00:00
Jacques Le Roux 838fbd115d A patch from Thomas Herzog "use UTF-8 encoding for emails" (https://issues.apache.org/jira/browse/OFBIZ-1083)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566428 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 00:15:55 +00:00
Si Chen 870774a46c OFBIZ-1205 contribution from Leon Torres. Fixes unresolved issue of how to select a facilityId for default purchase order shopping cart.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566369 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 22:41:37 +00:00
Hans Bakker c995e02a6a OFBIZ 1171, patch from Bilgin Ibryam to allow reservations also on quotes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566181 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 14:17:37 +00:00
Jacopo Cappellato 5d5f97daca Added more debug messages and fixes for NPE to the service used to import orders from eBay.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566099 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 10:48:45 +00:00
David E. Jones 5fd1bd0eeb A few cleanups to make variables more local, etc; added some notes about special cases that we still need to handle
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566078 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 09:40:10 +00:00
Jacopo Cappellato 0082807e34 Fixed (odd) error I did in the product id resolution routine for imported orders from eBay.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566047 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 07:58:49 +00:00
David E. Jones 227f14d995 Changed process incoming message services to save error status and the message handler that checks for existing messages to look for errors and allow the call to go through passing in a parameter so the services know they are processing an error retry, and changed them to handle that as needed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566020 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 04:27:59 +00:00
David E. Jones bdb5efe60d Added status transitions for error recovery and reprocessing an incoming message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566019 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 04:22:38 +00:00
Anil Patel 87dad904bc Now moving ReturnHeader to completed in two steps as per the StatusValidChange Rule.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565990 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 00:51:56 +00:00
Anil Patel 523f13c137 check StatusValidChange only if statusId is coming in Parameter
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565988 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 00:32:45 +00:00
Anil Patel f7bb4c0692 I think StatusValidChange check makes sense only if we are modifying statusId.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565987 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 00:25:30 +00:00
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
Anil Patel 93058d98ce If returned non serial inventory is not selable then createPhysicalInventoryAndVariance.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565978 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 23:55:08 +00:00
Adrian Crum 6e977d71be Content Manager menu widget refactor contributed by Mike Wong, OFBIZ-241.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565951 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 22:35:09 +00:00
Si Chen f37af94ec4 ShipmentReceipt has no shipmentItemSeqId field and shipmentItemSeqId is a required field for ShipmentItemBilling, so don't create a ShipmentItemBilling record for invoice items created as the result of a purchase shipment. What really needs to happen is for ShipmentReceipt to have a shipmentItemSeqId field, but this is a lower-impact fix for now.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565949 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 22:20:38 +00:00
Anil Patel 81d9782287 added currency formatted out values to getShoppingCartData. Lets thing to worry on client side.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565935 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 21:53:59 +00:00
Ray Alan Barlow 1f48de3914 Javascript fix and simple if/else tidy up. Thanks to Wickersheimer Jeremy for patch : OFBIZ-1201
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565839 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 17:12:21 +00:00
David E. Jones 031c28ccff A couple of small fixes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565730 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 12:52:41 +00:00
David E. Jones f609a0e2ee Changed this to be a button since it is DEFNITELY NOT a tab
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565729 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 12:39:06 +00:00
David E. Jones 27464b10b2 Added view entity for ItemIssuanceAndInventoryItem, also a couple of cleanups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565721 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 11:58:46 +00:00
David E. Jones 036545cf84 Added template changes for serial numbers, assuming they are filled in properly of course
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565719 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 11:48:49 +00:00
David E. Jones 152c1ddaaa Added code to fill in serial number; this stuff is fairly tricky and will only work in limited circumstances, but here is a start at least
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565718 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 11:48:22 +00:00
Anil Patel bdfaf5d5ac Now adding Refurbished item to replacement order only if its in stock.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565704 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 11:15:12 +00:00
David E. Jones c3bbddd916 Big refactoring of oagisReceiveDelivery service and template to structure properly, save interim status information, prepare proper name data, other cleanups; still need to write code to get serial numbers for returned items, as much as possible anyway
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565689 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 10:07:35 +00:00
David E. Jones 9efdef1c5e Fixed issue with setting status to accepted and setting the paymentMethodId in the same call; also other small cleanups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565652 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 08:10:49 +00:00
Anil Patel 99dc1dcde1 adding service to return shoppingCart data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565651 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 08:05:12 +00:00
David E. Jones e2ab638f43 Changed to use entity-condition instead of evaluating conditions in memory after a wider query
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565647 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 07:20:45 +00:00
David E. Jones 2291e3c440 Small change for better error message when returnId not found
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565641 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 06:45:58 +00:00
Jacopo Cappellato 77c9e6e6a6 reverted part of 549443 because it is incomplete as is. Thanks to David Jones for the review.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565617 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 04:29:46 +00:00
David E. Jones 2cd20bdf56 Fixed error message, looks like it was a copy/paste error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565615 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 03:36:47 +00:00
David E. Jones 5c5ff33c63 A few cleanups, added code to make sure serial number exists or doesn't exist based on property configuration
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565613 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 03:23:19 +00:00
David E. Jones f3ea2417fb Commented out this code that isn't used for PO ack dels, just setting the statusId to a constant now
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565596 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 01:14:27 +00:00