Commit Graph
93 Commits
Author SHA1 Message Date
Deepak Dixit fcbf5ce772 Moved parentCustRequestId relationship for CustRequest entity from order/entitymodel.xml to scrum/entitymodel.xml, as parentCustRequestId defined in scrum component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1667483 13f79535-47bb-0310-9956-ffa450edef68
2015-03-18 10:33:39 +00:00
Jacopo Cappellato 99b7f462f2 Refactoring of Visit/Visitor/ServerHit* (and related) entities in order to be able to maintain them in a database separate from the main transactional database:
1) removed foreign key relationship from/to this group of entities and the other entities of the OFBiz data model; the fields are still available but they are not enforced by a foreign key constraint
2) removed one view entitiy joining Visit with Party entities and refactored the code that was using it in order to provide the same behavior
3) added a new entity group ("org.ofbiz.stats") for the Visit/Visitor/ServerHit* (and related) entities; for now the group is not active so that the entities are still in the same database as before; however assigning them to a different database is now a matter of uncommenting the group file definition in framework/webapp/ofbiz-component.xml and provide the new datasource definition
 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647271 13f79535-47bb-0310-9956-ffa450edef68
2014-12-22 09:19:33 +00:00
Hans Bakker a847b48b07 reverted unwanted change in r1524279
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1524336 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 08:30:20 +00:00
Hans Bakker 557894d331 chanmge title relation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1524279 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 02:52:31 +00:00
Hans Bakker 707a96401e missing reference in custRequest for parentCustRequestId field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1523959 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 09:03:44 +00:00
Jacques Le Roux f7b662bc46 A patch from Nicolas Malin for "Entity-Auto Engine : manage [create|lastModified]Date field" https://issues.apache.org/jira/browse/OFBIZ-5010
When a entity have fields createDate, lastModifiedDate, createByUserLogin and updateByUserLogin, the entity-auto engine set them.

Also makes all entities that have one of fields [create|lastModified][Date|ByUserLogin] to be consistent and have four fields

Impacted entityies:

    [Quote|Order|Return]Adjustment
    OrderPaymentPreference
    AcctgTrans
    GlReconciliation
    ValueLinkKey


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1407578 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 18:26:19 +00:00
Hans Bakker 9f63d1256f fix the grouporder tests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1368889 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 11:14:03 +00:00
Hans Bakker bb74cd18fa improve the groupbuying function by properly return sales numbers when cancelling an order.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1368822 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 07:52:28 +00:00
Ashish Vijaywargiya 7318b2fae0 Applied patch from jira issue OFBIZ-4703. In SupplierProduct entity, the type of the attribute 'supplierProductId' is id-long. But in OrderItem entity, the type of supplierProductId is id. This differs the size of the field in both entites which results in error while creating purchase order.
Provided the patch to resolve this bug.
Thanks Suprit. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1290891 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 22:09:34 +00:00
Hans Bakker 7c7227d2f2 Added field nextActionDate to Sales Opportunity, moved all opportunity and related (view) entities from the order to the marketing component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1206676 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 07:33:35 +00:00
Hans Bakker 2dc94f4372 added a new accounting configuration option to generate invoice per order or per shipment. can be overridden at the order level
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1163083 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 04:11:16 +00:00
Adrian Crum 3dcb375095 Added notes to quotes. Patch contributed by Anne Jessel (https://issues.apache.org/jira/browse/OFBIZ-4370) with some changes by me.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160402 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 19:47:58 +00:00
Andrew Zeneski 4b8b77c4f5 added modifiedPrice field to ShoppingListItem to allow shopping lists to be used to stage orders when a shopping cart object is not available
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1091525 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 18:05:12 +00:00
Hans Bakker 39408b7951 add quoteterm fields to be the same as ordeterm fields, add maintenance screens to the quote, copy quoteterms to orderterms when creating order from quote
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1067840 13f79535-47bb-0310-9956-ffa450edef68
2011-02-07 01:56:53 +00:00
Ashish Vijaywargiya c6be405cee First pass, adding new entity ReturnContactMech that will help us to store and fetch the correct values for email, phone & address for the new exchange order. Providing service definition and its implementation.
Adding conditional check for adding "ORDER_EMAIL" for the newly created party from the ecommerce store. This check is added because you couldn't see the party's email that has been provided at the time of checkout if you update party's email from Order View page. It may happen that you wanted to use the same email address again if that email wouldn't get expired. 

Work done by me & Amit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054599 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 12:53:29 +00:00
David E. Jones 463c300fc5 Implemented alternative way of saving ProductPrices with tax included in the price, and then calculating VAT tax as an exclusive instead of inclusive amount that goes on a new field on OrderAdjustment; also added a method to OrderReadHelper to get tax for display; there are various changes to service descriptions and entity fields to describe these changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1042542 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 08:05:44 +00:00
David E. Jones 44844b52fc Changed unitPrice to currency-precise so that 3 digit price values will carry over to the OrderItem, otherwise calculation totals in the cart and earlier totals won't match the final order total
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1030845 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 07:05:34 +00:00
Adam Heath f8f89ac3c8 Add ReturnHeader.supplierRmaId, an informational header, to provide a
field to support tracking of rmas by suppliers.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995201 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:03:12 +00:00
Jacques Le Roux 6193dd4e53 <author>None</author> is totally useless and we don't need an author OOTB
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@949101 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 05:41:23 +00:00
Jacques Le Roux 63fd94e778 Not sure why, but my regexp S/R in the commit r948846 boke some formatting. I also removed some useless other stuff in this commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948852 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:45:59 +00:00
Jacques Le Roux 2a1a5aee14 We don't need
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>

Less to update every year!

Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783

Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!

I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948846 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:23:22 +00:00
Adam Heath 7f439d2b60 Remove duplicate OrderItem relation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935382 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 18:03:53 +00:00
Joseph Eckard b7233d5b7b added supplierProductId to OrderItem
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935021 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 18:25:52 +00:00
Jacopo Cappellato 5be58b3493 Fixed bug reported by Giorgio Tomaselli: when the same order item requiring production runs is associated to multiple shipments, in the "work with shipment plans" screen it was not possible to generate the production runs for 2nd, 3rd etc.. shipments.
Fixed by adding an optional shipGroupSeqId to the WorkOrderItemFulfillment entity that can be used to specify the key to the specific OrderItemShipGroupAssoc.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@934004 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 16:12:57 +00:00
Adam Heath e71909c3aa Add OrderItem relation on OrderItemGroup.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930321 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 16:47:22 +00:00
Hans Bakker 0856f9749a missing relation between customer request and custrequestnote
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@922154 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 06:52:56 +00:00
Jacopo Cappellato 422ffea453 Pretty important change in the way purchase shipments and purchase-order-to-shipment mapping are modeled:
* OrderShipment entity (that was mostly unused) has been enhanced to properly associate order items (OrderItemShipGrpAssoc) to shipment items: this entity is now used in place of ItemIssuance (that was improperly used, in po, for the same purpose)
* as a consequence of the above change, I have updated the purchase order receive screens and business logic triggered by them


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@895250 13f79535-47bb-0310-9956-ffa450edef68
2010-01-02 18:20:19 +00:00
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