Commit Graph
73 Commits
Author SHA1 Message Date
Hans Bakker 029dee7381 added the warehouse processing for the ordersales entities. Contribution by our Antwebsystems employee Tom
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883699 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 14:07:47 +00:00
Hans Bakker 9d1004714b Now allows for employees to add a note to the customer request, the customer gets notified by email with an url. If he logs in he can also add a note as a reply to the note of the employee, the employee will be notified with a system info message when the customer added the note
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@788950 13f79535-47bb-0310-9956-ffa450edef68
2009-06-27 10:54:31 +00:00
Hans Bakker 0f2db54b40 several adjustments on customer request notifications and added a notification when a note is added to the customer request
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@788606 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 06:35:54 +00:00
Ashish Vijaywargiya aa73f29855 Applied patch from jira issue OFBIZ-2470 (In Cross-Ship Replacement we need to make sure return for refund is possible after a return for replacement)
This patch covers following scenarios:

1) Refund of the replacement order possible now. Since the replacement order has no payment preferences associated to it, payment preferences of the original order are used to process the refund. When the replacement order refund is complete you can look for the related entry in payment information section of the original order. Also you can find the payments for this return in ReturnItem screen.

2) When a replacement order is cancelled, and replacement return against which it was created is already received, then that return is refunded.

Thanks Mridul, Arun for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786827 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 13:57:48 +00:00
Ashish Vijaywargiya 64524e4add Applied patch from jira issue OFBIZ-2619 (Issues with Receive PO functionality).
I have tested this patch extensively and now things looks more accurate.
I agree with the issues specified from Mridul in the jira issue.

