Commit Graph
66 Commits
Author SHA1 Message Date
David E. Jones 7e6f0209d5 Added finAccountTransId to ReturnItemResponse entity to keep track of when store credit is used there; This is a tough decision. Right now we have ReturnItemResponse that is used for all ReturnItems as they are processed, and we also have the FinAccountTrans that refers to whatever triggered the transaction. However, I don't like circular references... If there was a natural one-to-many relationship in a certain direction it would help break the tie, but realistically these should be a one-to-one relationship. Unfortunately this means for the FinAccount we have to do a lookup on the ReturnItemResponse entity to see if it came from a return. For now I guess that's the best option.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@779867 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 06:47:32 +00:00
Vikas Mayur 705e336ded Fix log warnings as things were not set properly. Thanks Hans for reporting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778570 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 06:33:03 +00:00
Anil Patel 1d26ae9f32 Add screenlet to show list of opportunity for an account.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778544 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 01:22:10 +00:00
Vikas Mayur d16e9e2c68 Enable audit for few fields on ReturnItem entity namely returnTypeId, returnReasonId, returnQuantity, receivedQuantity and returnPrice. The history of changes on these fields
can be viewed through new tab Return History. Also added a new service for creating return status and removed the inline code that was used earlier to create Return Status.
Patch applied from Awdesh Singh Parihar, part of OFBIZ-2483 (https://issues.apache.org/jira/browse/OFBIZ-2483)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778463 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 18:02:47 +00:00
Vikas Mayur d124ccbbf2 Enabled audit on few fields on OrderItem to archive changes in OrderItem price and quantities as well as on OrderItemShipGroup to archive changes in shipment method for an
order. This can be viewed through "Order History" link under Actions screelet on Order Detail Page. 
Slightly modified patch from Amit Sharma, part of OFBIZ-2499 (https://issues.apache.org/jira/browse/OFBIZ-2499)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778406 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 12:35:33 +00:00
David E. Jones eb137da458 Added new OrderProductPromoCode entity to keep track of promo codes enetered so that can be used again when promotions are calculated when an order is changed; also moved OrderContent and OrderContentType entities to be in alpha order
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778273 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 04:01:58 +00:00
Vikas Mayur f4f58034ca New feature to mark order as viewed.
Patch from Anurag Singh Senger, part of OFBIZ-2446 (https://issues.apache.org/jira/browse/OFBIZ-2446) 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@773854 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 11:08:24 +00:00
Jacques Le Roux 058d6aed57 A patch from Ashish Vijaywargiya "Change Copyright Year" (https://issues.apache.org/jira/browse/OFBIZ-2346) - OFBIZ-2346
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772936 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 10:56:14 +00:00
Vikas Mayur 257f8d5341 User can print pick sheets for each order in a group which will show detailed information of each order like shipping method, and number of order items
in each order, Product ID and supplier Product ID.

Patch from Arun Patidar (reviewed and tested by Pranay Pandey), part of OFBIZ-2225 (https://issues.apache.org/jira/browse/OFBIZ-2225)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767482 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 12:19:39 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Vikas Mayur a131758b9e Another new feature from Pranay and Co.
Now Order reservation can be changed manually by setting priority (new field priority on OrderHeader and OrderItemShipGrpInvRes) for the order. This way few orders can be
fulfilled while waiting for sufficient inventory to fulfill large orders.

Applied patch from OFBIZ-2224 (https://issues.apache.org/jira/browse/OFBIZ-2224).
Thanks Pratik Khera and Pranay Pandey.

i18n Note: This commit has three new labels (IMO, they can be moved to common component with names something like CommonHigh, CommonLow etc.)

Pratik, I have done minor changes in the service and they are
1) Used <if-empty field=""> instead of <if> <condition> <if-empty> as this makes the logic more clearer.
2) Removed <condition-list> because their is only one expression in the <entity-condition>
3) Added <clear-field> in the iteration, to make sure that always a new value will be set in the map that is passed to a service and <store-value>  



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@756001 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 13:58:08 +00:00
Vikas Mayur 7bc9f320d3 Cancel back orders from supplier if the cancelBackOrderDate (new field on OrderItem) has passed. This is achieved using a schedule job.
Patch applied from OFBIZ-2220 (https://issues.apache.org/jira/browse/OFBIZ-2220). 

Thanks Deepesh Kapoor and Pranay Pandey for testing.

On a side note, I have changed the field description on the entity to use <description> element instead of <!-- -->. Also changed this for adjacent field.
Changed the description of the service a bit. 



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755596 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 13:54:53 +00:00
Jacques Le Roux 219f600813 A patch from Divesh Dutta " Functionality for putting in estimatedShipDate and estimatedDeliveryDate for order items." (https://issues.apache.org/jira/browse/OFBIZ-2239) - OFBIZ-2239
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755011 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 21:34:50 +00:00
Marco Risaliti 2d8f185142 A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753028 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 21:50:12 +00:00
Marco Risaliti b9601cfffb Some missing default-resource-name for entity labels.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@748683 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 20:26:54 +00:00
Jacques Le Roux 572b7683e0 All tabs to 4 spaces in *.groovy, *.java, *.xml : less problems in future with that aspect...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737003 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 11:08:47 +00:00
David E. Jones 874f02e9da Manual merge of typecheckcleanup200810 branch as of rev 731346 in that branch, resolved all conflicts; with this BigDecimal is not the native type for many entity fields and is used for many calculations; some work is still needed in certain areas of the project but this covers the most critical ones; thanks especially to Scott for his work on this
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731851 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 07:13:36 +00:00
Hans Bakker 5cea27a539 implementation of OFBIZ-2024: add content attachments to a customer request
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709427 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 14:09:43 +00:00
Bilgin Ismet Ibryam 93745e20ac Applied (with few modifications) patch from Len Shein, OFBIZ-1928: "Allow the Shopping Cart to accept a facility per ship group to specify where inventory should be reserved from".
Also added a dropdown button to choose a facility in order manager shipping screen.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688993 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 08:30:05 +00:00
Ashish Vijaywargiya d7867af0b0 Patch from JIRA issue https://issues.apache.org/jira/browse/OFBIZ-1910 "Add support of fromDate & thruDate in CustRequestRole entity".
Slight change in Entity name in this commit.
In the attached patch the  name of entity was "CustomerRequestRole" but in this commit the name of new entity is "CustRequestParty"(Looked more close to the data model pattern).

Thanks Bilgin for your valuable Input on this.
I have also written the Migration service for providing the Backward compatibility.

Special thanks to Ratnesh & Jacopo in discussing with me on this work.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686731 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 11:47:14 +00:00
Jacques Le Roux dd838e22a6 Better descriptions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685087 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 08:46:23 +00:00
Jacques Le Roux 5584b0c222 From David's comments on dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685082 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 08:34:15 +00:00
Jacques Le Roux cb5be4be47 Some fields descriptions from BJ comments on user ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684812 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 16:54:39 +00:00
Hans Bakker 35ec502a49 added partyId field to customerRequestType, created related view to partyReLationship to be able to list customerRequests by reponsible person and added new service to change customer request status
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@678339 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 04:08:30 +00:00
Jacques Le Roux 641ff10050 Update Copyright to 2008
A real replace in files feature was one of the reasons I use Eclipse 3.4 for near a year now (I even helped to test, a real must have :o)
Not sure previous commit was sent partially or not at all (I needed to update)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677685 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 18:56:25 +00:00
Jacopo Cappellato e8a991abba Several fixes and enhancements to the return process: now a return shipment is automatically created when the return is approved, and when the return is completed an invoice is also created. Added new entity to associate a return item with a shipment.
Several small enhancements to the ui to link returns with shipments and inventory receipts.
Still, a lot of works needs to be done in this area (e.g. manual creation of return shipments, improve the ui, verify the code that creates the invoice for the return, verify the code that apply payments to invoices etc...)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@669188 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 14:29:16 +00:00
Vikas Mayur fbffaacc97 New entity SalesForcastDetail - part of jira issue OFBIZ-194
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661700 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 13:03:55 +00:00
Bilgin Ismet Ibryam 2727a93034 "Store Order Item changes" from Jira Issue OFBIZ-1773
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655452 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 09:36:04 +00:00
David E. Jones b6174f540a Some data model cleanups/fixes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@641640 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 23:27:48 +00:00
Jacopo Cappellato 162a34d428 Fixed duplicated foreign key name; thanks to Yin T for the report. OFBIZ-1713
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@638415 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 15:27:18 +00:00
Jacques Le Roux eebd98c9c8 A patch from Chris Lombardi "POS: credit card data compliance" 'https://issues.apache.org/jira/browse/OFBIZ-1674) - OFBIZ-1674
+ a file which was missing in a previous commit (base component-load.xml)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@637395 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 11:31:20 +00:00
Vikas Mayur 0d35f81a22 Applied patch from Jira Issue OFBIZ-1686 (https://issues.apache.org/jira/browse/OFBIZ-1686)
Added new Entity definations for SalesOpportunityTrackingCode, SalesOpportunityCompetitor
with modifications to other entities for SFA component

Thanks to Jyotsna Rathore, Saurabh Nayak for the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@632034 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 15:55:59 +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
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
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
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
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
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
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