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
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
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
[ \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
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
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
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
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
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
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
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