Commit Graph
181 Commits
Author SHA1 Message Date
Adrian Crum 9a753b9865 Fixed a problem where service definitions were using "GenericValue" as attribute types, but that threw exceptions because the service definitions needed the full class name - "org.ofbiz.entity.GenericValue". The problem was reported in https://issues.apache.org/jira/browse/OFBIZ-2268 and https://issues.apache.org/jira/browse/OFBIZ-2311.
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
2009-04-17 06:33:43 +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 29315e3798 all components
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
2009-03-19 12:50:51 +00:00
Jacques Le Roux 4b6a8d7172 order component
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
2009-03-19 11:36:53 +00:00
Vikas Mayur 9e7732ea1a Functionality to add bulk products to purchase order through order detail page.
Patch applied from OFBIZ-2221 (https://issues.apache.org/jira/browse/OFBIZ-2221) with slight modification to
1) Label
2) Used view-size in form instead of screen definition.

Thanks to Akash Jain, Pranay Pandey (review and test).

i18n note: This commit has new label.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755627 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 16:10:44 +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
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
David E. Jones 9bca6f0bc2 Fixed commit in rev 752866 which had a duplicate service attribute definition for orderId, changed to a single INOUT attribute
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753131 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 05:49:37 +00:00
Jacques Le Roux 73e2cca8cf A patch from Bharat Soni "Buyer should be able to specify PO# otherwise it should be generated automatically while placing a purchase order." (https://issues.apache.org/jira/browse/OFBIZ-2218) - OFBIZ-2218
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@752866 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 13:51:35 +00:00
Hans Bakker aead488837 fromPartyId not required for update
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749179 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 04:21:32 +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
Jacques Le Roux 246090c0a6 BigDecimal in POS (complete). Integration of ofbiz-1945.patch changes (with some modifications) but still not used since it miss some features:
* 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
2009-02-17 21:16:33 +00:00
Jacques Le Roux 363ae34457 A slightly modified patch from Stephen Rufle "OrderServices.updateApprovedOrderItems should update OrderItemAttributes" '(https://issues.apache.org/jira/browse/OFBIZ-2115) - OFBIZ-2115
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737200 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 21:44:42 +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
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
Vikas Mayur 447a7b212b Now on One page checkout, new profile and manage address pages state is an optional field (cause some countries does not have states).
Patch applied from Jira issue OFBIZ-2043 (https://issues.apache.org/jira/browse/OFBIZ-2043).
Thanks to Surya Kusumakar, Onima Kasliwal, Kirti Dhakad and others.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@714238 13f79535-47bb-0310-9956-ffa450edef68
2008-11-15 12:08:36 +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
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
Vikas Mayur d97c649e65 Fix:Few countries does not have any state. Made the state field on One Page Checkout as an optional field.
Applied patch from Jira Issue OFBIZ-2014 (https://issues.apache.org/jira/browse/OFBIZ-2014)
Thanks to Onima Kasliwal and Rishi Solanki.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@707349 13f79535-47bb-0310-9956-ffa450edef68
2008-10-23 11:36:30 +00:00
Hans Bakker 581fb4e7d0 on a custRequest, return old status when updated, enable setting of name on create request from comm event
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@695633 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 21:20:31 +00:00
Adrian Crum 1420174177 Replaced missing </services> tag.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@692569 13f79535-47bb-0310-9956-ffa450edef68
2008-09-05 22:40:58 +00:00
Vikas Mayur 95f49da9af Done following changes:
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
2008-09-05 14:08:18 +00:00
Jacopo Cappellato 49d752809e Missing service attribute from my last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@691978 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 11:49:32 +00:00
Jacopo Cappellato 6081ebe472 Migrated permission control for cust request creation to the new permission framework based on services.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@691962 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 11:06:05 +00:00
Ashish Vijaywargiya d9e8c3f9fc Patch from JIRA issue https://issues.apache.org/jira/browse/OFBIZ-1937 (Added new updateCustRequestNote service)
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
2008-08-29 12:47:05 +00:00
Ashish Vijaywargiya d7867af0b0 Patch from JIRA issue https://issues.apache.org/jira/browse/OFBIZ-1910 "Add support of fromDate & thruDate in CustRequestRole entity".
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
2008-08-18 11:47:14 +00:00
Hans Bakker b9f9ad2cb9 when a custRequest is created, create also optionally the item because often the texual customer request consists out of a single item
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685836 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 09:38:42 +00:00
Hans Bakker 484567da28 move createCustRequest from the party to the order component, utilize the requestItem for creation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681372 13f79535-47bb-0310-9956-ffa450edef68
2008-07-31 13:55:11 +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
Hans Bakker 35ec502a49 added partyId field to customerRequestType, created related view to partyReLationship to be able to list customerRequests by reponsible person and added new service to change customer request status
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@678339 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 04:08:30 +00:00
Hans Bakker 99f145b84d request screenlet conversion and findscreen collapse and reorganize, automatic request id generation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677024 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 20:14:42 +00:00
Vikas Mayur b2a40a0be5 In shopping cart and summary, Discount is calculated as Sum of Order Adjustments. Patch from Brajesh Patel
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676589 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 13:52:20 +00:00
Si Chen 3b109fccc3 changed updateOrderItemShipGroup to auto-fields OrderItemShipGroup
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676062 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 19:56:25 +00:00
Vikas Mayur 60beb82a67 Now Shopping Cart is working in One page Checkout.
Continued effort from Brajesh Patel, Sumit Pandit, Rishi Solanki and Santosh Malviya .....

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@673593 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 05:50:33 +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
Vikas Mayur 65f2cb817a Patch for SalesForecast screens, SalesForecastDetail screens, crud services - part of Jira Issue OFBIZ-1645 (https://issues.apache.org/jira/browse/OFBIZ-1645)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662037 13f79535-47bb-0310-9956-ffa450edef68
2008-05-31 15:29:36 +00:00
Hans Bakker 74ff3e83ac created a automatic subscription extension, improved the (product) subscription screens, and added 3 fields in the subscription and subscription resource to enable this function
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@661283 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 10:31:14 +00:00
Bilgin Ismet Ibryam a8bf1af278 Trivial bug fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659106 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 13:29:05 +00:00
Jacopo Cappellato ee4c314be7 Misc fixes and cleanups to let the returns work properly even with order items with null itemDescriptions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658607 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 08:56:08 +00:00
Bilgin Ismet Ibryam 553941e8f2 Added UI for entering Order Item Change reason and comments during Order Item update/cancel/append.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658036 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 23:13:02 +00:00
Bilgin Ismet Ibryam 2727a93034 "Store Order Item changes" from Jira Issue OFBIZ-1773
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655452 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 09:36:04 +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