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
Si Chen
30a7152bf4
New InventoryWorker class to figure out quantity of product on outstanding POs. Re-factored product inventory page in catalog manager to use it. Added column to show quantity on order for facility inventory
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@448425 13f79535-47bb-0310-9956-ffa450edef68
2006-09-21 01:28:10 +00:00
David E. Jones
d3f94c5aef
Replaced all old references to [Copyright * The Open For Business Project] which should take care of all of the legal loose ends
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@446798 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 00:35:48 +00:00
Jacopo Cappellato
988eb54361
First step in the implementation of drop shipments:
...
* added new field "supplierPartyId" to the OrderItemShipGroup entity; if a supplier id is in this field (in a ship group of the sales order) it means that the item in the ship group will be drop shipped by the supplier
* added the new field (and accessor methods) to the ShoppingCart
* in the shipsetting order entry checkout screen, added ability to set a supplier for ship groups
* the info about the new field are now available in the order confirm and order detail screens
Next steps:
* automatic creation of a purchase order from the 'drop ship' shipment group; the ship to address in the po will be the one set in the sales order 'drop ship' shipment group
* reservations/issuances of the items in the 'drop ship' shipment group (of the sales order) should be skipped
* when the po's shipment (the drop shipment) is delivered to the customer we should change the status (completed) of the sales order items associated to the 'drop shipment' ship group
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@441752 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 07:24:19 +00:00
David E. Jones
7d5919d655
Added functionality for picking out and retrying CC auths for NSF failures, meant for auto-orders to get better chance of successful charge for subscriptions and such; tries once a week for the number of times specified on the ProductStore
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@441736 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 04:15:54 +00:00
Jacopo Cappellato
3fd69dd536
Implemented searches by unassigned purchase requirements and added supplier id to requirement info.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@441441 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 08:55:29 +00:00
Jacopo Cappellato
1c336218f1
In the purchase order entry requirements' screen, now by default only the requirements that have a role of SUPPLIER for the given party are shown.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@440330 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 12:24:39 +00:00
Jacopo Cappellato
c88b16034b
Added new quote header field to store the quote's sales channel (Quote.salesChannelEnumId).
...
The quote's sales channel is propagated to the order and when a cart is used to create a quote, the sales channel of the cart is used to populate the sales channel of the quote.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@427099 13f79535-47bb-0310-9956-ffa450edef68
2006-07-31 12:25:24 +00:00
Jacopo Cappellato
dc9c759053
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@422819 13f79535-47bb-0310-9956-ffa450edef68
2006-07-17 19:47:26 +00:00
Hans Bakker
7bc0010707
extended the list of workefforts for a quote by adding a new view
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@421541 13f79535-47bb-0310-9956-ffa450edef68
2006-07-13 08:32:49 +00:00
David E. Jones
ceba1a5648
Added a new OrderHeader field: autoOrderShoppingListId, used to track the shoppingListId for orders auto-created from a ShoppingList; also added some fields to the ProductStore to configure certain payment retry settings for these automatic orders from shopping lists; the new OrderHeader field is now also being saved through the storeOrder service, ie all changes in place there
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@420753 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 07:47:06 +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