Thanks Mridul for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786013 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 10:48:09 +00:00
Vikas Mayur f9810fbfee Improve the Return Status process so that it also take into account the ReturnItem status change.
Slightly modified patch from Awdesh Singh Parihar, part of OFBIZ-2541 (https://issues.apache.org/jira/browse/OFBIZ-2541)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@779926 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 10:54:48 +00:00
Anil Patel 329d0a8016 add field to add lead party from create sales opportunity screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778558 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 03:46:45 +00:00
Anil Patel 8555fc06e3 moved Opportunity services to Order component where entity definitions are. Added eca to add Account Party when partyId is entered in create opportunity form.
Updated names of artifacts to match entity they deal with.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778515 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 21:34:04 +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 2f783ae886 When inventory is found or returned for a Discontinued Item then update ProductCategoryMember so that this item is shown in front-end store.
Slightly modified patch from Akash Jain, part of OFBIZ-2484 (https://issues.apache.org/jira/browse/OFBIZ-2484)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@776275 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 11:35:30 +00:00
Vikas Mayur b057ce7808 New return type "Refund Immediately" which trigger refunds on when return is accepted.
Patch from Deepesh Kapoor, part of OFBIZ-2429 (https://issues.apache.org/jira/browse/OFBIZ-2429) 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@774291 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 12:30:20 +00:00
Vikas Mayur 41ac15143c Added new return type "Replace Immediately". This could be used with returns for which items are not expected to be returned and even item(s) cost less then the shipping
charges.

Patch from Deepesh Kapoor (reviewed and tested by Pranay Pandey), part of OFBIZ-2428 (https://issues.apache.org/jira/browse/OFBIZ-2428)
Note: I have made only one change, changed the return type from RTN_REPLACEIMMEDIATE to RTN_REPLACE_IMMEDIAT just for sake of clarity. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772642 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 13:11:48 +00:00
Vikas Mayur fd3dc10998 While doing a refund return, customer may want to purchase new items in exchange of returned items. A CSR can do this by creating an exchange order against the return.
To support this, new type EXCHANGE added for OrderItemAssocType.

Patch from Akash Jain (reviewd and tested by Pranay Pandey), part of OFBIZ-2377 (https://issues.apache.org/jira/browse/OFBIZ-2377)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770659 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 13:04:24 +00:00
Vikas Mayur 953c5fcc05 Changed currentStatusId --> oldStatusId, as this was actually old status and not current status.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770148 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 10:24:22 +00:00
Vikas Mayur c49aedf159 Added support for new return type "Wait Replacement Reserved".
If a return is created using this return type then
1) If status of this return is changed to accepted then a replacement order is created in Hold status. 
2) If status of this return is changed to recieved then this replacement order status is changed to approved.

Applied slighlty modified patch from Deepesh Kapoor, part of OFBIZ-2376 (https://issues.apache.org/jira/browse/OFBIZ-2376)
 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770128 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 09:26:24 +00:00
Hans Bakker 4c0c034121 some more faultfixing on customer request notifications: mainly the partyIdTo was not provided
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769274 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 07:49:12 +00:00
Hans Bakker 0c5a93074c fix the new notification services using sendMailFromTemplateSetting using body parameters
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768245 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 10:08:55 +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
Hans Bakker c1491066f0 moved custrequest notification from myportal to order,moved other programs around, reorganized customer request status handling, replaced cust request roles from ftl to form, removed other used programs from myportal. Now only the party registration is left in myportal.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763135 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 07:58:00 +00:00
Jacques Le Roux a5042291f7 1st part of an effort to remove trailing spaces
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
Vikas Mayur 752c58c1f2 Adjust Purchase Order Items if received quantity is higher.
Applied slightly different patch from OFBIZ-2249 (https://issues.apache.org/jira/browse/OFBIZ-2249)

Thanks Pratik Khera and Pranay Pandey.

Pratik, I have done few changes in the service updatePoOnReceiveInventory.
1) Used service updateItemIssuance to update the records in ItemIssuance entity instead through <store-value>. If their is a service, then service should be used
   for such purpose. 
2) Removed <clear-field> tag, it seems to me that they are not required.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757749 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 12:02:34 +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
Jacques Le Roux 357213101c A patch from Bharat Soni "When recording PO, Company automatically sets price as "last price" on Supplier record." (https://issues.apache.org/jira/browse/OFBIZ-2234) - OFBIZ-2234
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754834 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 07:30:35 +00:00
Jacques Le Roux 60ab8e11f4 A patch from Karim Rahimpur "Error in request overview screen when no party is given" https://issues.apache.org/jira/browse/OFBIZ-2119 OFBIZ-2119
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@746199 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 10:52:08 +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
David E. Jones 3269e7602c Various cleanups dones while reviewing functionality including formatting, refactoring, better descriptions and consistent defaults. In general no functionality change, though did add a default of N for the require return receive setting on the ProductStore
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@725022 13f79535-47bb-0310-9956-ffa450edef68
2008-12-10 07:31:39 +00:00
Jacques Le Roux 2971e21a13 A patch from Krzysztof Podejma "Cannot complete order that contains products of type "SERVICE"" (https://issues.apache.org/jira/browse/OFBIZ-943) - OFBIZ-943
+ some demo data



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@722588 13f79535-47bb-0310-9956-ffa450edef68
2008-12-02 19:33:25 +00:00
Scott Gray ef7124fbb8 Wrong component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@712636 13f79535-47bb-0310-9956-ffa450edef68
2008-11-10 09:48:39 +00:00
Jacopo Cappellato 68dfd57f01 Initial version of the supplier return implementation; thanks to Vikas Mayur for the patch that I have committed with two small changes from OFBIZ-1893
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680690 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 13:28:52 +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
Scott Gray 4a2d42bd3d Fix for OFBIZ-1765 reported by Jacopo Cappellato - Replacement returns were creating duplicated replacement orders.
The problem was that updateReturnHeader was being called and committed a 2nd time before the 1st call had been committed, and somehow that was causing a SECA condition to evaluate to true for both commits instead of just one.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@654072 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 11:24:41 +00:00
Jacopo Cappellato c29e2dce71 Removed commented out code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@653444 13f79535-47bb-0310-9956-ffa450edef68
2008-05-05 12:19:23 +00:00
Jacopo Cappellato cae7b444d5 Cleaned up the services and secas around quote report emails: instead of using the QuoteAttribute entity and seca to trigger the email, it is better to just call the sendQuoteReportMail service.
Part of OFBIZ-1658


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@653327 13f79535-47bb-0310-9956-ffa450edef68
2008-05-05 07:30:37 +00:00
Jacopo Cappellato 57d530878d Implemented logic to assign reservations for new sales orders according to the priority given by the ship before date.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@644637 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 08:09:38 +00:00
Marco Risaliti 5d73342b9e Create a new product store email notification execute on quoteStore event for quote creation status (Part of issue OFBIZ-1658).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@629220 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 20:40:57 +00:00
Si Chen edc1c0398f Refactor ATP requirements based on minimum stock so that the service can be run on order status change rather than on inventory reservation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601039 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 19:03:31 +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
Si Chen 54dd7d5eff Changed seca for createTrackingCodeOrderReturns to run as system to avoid permission problems and also correctly record who ran the service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573041 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 20:01:12 +00:00
Jacques Le Roux 6b10f1ecd6 The seca part of the patch from Bilgin Ibryam "Quote WorkEffort bug" (https://issues.apache.org/jira/browse/OFBIZ-1180)
I'm currently working on a solution more general than the one Bilgin proposed in his patch (it might be applied temporarily if needed). 
I want to add a target-type tag to the alt-target tag. But it's not as easy as I thought because alt-target is a list. I wonder also if I should have worked this on the other side of extends : keeping the target of the calling forms. I chose this way because it seemed more general to me. Please correct me if I'm wrong.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565083 13f79535-47bb-0310-9956-ffa450edef68
2007-08-12 16:12:10 +00:00
Jacopo Cappellato b274861177 Misc fixes and improvements to the eBay integration.
Implemented service and eca rule to set the eBay order status to complete when the associated OFBiz order is completed. By Marco Risaliti OFBIZ-1159.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@558939 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 06:34:58 +00:00
Jacopo Cappellato 88d3b605f0 As a temp fix, I've reverted the change I did in rev. 540479, because it was causing problems during order checkout under some special circumstances.
Now the processOrderPayments service is triggered only when updateOrderItems and appendOrderItem are run (as it was before rev. 540479).
I will return on this as soon as I have some time.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@546748 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 06:17:22 +00:00
Jacopo Cappellato 24450dd084 Remove unnecessary persist='true' from sync service calls.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@540508 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 09:37:11 +00:00
Jacopo Cappellato 75b5b38500 Removed eca definition that was probably there by mistake.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@540480 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 08:39:49 +00:00
Jacopo Cappellato 12b050b12f The processOrderPayments service is now triggered every time the resetGrandTotal service is executed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@540479 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 08:38:25 +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
Andrew Zeneski 1d0f6bacc7 fixed the subscriptions back to approved; checked in by mistake
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539203 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 01:01:51 +00:00
Andrew Zeneski e813b06abb implemented cancel of subscriptions when the order item is returned; fixed return notification bugs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539086 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 19:25:13 +00:00
Jacopo Cappellato 06a067d0c9 Removed service call for the resetGrandTotal from the delete/updateOrderAdjustment services and moved to ECA.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@538906 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 13:17:48 +00:00
Jacopo Cappellato 9aa691415b When returning a non-physical good (productType.isPhysical == N as well as non-product order items) returns should not require inventory to be received. In this case, a return will move directly from APPROVED to COMPLETED handing the refund/order/credit right away.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@537258 13f79535-47bb-0310-9956-ffa450edef68
2007-05-11 18:22:55 +00:00
Jacopo Cappellato 7f83057f03 When a replacement return item is cancelled, the replacement order items associated to it are also cancelled.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536951 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 17:54:40 +00:00