Commit Graph
404 Commits
Author SHA1 Message Date
Ashish Vijaywargiya 9f43893c28 Applied patch from jira issue OFBIZ-2619 - Issues with Receive PO functionality.
-- updated patch with use of variable name modifiers in UEL arithmetic, as suggested by Adrian. 

Thanks Mridul for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883348 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 14:07:40 +00:00
Vikas Mayur 2f1dd4a7db Added user friendly error messages following scenarios:
Case 1
(a) Go to Facility -> Shipment, click on New Shipment link.
(b) Select "Status Id = Input", "Origin Facility = Web Store Warehouse" & "Shipment type Id = Sales Shipment" then depress Update button.
(c) Now depress Items tab, enter product Id & quantity then depress create button.
(d) Select "New" for Add to Package dropdown and depress Add button.
(e) Now depress Delete button for Item then it will show error message that can be understood by a warehouse manager.

Case 2

(a) Follow #a to #d process in Case 1
(b) Depress Packages tab.
(c) Depress Delete button for Package then it will show error message that can be understood by a warehouse manager.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882555 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 13:58:42 +00:00
Scott Gray d210f34150 Updated test pack to reflect DEMO10090's new order item quantity
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881083 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 01:24:20 +00:00
Jacopo Cappellato cfb56f52bf Fixed a series of issues (mostly rounding ones) in the services that compute the standard cost of a product. Thanks to Giorgio Tomaselli for the bug report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834126 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 16:06:26 +00:00
Jacopo Cappellato 5a1e860c6d Improved code to get product costs; now all the costs of the same family are considered.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832420 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 13:57:33 +00:00
Jacopo Cappellato 1032ba881d Added the ability to define cost component formulae to a product: new ProductCostComponentCalc entity and crud services, and ui to manage the information. Modified standard costing calculation service to use the new entity. Also implemented a custom method (cost formula) that adds a percentage based adjustment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831099 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 21:38:18 +00:00
Scott Gray 1948530a75 Don't require unitCost in updateIssuanceShipmentAndPoOnReceiveInventory, because the service is only used by receiveInventoryProduct (as a seca) which doesn't require it
(Found via unit tests)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826334 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 01:42:29 +00:00
Scott Gray ad555fc4b0 Fixed testCreateShipmentRouteSegement to look up it's shipment based on demo data rather than relying on the sequenced shipmentId.
All facility tests now pass.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826314 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 22:14:35 +00:00
Scott Gray 4f640fddbb Moved a shipment test definition out of the product tests def and into the shipments.
Also moved the test itself out of ShipmentServices.xml and into ShipmentTests.xml

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826220 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 10:37:32 +00:00
Scott Gray ec77643ba7 Removed "Services" from the simple method test script file names, they aren't service implementations.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826219 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 10:21:03 +00:00
Scott Gray 486d9ab3ca Fix a bug in the duplicateProductCategory service, when looking for parent category rollups to duplicate the find context was empty causing all rollups of all categories to be retrieved
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825695 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 23:12:41 +00:00
Ashish Vijaywargiya 727f1ac5ef Applied patch from jira issue OFBIZ-3033 - Improvement in Product Review implementation.
1) Make createProductReview service definition more generic, so that it can take all nopk fields as IN parameters.
2) Change field value in "productreview.ftl" because field "postedAnonymous" is not a boolean type in ProductReview entity.
3) Make the service implementation more generic so that, it can be used for unregistered users also.
4) Put checks on pendingReviews.ftl to handle case of anonymous user.

