Commit Graph
61 Commits
Author SHA1 Message Date
Jacopo Cappellato 7eb08a6233 Misc fixes for the MRP algorithm (including two reported by Daniel Riquelme in the dev list).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@613599 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 16:31:05 +00:00
Bilgin Ismet Ibryam a16275649e Applied my (modified) patch from JIRA Issue # OFBIZ-1453 "store/load possibility for AGGREGATED product configurations".
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@613216 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 17:47:01 +00:00
Anil Patel fd607d318a Fix for Bug in Creating OrderPaymentPreference Record from OrderView Screen.
Ashish thanks for reporting this bug and providing fix for it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600765 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 01:38:27 +00:00
Si Chen 324ef70827 Instead of using an EECA to create auto order requirements, do it when order status changes from created to approved.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600629 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 18:45:37 +00:00
David E. Jones b013ab4f40 Added rateCode field and code to set it in OrderItemPriceInfo, now set in calc price service too
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598933 13f79535-47bb-0310-9956-ffa450edef68
2007-11-28 09:55:33 +00:00
Anil Patel 6313bf7c8b Now tracking orderPaymentPreference status change. Thanks to Vikas for providing this patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598148 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 06:56:30 +00:00
David E. Jones a1214b539a Removed some redundant and unnecessary constraints in OrderItemPriceInfo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@593272 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 19:41:29 +00:00
Scott Gray 2b51d99b23 Changed eca to run on create only, checkCreateOrderRequirement only needs to be run once
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@591734 13f79535-47bb-0310-9956-ffa450edef68
2007-11-04 07:15:53 +00:00
David E. Jones 15aa19b1d8 Added a shipGroupSeqId field to the OrderPaymentPreference to make it possible to tie them to a ship group on the order; this is like the orderItemSeqId field that has been around for a while to tie it to an item, and also fills the gap to be able to associate an order item and ship group combination to a payment preference; also added an orderPaymentPreferenceId to the OrderStatus entity so that this entity can also be used for payment preference status changes; related logic/UI changes will be coming along soon
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@588181 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 09:48:53 +00:00
Jacopo Cappellato e0c893e5a8 Moved entity to the right package (from requirement to request); thanks to Chris Howe for the patch OFBIZ-726
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585211 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 18:04:54 +00:00
David E. Jones ed3f89cdfa Added new data model elements and seed data for modeling vendor-specific store settings and order with ship group per vendor
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583076 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 08:49:46 +00:00
Jacques Le Roux e4f26d95f6 Fix a typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@581509 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 06:41:28 +00:00
Jacques Le Roux a7f59bc445 At Chris Howe's demand with no complaints from anybody
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@580876 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 07:31:45 +00:00
Si Chen fffdfb6430 Add currency of order to order header and payment pref view. This helps us tell what currency maxAmount is in.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578295 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 22:31:09 +00:00
David E. Jones a119e17705 A bit of refactoring, but mostly implemented feature only previously implied to save the replacementOrderId on ReturnItemResponse, and attach to relevant ReturnItems
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569386 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 13:49:21 +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 dfd9dbd33c Removed old fields from old Jasper report files; removed an entity from a view definition because it was not linkable to the other ones.
Thanks to Adam Heath for the bug report OFBIZ-1115.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@554887 13f79535-47bb-0310-9956-ffa450edef68
2007-07-10 09:46:08 +00:00
Jacopo Cappellato cb6914ba5f Fixed wrong view entity definition, messed up by one of my last commits today.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@543453 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 10:08:11 +00:00
Jacopo Cappellato 7d70a84a06 Applied patch from Marco Risaliti (OFBIZ-1036) to add product descriptions for marketing packages components in the packing screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@543427 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 08:33:09 +00:00
Jacopo Cappellato 0cb5e6b248 Refactored code related to the Packing screen to support mkt pkg.
Thanks to Marco Risaliti for the initial patch (OFBIZ-1036) even if I have only partially applied it because I've choosen to follow a different approach for the packing screen.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541891 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 13:18:19 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Si Chen 80e2c9ca61 Added textValue to InvoiceTerm, OrderTerm and AgreementTerm to store an actual
description of what the term is and can be filled in with seed data.  The 
description fields are retained, but are intended to be user editable.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536333 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 21:22:09 +00:00
Andrew Zeneski e32872653c added new field OrderItem.fromInventoryItemId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@533919 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 02:59:48 +00:00
David E. Jones f76e1b5cf8 Small fix for fk-name which was over 18 chars; fixes warning on startup
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@533035 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 09:34:51 +00:00
Andrew Zeneski a921174f85 added more detailed information for financial accounts when used for payment on orders
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@532933 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 02:20:50 +00:00
Si Chen b33e670ddc Adding a sequenceId field to the OrderItemShipGrpInvRes entity and ordering secondarily by this field when inventory reservations are retrieved in the balanceInventoryItems service, as an aid to prioritizing reservations when a RDBMS (such as MySQL) doesn't support fractional seconds on timestamp fields
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@532412 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 17:20:21 +00:00
David E. Jones ffb29963f6 A few small changes to facilitate handling of certain order and inventory status scenarios; more supporting code should be added that use these in coming weeks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@531870 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 10:41:55 +00:00
Andrew Zeneski c59a124bc4 added paymentMethod to return header
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@531217 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 16:08:49 +00:00
David E. Jones 4f4863c3d7 Added productPromoCodeId to ShoppingList, and change order from list service code to add it to the cart when a shopping list order is placed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@525534 13f79535-47bb-0310-9956-ffa450edef68
2007-04-04 15:19:45 +00:00
Jacopo Cappellato a6cde7466f Fixed some warning at startup.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523097 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 21:57:13 +00:00
David E. Jones c3f2b9a4c7 Added a bunch of index definitions based on being annoyed by console log messages about slow queries
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523013 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 17:44:11 +00:00
Jacopo Cappellato 61a7cf5484 Improvements to the MRP algorithm: sales orders ship group dates are now considered, better handling of orders without dates (they are now moved far in the future).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522494 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 12:19:49 +00:00
Si Chen 4f9b8dd75f added orderName field to OrderHeaderItemAndRoles
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@518217 13f79535-47bb-0310-9956-ffa450edef68
2007-03-14 16:57:02 +00:00
David E. Jones ded855f00b Removed cvvNumber from CreditCard, added comment about use of securityCode on the OrderPaymentPreference which is where this should really be stored
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515393 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 00:23:44 +00:00
Jacopo Cappellato 56fa69ae48 Pretty important change to data model to allow more flexible shipping rules per store:
the primary key of the entity ProductStoreShipmentMeth is no more composed by:
  productStoreId
  shipmentMethodTypeId
  partyId
  roleTypeId

