[ \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
I put also some svn:ignore for shark build and lib diretories and assetmaint/build
I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.
I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
The latter is a dangerous method, since it removes all the order reservations (I've added a comment to explain how it should be used).
With this change, I've reactivated the seca that calls the "processOrderPaymets" service when items are cancelled (that has been disabled to avoid the loss of reservations).
This should completely close issue OFBIZ-380.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@476251 13f79535-47bb-0310-9956-ffa450edef68
This is only a temp fix, to get back to the status prior to the mods I did in r439995 (when I've reimplemented cancelOrderItem from an event to secas/services calls).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@466024 13f79535-47bb-0310-9956-ffa450edef68
So now we have three different requirement services that look at inventory levels:
STOCK_QOH: when qoh goes under minimum stock a requirement is created for the reorder qty
STOCK_ATP (new): when atp goes under minimum stock a requirement is created for the reorder qty
ATP (was STOCK_ATP): creates a requirement on ATP levels and links it to the order item that caused the reservations
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@449366 13f79535-47bb-0310-9956-ffa450edef68
In this way the "processOrderPayment" service can be more easily triggered by eca.
In fact it is now triggered by the cancelOrderItem service.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@440018 13f79535-47bb-0310-9956-ffa450edef68