Thanks Awdesh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@824675 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 10:32:49 +00:00
Adrian Crum a4d68934c9 Converted GenericDelegator concrete class references to Delegator interface references.
This commit requires ant clean. Also, external libraries that reference GenericDelegator will need to be updated.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821643 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 00:08:27 +00:00
Jacques Le Roux e71438811f A patch from Arun Patidar "Error in cancel complete received inventory item of purchase order.." (https://issues.apache.org/jira/browse/OFBIZ-2951) - OFBIZ-2951
When we goes for canceling a complete received inventory item of purchase order in 'Receive Inventory' tab it gives an error.

Steps for regenerating error:
1). Create and approve a purchase order of more than one item.
2). Click on 'Receive' link from order detail page.
3) Selects Shipment to Receive
4) Complete receive any one product of order.
5). Now Cancel that received item.
6). It gives an error . 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818716 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 04:58:33 +00:00
Jacopo Cappellato 1b4bb306bc fixed bug reported by Giorgio Tomaselli: materials' standard costs, if already there, were not refreshed by the auto-create button.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813740 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 09:32:52 +00:00
Jacopo Cappellato a38f8202aa New util method to find out if a "type" record has a given ancestor.
The method is also used to clean the code related to the two existing marketing package types (that have now in common the same parent).
This will make the framework more flexible because you will be able to create a new product subtype and the system will treat them as its parent type; then you can add custom code to treat it in the special way (if needed). This pattern can be extended in other areas of the system, starting from product types (right now it is also applied to marketing packages).
Thanks to Mridul Pathak for the patch - OFBIZ-2902

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813413 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 13:02:33 +00:00
Anil Patel e1b147e9eb Update to average cost calculation process. Patch from OFBIZ-2914. Thanks Ratnesh for implementation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812744 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 01:28:33 +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
Jacopo Cappellato 9dad9ae5ab Added support for eventDate parameter to the quickShipEntireOrder (and related services) to specify a date different from now; this makes the service more flexible (for example when used by import scripts).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804510 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 18:21:47 +00:00
Anil Patel 615362534c Use product average cost in COGS transactions. Thanks Sumit for patch. Thanks Vince and Eva for defining requirement and reviewing implementation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802764 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 12:36:53 +00:00
Marco Risaliti 5a85c095a6 New Shipment Gateway Config entities (OFBIZ-2589)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796874 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 20:39:35 +00:00
Vikas Mayur a97c5ec812 Added the ability to cancel received items against a purchase order if the user make a mistake and receive something incorrectly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796272 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 12:28:52 +00:00
Ashish Vijaywargiya ee46082f16 Applied patch from jira issue - OFBIZ-2743 (GenericEntityException in createItemIssuanceRole when receiving PO in multiple attempts)
Thanks Mridul for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796245 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 10:41:34 +00:00
Vikas Mayur 68a4be0eea Improvements in the Verify Pick process as a result of last commit (rev. 795809)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795814 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 13:07:53 +00:00
Ashish Vijaywargiya 751dab2dfd Applied patch from jira issue - OFBIZ-2736 - facilityId not processed correctly in case of quickShipPurchaseOrder.
Thanks Mridul for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795050 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 11:34:06 +00:00
Adrian Crum e4ee374a66 Conversion from java.util.Calendar to com.ibm.icu.util.Calendar. I didn't convert the Cloud component - I wasn't sure if the Calendar class was being passed through SOAP.
OFBiz users who have modifications or add-ons can make the same substitution to get them to compile.

I'll let the dust settle from this, then I'll add the user-selected calendar capability.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792987 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 15:39:21 +00:00
Vikas Mayur 16220a6671 Removed the No Grouping checkbox from picking screen as per David comments on dev mailing list. Now the default behavior of this screen is that is no grouping method comes
pre-selected and results are displayed on the basis of no grouping.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792855 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 09:34:48 +00:00
Vikas Mayur c76cdf890e No functional changes. Formatting changes only
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792582 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 15:29:24 +00:00
Vikas Mayur 39858c5003 On picking screen, added a new option called No Grouping. This option cannot be used with any other grouping methods (Shipping Method, Warehouse Area and
Number of Order Items) on this screen. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792578 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 15:19:47 +00:00
Ashish Vijaywargiya 64524e4add Applied patch from jira issue OFBIZ-2619 (Issues with Receive PO functionality).
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
2009-06-18 10:48:09 +00:00
Jacopo Cappellato 33c0f74f50 Implemented simple "sell-through" (http://en.wikipedia.org/wiki/Sell-through) information to the find inventory screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@782662 13f79535-47bb-0310-9956-ffa450edef68
2009-06-08 15:06:41 +00:00
David E. Jones c177bccda0 Applied patch from Pranay Pandey in Jira #OFBIZ-2570 to improve how the Shipment partyIdTo/From fields are populated
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@782190 13f79535-47bb-0310-9956-ffa450edef68
2009-06-06 05:01:28 +00:00
Vikas Mayur 9101cd7f01 Fixed UEL exception in picking screen in facility with the solution proposed by Adrian. Issue reported by Arun Patidar in
jira issue OFBIZ-2513 (https://issues.apache.org/jira/browse/OFBIZ-2513)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@781696 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 09:39:05 +00:00
Vikas Mayur ac9c8c0bfb Minor fix to the print pick sheet screen as now the service is not invoked in the screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@779231 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 16:22:34 +00:00
Vikas Mayur bc1a6ef1a8 Used fail-property instead and better error message this time.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@779215 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 15:55:19 +00:00
Vikas Mayur 834e219ba9 Minor fixes to the service printPickSheets to throw user friendly error message when user enter either zero or negative value for number of ordersfor printing a pick sheet, for a group
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@779159 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 13:18:03 +00:00
Vikas Mayur eebe04dc4c Done following fixes:
1) Moved the view entity to correct package.
2) Changed the view name as well as the entities used. Now the records are coming as expected.
3) Corresponding changes in the findOrdersToPickMove service.