but by one (new) pk field :
productStoreShipMethId

Also modified existing business rules and demo data to reflect this change.
OFBIZ-735


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511250 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 11:07:08 +00:00
Si Chen 4247037a87 Add 'description' (type description) field to AgreementTerm, OrderTerm and InvoiceTerm entities to allow for terms that aren't necessarily numeric in nature (EG: supplier shipping method, etc.)
Modify ShoppingCart/ShoppingCartHelper/ShoppingCartEvents.addOrderTerm, ShoppingCartHelper.selectAgreement and InvoiceServices.createInvoiceTerms methods to make them aware of the new description fields
Display OrderTerm.description in order headers and PDF
Fix order PDF so that there's a line break after each order term

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508580 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 20:58:29 +00:00
Si Chen 25215a95b9 Approved requirements list now shows the quantity sold of each product. It reports the last 6 months of sales.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@501970 13f79535-47bb-0310-9956-ffa450edef68
2007-01-31 20:00:42 +00:00
Si Chen 7e11e00c64 OFBIZ-654: Replace the view-entity chain with a single count-distinct view entity.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@500365 13f79535-47bb-0310-9956-ffa450edef68
2007-01-26 21:32:45 +00:00
Si Chen c0c5566262 OFBIZ-654: Approved product requirements by vendor screen. This is an interesting screen as it uses two view entities chained together to perform a two-level query. One view entity is a subquery to group requirements, the next one calls it and counts the results.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@500287 13f79535-47bb-0310-9956-ffa450edef68
2007-01-26 17:37:11 +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
Jacopo Cappellato 6734c79135 Based on a recent discussion on the dev mailing list, I've now refactored the entities and code to associate order items:
* OrderItemAssociation has been deprecated and renamed to OldOrderItemAssociation
* two new entities has been added: OrderItemAssoc and OrderItemAssocType
* all the code that was using the OrderItemAssociation entity has been modified to use the new entity
* added seed data for the OrderItemAssocType
Now the new entity can be used not only to store an association between a sales order item and a purchase order item, but also different kinds of relations, such as drop shipments, replacements, new versions of orders etc...

