Commit Graph
133 Commits
Author SHA1 Message Date
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
Adam Heath ac2299c50e Fix a bunch of no final newline issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:15:21 +00:00
Jacques Le Roux 8cf49bf87d The Sales by Store Report was wrong has it did not use a complex alias for quantityOrdered (OrderItem.quantity - OrderItem.cancelQuantity) but only OrderItem.quantity. Thus canceled quantities were not taken into account.
A little drawback is that if there are 0 values sold this values show. But actually it's not a problem since it informs the user that all quantities ordered for this product has been canceled

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958343 13f79535-47bb-0310-9956-ffa450edef68
2010-06-27 07:42:46 +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
Jacques Le Roux 21ec172143 A patch from Sam Hamilton "Extending the search when receiving a Purchase Order" (https://issues.apache.org/jira/browse/OFBIZ-3777) - OFBIZ-3777
This patch is to add a couple of extra ways to look for a purchase order when receiving it into a facility

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948020 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 12:17:09 +00:00
Vikas Mayur 6aa85b0518 Fixed an issue with grouping of order on picking screens. Earlier when user selects any grouping methods (except zero grouping which means user has not selected any
grouping methods) then the Find Orders to Pick screen wasn't showing any thing if the FacilityLocation (Warehouse Area) is not setup in the system.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944605 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 09:55:32 +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 601ca11233 add the note view to the customer request
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925733 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 06:46:20 +00:00
Scott Gray 6109808c8a Tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924378 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 17:28:01 +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
Hans Bakker 601acb6dd0 New Order reports: (run 'init warehouse' in the BI component first and select B2C productstore to see the demo data)
- Net Before Overhead Report
Net Before Overhead Report is the profit calculation of paid-shipped orders and all the occurred fee excluding the overhead cost. They are grouped by Product Store Id.(Demo data for Net Before Overhead Report have in Product Store Id 'B2CStore')

- Product Demand Report
Product Demand Report is the report to show us which product sells good and which product doesn’t sell good or not selling at all in one account as well as for all accounts in last 4 weeks. They are grouped by Product Store Id.(Demo data for Product Demand Report have in Product Store Id 'B2CStore')

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902719 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 07:23:57 +00:00
Hans Bakker b6a334c615 changed view entities so there are no warnings of duplicated fields at start-up
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@895583 13f79535-47bb-0310-9956-ffa450edef68
2010-01-04 09:03:38 +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
Hans Bakker 78fa025e71 extended the OLAP entities with the InventoryItemFact, added birt reports in the facility, Order, and accouning payment components. Please note that before these reports can be used the warehouse needs to be populated
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890830 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 15:34:29 +00:00
Jacopo Cappellato 1cc8ea400a Fixed entity definition for new olap entities in the order component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883645 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 10:23:33 +00:00
Hans Bakker f8e9df50f0 A first proposal open for comments of the order OLAP entities. secas and initial load are on the way and implemeted following the same pattern as Jacopo's accounting entities
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883034 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 04:37:27 +00:00
Vikas Mayur 68dc9b9ec1 When items received against a PO are canceled, this also cancels the invoice. Added the ability to re-generate the invoice once canceled items are received again.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796297 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 13:46:44 +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 eebe04dc4c Done following fixes:
1) Moved the view entity to correct package.
2) Changed the view name as well as the entities used. Now the records are coming as expected.
3) Corresponding changes in the findOrdersToPickMove service.

The main purpose of this view entity is to find out the location (areaId) of the inventory item that is reserved/picked for a particular order. For example if an order has two 
order items X and Y and items X is picked from area A and item Y is picked from area B of a facility (where obviously area A and B are associated to a pick/primary location), 
then while grouping this order in facility > picking screen by "Group by Warehouse Area" method will show order under Multi Locations group. To clarify more on this grouping
method, grouping is done only with the areaId and the locationSeqId (which is a combination of areaId, aisleId, sectionId, levelId, positionId).  


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@779041 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 07:44:17 +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
Andrew Zeneski 64b3a8bf99 changed package name to match the component; also previous package name was not all lower case creating a new package when viewing in webtools
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763356 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 19:23:18 +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
Hans Bakker cd93cb31d4 be able to relate a project to an order (order component is not dependant on project manager)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749560 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 08:07:35 +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 73abc819f5 corrected an error in QuoteWorkEffortView definition causing an error message in the startup log
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@726335 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 02:18:26 +00:00
Jacques Le Roux 4085538f6f Fix 2 erroneous entity view titles found by chance while working on ProtectedView
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@726131 13f79535-47bb-0310-9956-ffa450edef68
2008-12-12 22:04:33 +00:00
Jacques Le Roux 52595e4f48 A slightly modified patch from Bilgin Ibryam "Allow multi-pagination in a page" (https://issues.apache.org/jira/browse/OFBIZ-1935) - OFBIZ-1935
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@725053 13f79535-47bb-0310-9956-ffa450edef68
2008-12-10 10:39:16 +00:00
Hans Bakker caf7e4a2e1 show and enable to add content to customer requests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@720114 13f79535-47bb-0310-9956-ffa450edef68
2008-11-24 04:44:00 +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 9766672b3b A patch from Luke Prentice "OrderHeaderItemAndShipGroup should exclude facilityId from OrderItemShipGroup." - OFBIZ-1960
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@696160 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 05:46:25 +00:00
Hans Bakker 6111f33a31 allow contacts of the same customer account see each other customer requests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@690628 13f79535-47bb-0310-9956-ffa450edef68
2008-08-31 03:19:51 +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