I checked the commit logs and I don't see what changed to cause these services to stop working, so I took the shotgun approach and changed all occurrences of GenericValue service attributes.
If anyone has a better solution, please feel free to revert this commit and change it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765864 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
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.
using <service name=(.*)engine="simple"(.*)location="org/ofbiz => <service name=$1engine="simple"$2location="component://{componentName}/script/org/ofbiz
with {componentName} done by hand
Also for bsh and groovy (services_test in copmmon). There is no longer any location="org/ofbiz in OFBiz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755977 13f79535-47bb-0310-9956-ffa450edef68
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755936 13f79535-47bb-0310-9956-ffa450edef68
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
* AutoSave (automatically save current transaction)
* Add a saved sale to the current sale
* Remove a savec sale
* Replace current sale by a saved sale and remove simultaneously the saved sale
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@745257 13f79535-47bb-0310-9956-ffa450edef68
1) Converted all of these events to services "createUpdatePerson, createUpdateEmailAddress, createUpdateTelecomNumber, createUpdateUserLogin,
createUpdateShippingAddress, createUpdateBillingAddress, createUpdateCreditCard"
2) Added Demo data for telecom number for DemoCustomer so that this party can do checkout on One page checkout.
3) Modified behaviour of billing and shipping telecom number field on new customer page with respect to check box "Billing is the same as the shipping address" and
corresponding changes to createCustomerProfile event. Now billing and shipping phone numbers are handled separtely from billing and shipping addresses resp.
4) Misc. changes to profile Java Script and one page template.
Thanks to Rishi Solanki, Santosh Malviya, Brajesh Patel and Sumit Pandit (for review) for this contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@692448 13f79535-47bb-0310-9956-ffa450edef68
For now we are adding service and later on we can add the GUI support for this service.
Thanks Ratnesh and Harsha for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@690217 13f79535-47bb-0310-9956-ffa450edef68
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
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