Commit Graph
124 Commits
Author SHA1 Message Date
Jacopo Cappellato 8c0e270f51 Added ability to create new shipment groups to an existing order. This also fixes a bug mentioned in one of the comments to "OFBIZ-1809" (duplicated ship groups were assigned to newly created items when they were not assigned to the first ship group). Misc code formatting fixes that I did while wading thru the code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@980655 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 05:37:28 +00:00
Erwan de Ferrieres abfdde6bfb OFBIZ-3765 - Use CustomMethod for select order, quote and invoice hook to resolve id (https://issues.apache.org/jira/browse/OFBIZ-3765)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954388 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 09:38:33 +00:00
Ashish Vijaywargiya 51cbf6993d Adding statusId optional input parameter in createOrderPaymentPreference service.
Thanks Divesh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@936260 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 11:35:55 +00:00
Ashish Vijaywargiya 87b71cced0 Applied patch from jira issue - OFBIZ-3706 - updateOrderPaymentPreference service should not be dependent on flag cancelThis to cancel status of OrderPaymentPreference record.
Thanks Divesh & Pranay for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935123 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 04:49:07 +00:00
Scott Gray bdb8aa094b Removed a service definition for an implementation that was removed quite some time ago.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931788 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 05:52:39 +00:00
Adam Heath d6c2eb3e58 In createOrderNote, set the allow-html attribute on the note parameter
to be the same as createNote.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930319 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 16:46:25 +00:00
Ashish Vijaywargiya 8f83bfeda0 The screen was broken for CommunicationEventOrder.
The order was not associating with communication event when the new communication event was generating in system for different mail notifications(like OrderConfirmation, OrderComplete, ShipmentComplete etc.)
Now after this commit it will work without any issues.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927758 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 10:25:08 +00:00
Jacopo Cappellato 94d5cae288 Slightly enhanced the testorder service to accept an optional productId.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910229 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 15:02:37 +00:00
Vikas Mayur bffc35df33 Example:
1. The currency of accounting/facility set to Indian Rupees, its INR
2) Warehouse manager receive a purchase order with an item with price 10 USD
3) In the receive screen, the system prompts for the unit price of 500 INR (the currency exchange rate between INR and USD is about 50 i.e 1 USD -> 50 INR)
4) The user doesn't change the value and after the item is received both the order item (unitPrice) and the supplier product (lastPrice) price are updated with the new unit price of 500 USD.

This is automatically happening with setUnitPriceAsLastPrice service.

With the fix the receive screen now display the original price and its currency, and the price in the facility currency (if different); if the former is edited, and Ajax event update the latter; the latter will be used as inventory item's unit cost; if the former is not updated, then no event will be triggered to change item price or supplier product price.