I'm going to commit (in my next commit) a service that can be used to migrate data from the old entity to the new ones.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@485144 13f79535-47bb-0310-9956-ffa450edef68
2006-12-10 08:19:40 +00:00
Si Chen 1caee501c1 Moved an entity which should be in accounting/ and whose entitygroup definition is in accounting/ from order to accounting
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@478318 13f79535-47bb-0310-9956-ffa450edef68
2006-11-22 20:49:10 +00:00
Si Chen bdb32342dd OFBIZ-468: Added CustRequest.fulfillContactMech and a screen to view the related address/phone/email.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@477453 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 01:20:06 +00:00
Si Chen ee9484af53 Added field to view entity OrderItemQuantityReportGroupByProduct for selecting according to date issued.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@473455 13f79535-47bb-0310-9956-ffa450edef68
2006-11-10 20:23:53 +00:00
Si Chen 1bea986172 New OrderAdjustmentBilling entity to record the relationship between OrderAdjustment and InvoiceItem to help determine which tax, shipping, or promo has been invoiced
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@470162 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 01:24:29 +00:00
Si Chen 7501bd1c26 OFBIZ-337 - Allow returns of partially shipped orders.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@453376 13f79535-47bb-0310-9956-ffa450edef68
2006-10-05 20:44:44 +00:00
Si Chen 9a3e2f4976 Fix issues with open order item report and 'Required for SO' value in orderview. Introduced a new view-entity to report quantities ordered, issued and open gropued by order item. Renamed the view entity grouped by product to be consistent. Simplified the report bsh and InventoryWorker methods. These fixes are dependent on a the <complex-alias> COALESCE issue OFBIZ-336.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@451399 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 19:37:41 +00:00
David E. Jones e6444f07e1 Added more support for recurring prices, in this case recurringAmount on adjustments including adjustments based on selection of optional features, this gets us pretty close to complete functionality for initially showing and tracking recurring prices; note that there is no follow up like auto-orders automatically for these prices, just display and store them to pass on to other systems for now; if someone needs it that functionality could certainly be added later on
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@450569 13f79535-47bb-0310-9956-ffa450edef68
2006-09-27 20:46:34 +00:00
Jacopo Cappellato ea5a8d688d Added salesChannelEnumId to the CustRequest entity.
The field is populated from the cart when the cart is saved as a request, and is also propagated to the quote when a quote is created from the request.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@450525 13f79535-47bb-0310-9956-ffa450edef68
2006-09-27 17:54:52 +00:00
Si Chen ac747d7c73 Fix bug where outstanding product quantities does not take issuances into account. This required creating a new view entity to sum up ItemIssuances. Also refactored a bunch of code out of orderview.bsh and created a handy method to get a distinct set of productIds in OrderReadHelper. (Useful for doing where productId IN queries.)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@450171 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 20:08:10 +00:00