The main purpose of this view entity is to find out the location (areaId) of the inventory item that is reserved/picked for a particular order. For example if an order has two 
order items X and Y and items X is picked from area A and item Y is picked from area B of a facility (where obviously area A and B are associated to a pick/primary location), 
then while grouping this order in facility > picking screen by "Group by Warehouse Area" method will show order under Multi Locations group. To clarify more on this grouping
method, grouping is done only with the areaId and the locationSeqId (which is a combination of areaId, aisleId, sectionId, levelId, positionId).  


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@779041 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 07:44:17 +00:00
Vikas Mayur d772cafb91 Minor fixes to the grouping of orders by different methods (shipping method, warehouse area and number of order items) in screen facility > picking.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778814 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 17:53:38 +00:00
Jacopo Cappellato e5cba220cb Misc fixes and enhancements for the costing routines: there is still room for improvements but at least now the standard costing and actual costing are based on the same rules.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778565 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 05:32:04 +00:00
Vikas Mayur 79fae570d0 Adding back the feature to show/hide out of stock products on site. This new implementation is configurable through a new field showOutOfStockProducts (by default equal to Y) on
ProductStore. A new field lastInventoryCount on ProductFacility is also added and it is a mirror of availableToPromiseTotal of a product at a certain point of time and is 
being updated every hour by a schedule service to reflect the current value of inventory count in the system.
If showOutOfStockProducts is equals to N and for a particular product lastInventoryCount is <= zero, then this particular product will not be shown on the site. If the inventory
count becomes +ve again then the product will be again available on the site, in minimum one hour time but could possibly take long depending on the inventory levels.

Patch from Ratnesh Upadhyay, part of OFBIZ-2480 (https://issues.apache.org/jira/browse/OFBIZ-2480).



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778451 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 16:37:23 +00:00
Vikas Mayur b6ccc85943 Reverted my last commit in rev. 777498. This need to support configuration so that this feature can be turned on/off.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@777651 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 18:36:19 +00:00
Vikas Mayur f1ef43b20e Now onwards out of stock items will not show up in the ecommerce site. Added a scheduled service that will run hourly and will update the new attribute isOutOfStock on
Product entity to Y/N where Y means item is out of stock and N means item is in stock. This process will be efficient in a way that the database interaction to check
whether item is out of stock will not take place everytime products are loaded on the ecommerce site.
Applied my patch (initially contributed by Amit Sharma, I have done some improvements over this patch), part of OFBIZ-2480 (https://issues.apache.org/jira/browse/OFBIZ-2480)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@777498 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 12:42:12 +00:00
Vikas Mayur b4a42dc537 Now Shipping Total adjustments can be applied using promotion. User can specify percentage discount on a specific shipping method.
Applied patch from Arun Patidar, part of OFBIZ-2488 (https://issues.apache.org/jira/browse/OFBIZ-2488)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@776581 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 06:25:23 +00:00
Vikas Mayur 579c63e8ac Added feature to generate pick sheet PDF for an order from Order Detail Page.
Slightly modified patch from Anurag Singh Senger, part of OFBIZ-2481 (https://issues.apache.org/jira/browse/OFBIZ-2481)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@776262 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 10:31:00 +00:00
Ashish Vijaywargiya d98ef36fe8 Applied patch from JIRA issue: OFBIZ-2436 (Improvement in Verify Pick screen to issue items as well when shipment is created)
Quick ship entire order process was broken due to removal of conditional check. Putting back that condition.
For more details see the comment on JIRA issue.

Thanks Akash for your contribution.

PS: Vikas I am committing this code as Akash was feeling upset due to functionality break and we all know that few of us use trunk in Production. So its safe to commit ASAP.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@773229 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 15:02:29 +00:00
Vikas Mayur c0925ab87a Improvement in Verify Pick screen to issue items as well when shipment is created.
Patch from Akash Jain (reviewed and tested by Pranay Pandey), part of OFBIZ-2436 (https://issues.apache.org/jira/browse/OFBIZ-2436)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@773172 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 06:55:23 +00:00
Scott Gray 3781b24219 Got the facility test suite running again
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772496 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 04:19:04 +00:00
Scott Gray c92fb8e2bf Fix type warning
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771477 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 22:31:32 +00:00
Scott Gray 3df729016d Mark orderId optional="false" for the completePack service. Fix a test which wasn't supplying one.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770917 13f79535-47bb-0310-9956-ffa450edef68
2009-05-02 09:35:34 +00:00
Scott Gray 2be9af3d89 Fix bug where a list was inadvertently being appended to rather than replaced. Reported in OFBIZ-2396 by Brian Sanders
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770571 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 08:08:04 +00:00