Bug reported by Jacopo Cappellato and fix provided by Akash Jain. Part of OFBIZ-3389



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@896010 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 11:50:19 +00:00
Hans Bakker 78fa025e71 extended the OLAP entities with the InventoryItemFact, added birt reports in the facility, Order, and accouning payment components. Please note that before these reports can be used the warehouse needs to be populated
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890830 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 15:34:29 +00:00
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
Jacques Le Roux 71046660f1 A patch from Prateek Jain "Make ATP/QOH button in purchase order independent of productStore" (https://issues.apache.org/jira/browse/OFBIZ-2967) - OFBIZ-2967
When we click on ATP/'Qoh button in purchase order for a particular order item it gives error that facility id is not present.Ideally in case of purchase order it should not be dependent on productStore. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818715 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 04:34:57 +00:00
Jacopo Cappellato a69b936254 No reason to keep this parameter non optional: order terms are not required to create an order.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810985 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 15:05:42 +00:00
Jacopo Cappellato d39fb5c1d6 Added ability to specify an issuedDateTime for item issuances and an effective date for payments.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@806102 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 10:00:52 +00:00
Vikas Mayur 50a2168371 Added noteName attribute in service definition of createOrderNote. Applied patch from Arun Patidar, part of OFBIZ-2802 (https://issues.apache.org/jira/browse/OFBIZ-2802)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801686 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 15:52:52 +00:00
Jacopo Cappellato e823b0a295 Fixed missing or optional out parameters in sendMail service definitions. They were causing errors for example when email notifications were disabled.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801523 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 07:19:17 +00:00
Jacopo Cappellato 482beec464 Added option to quick ship test orders
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801317 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 17:22:00 +00:00
Ashish Vijaywargiya 87dffafd04 This was making my life difficult since last few days.
Although I have't had a chance to look on this issue, but now here you go.

The subject missing error was coming on the console again and again although it was sending emails.

In case of any error like missing subject it was sending email again and again. 
I see the orderComplete notification four times on my machine.

Here is the sample log message of one of the service sendShipmentCompleteNotification which was failing:

Exception: org.ofbiz.service.ServiceValidationException
Message: Unknown parameter found: [sendShipmentCompleteNotification.subject]
---- stack trace ---------------------------------------------------------------
org.ofbiz.service.ServiceValidationException: Unknown parameter found: [sendShipmentCompleteNotification.subject]
org.ofbiz.service.ModelService.validate(ModelService.java:638)
org.ofbiz.service.ModelService.validate(ModelService.java:552)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:482)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:242)
java.lang.Thread.run(Thread.java:619)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@799889 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 15:38:32 +00:00
Scott Gray e3ab7ca8c3 Implemented a services to keep track of products purchased together by creating ProductAssoc records of type ALSO_BOUGHT.
These associated products are then shown to the customer on the product pages as "Customers who bought this item also bought: ..." sorted by popularity.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798500 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 12:13:28 +00:00
Anil Patel 18eb07ab01 Fixed unknown parameter found exception. Was resulting in multiple order confirmation emails.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797924 13f79535-47bb-0310-9956-ffa450edef68
2009-07-26 13:08:18 +00:00
Anil Patel 92144d5718 Making postal address fields options. Map processor in service checks required fields and returns error if appropriate. In case shipping contact mach should be used for billing then we don't need postal address fields data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797067 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 13:34:27 +00:00
Vikas Mayur a3f6e7bf50 Added an option to mass cancel remaining purchase order items.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@794546 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 06:22:19 +00:00
Vikas Mayur 174827cdd4 Added an option to Add/Edit Gift Message on Order Detail Page when the order is a gift.
Applied patch from Arun Patidar, part of OFBIZ-2707 (https://issues.apache.org/jira/browse/OFBIZ-2707)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791509 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 15:06:36 +00:00
Vikas Mayur 53cf3b7f62 Shipping Instructions on order detail page can now be added (if the user does not enter any instructions while doing a checkout) as well as can be edited.
Applied patch from Akash Jain, part of OFBIZ-2687 (https://issues.apache.org/jira/browse/OFBIZ-2687)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790886 13f79535-47bb-0310-9956-ffa450edef68
2009-07-03 12:32:47 +00:00
Ashish Vijaywargiya 46c40a4c1b Applied patch from jira issue OFBIZ-2660 (shipToName is not being processed while creating shipping address through createUpdateShippingAddress service )
Thanks Pranay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@788649 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 10:35:10 +00:00
Anil Patel 2e07c7ddd6 Added options to perform quickShip action on selected orders from list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786711 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 23:11:42 +00:00
Ashish Vijaywargiya 49342edf9c Applied patch from jira issue OFBIZ-2548 (When shipment is put on hold from Packing screen then show online shipping estimates on order details page for UPS)
Thanks Divesh, Pranay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@784130 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 14:21:56 +00:00
Ashish Vijaywargiya 0b546e87d0 Applied patch from jira issue OFBIZ-2527 (When editing items, Promotion Codes are getting deleted when we click Update Items.)
Thanks Ratnesh and Chirag for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@783369 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 14:37:35 +00:00
Vikas Mayur 405fa592c1 Added few more search filters on find order page. They are shipping method, order viewed and PaymentGatewayResponse - gatewayAvsResult, gatewayScoreResult.
Applied modified patch from Arpit Singh Pandya, part of OFBIZ-2496 (https://issues.apache.org/jira/browse/OFBIZ-2496)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@777084 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 11:54:35 +00:00
Vikas Mayur b0772226ff Misc. improvement over recently added filters on find order page
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@777007 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 08:23:08 +00:00
Vikas Mayur 5f5e108099 Just put the attributes in right order
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@776804 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 18:46:31 +00:00
Vikas Mayur 892276bae5 These attribute on findOrders service should be just IN and not OUT
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@776803 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 18:45:01 +00:00
Vikas Mayur 155797db20 Added new filters on find order page. This filter is about finding orders ship to a country. This work along with the option "Include Only" and "Do Not Include".
With the former option system will display only orders that are ship to the selected country and with latter it will display only order that are not shipped to the 
selected country. 
Patch from Amit Sharma, part of OFBIZ-2477 (https://issues.apache.org/jira/browse/OFBIZ-2477). Thanks Pranay for testing.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@776662 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 11:17:20 +00:00
Andrew Zeneski 0eb248bda0 message wrapper added to order notification interface (now returned by the sendMail service)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@774197 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 04:59:40 +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
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
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
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
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
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
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