Bilgin Ismet Ibryam
ba178bf7cc
When reserving inventory items for a store with multiple facilities, if the are not enough quantities in any facility, use the first facility from the product store facility list to reserve the inventory.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659781 13f79535-47bb-0310-9956-ffa450edef68
2008-05-24 09:40:01 +00:00
Bilgin Ismet Ibryam
b38f09d158
Applied the patch from JIRA Issue # OFBIZ-1798 "Service for Canceling ItemIssuance".
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658585 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 08:08:03 +00:00
Vikas Mayur
4948aac287
Applied patch for testing shipment process from Jira Issue OFBIZ-1759 ( https://issues.apache.org/jira/browse/OFBIZ-1759 ), Thanks Ratnesh Upadhyay and Brajesh Patel for the patch
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@654836 13f79535-47bb-0310-9956-ffa450edef68
2008-05-09 14:56:05 +00:00
Ashish Vijaywargiya
f15be59609
Small correction in the old code.
...
We should check the values on lookedUpValue instead of newEntity.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@653418 13f79535-47bb-0310-9956-ffa450edef68
2008-05-05 10:41:15 +00:00
Jacopo Cappellato
4b0d6499de
Fix for bug I introduced while refactoring the inventory reservation service to improve its performance.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@652190 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 23:51:23 +00:00
Vikas Mayur
5fd3f401fa
Applied patch for testing packing process from Jira OFBIZ-1680 ( https://issues.apache.org/jira/browse/OFBIZ-1680 ), Thanks Ratnesh Upadhyay for providing the patch and also thanks to Mridul Pathak and Alok Agnihotri for their help in review
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@651818 13f79535-47bb-0310-9956-ffa450edef68
2008-04-26 12:07:41 +00:00
Jacopo Cappellato
6fa13be9e4
Improved performance (plus other small cleanups) for the reserve algorithm: no functional changes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@650764 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 07:02:34 +00:00
Ashish Vijaywargiya
c7ebc7e30a
Added content lookup,minor fix of fromDate in PromoServices.xml and Create New Category link added.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@648654 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 10:05:27 +00:00
Jacopo Cappellato
3fabe825fe
Applied patch from Sumit Porwal, with some changes I did, (OFBIZ-1632 "Refactor the getGlAccountFromAccountType minilang method so that all the entity-one calls are replaced by calls to minilang (inline) methods.") and patch from Rashko Rejmer (OFBIZ-1631, "Replace all the code that directly retrieves from the db a PartyAcctgPreference for an organizationPartyId with a call to the service implemented in OFBIZ-1630"); misc cleanups to gl forms and screens; implemented new service to manually run the mappings for acctg trans entries (useful also to test the gl setup for automatic transactions).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@646697 13f79535-47bb-0310-9956-ffa450edef68
2008-04-10 08:58:40 +00:00
Jacques Le Roux
270215bcd1
To secure commit done in rev. 641718 for https://issues.apache.org/jira/browse/OFBIZ-1720
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@645404 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 07:41:13 +00:00
Jacopo Cappellato
e4519bd538
Added field (and logic) to product store to enable/disable the recalculation of reservations for new backorders.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@644956 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 22:10:47 +00:00
Jacopo Cappellato
5a0938e0f7
Enhanced the service that pulls materials for production runs out of inventory: some bug fixes plus the ability to specify if reservations can be overriden; useful for materials that are also sold.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@644805 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 18:10:10 +00:00
Jacopo Cappellato
57d530878d
Implemented logic to assign reservations for new sales orders according to the priority given by the ship before date.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@644637 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 08:09:38 +00:00
Hans Bakker
15ee8dc9b4
rename FeaturePrice entity to ProductFeaturePrice and move the the related screens in the feature detailed info.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@643847 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 11:10:32 +00:00
Hans Bakker
1e4afedbe0
add featurePrice and related screens and services for the upcoming feature selection on a product
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@643357 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 10:53:09 +00:00
Hans Bakker
3871290d4a
add the feature interaction screen in the catalog, and cleanup the supplierfeature screens
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@642900 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 06:30:54 +00:00
Marco Risaliti
329326c7e5
A patch from Shubham Goyal "JUnit Test Case for Physical Inventory Adjustment" (OFBIZ-1466)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@642370 13f79535-47bb-0310-9956-ffa450edef68
2008-03-28 20:40:44 +00:00
Marco Risaliti
af61b954de
A patch from Shubham Goyal "JUnit Test Case for Receive Other Shipment" (OFBIZ-1465)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@642365 13f79535-47bb-0310-9956-ffa450edef68
2008-03-28 20:17:57 +00:00
Jacques Le Roux
9980879244
A patch from Nicolas Malin "service receiveInventoryProduct fail with existing inventoryItem" ( https://issues.apache.org/jira/browse/OFBIZ-1720 ) - OFBIZ-1720
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@641718 13f79535-47bb-0310-9956-ffa450edef68
2008-03-27 07:04:46 +00:00
Jacopo Cappellato
20cff4ded8
New service that, for each product with a negative reservation in the order, calls the reassignInventoryReservations service.
...
Based on a patch from Sumit Pandit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@639505 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 00:40:14 +00:00
Jacopo Cappellato
73b45d2c78
Implemented new service to balance inventory reservations for a given product/facility, considering all the reservations with promised date greater than fromDate.
...
Not yet tested, but it is not still used.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@639501 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 00:17:45 +00:00
Bilgin Ismet Ibryam
32acd47cb4
Fixed createProdCatalog service: If prodCatalogId is not entered, the service should create one.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@636315 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 13:26:12 +00:00
Marco Risaliti
0c5ff5b71a
Small changes to transfer to the Edit Product Page after duplication of the product (Part of issue OFBIZ-1633).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@628398 13f79535-47bb-0310-9956-ffa450edef68
2008-02-17 00:38:45 +00:00
Marco Risaliti
888e14c705
Applied patch from JIRA Issue #1633 .
...
Possibility to choose the product descriptions during the duplication of product.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@628297 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 13:53:59 +00:00
Jacques Le Roux
2cf9a00bb1
Fix a bug reported by Joel Blouin "Unable to add Facility to a Product" ( https://issues.apache.org/jira/browse/OFBIZ-1600 ) - OFBIZ-1600
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@615327 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 20:20:49 +00:00
Jacques Le Roux
c062606a54
A patch from Shubham Goyal "Refactor the Catalog Permission as per the new pattern" ( https://issues.apache.org/jira/browse/OFBIZ-1570 ) - OFBIZ-1570
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@611311 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 21:51:05 +00:00
Jacques Le Roux
ba4dcd47c5
A patch from Abhijit Meshram " Re-Factor Facility permissions of Product component to follow new patterns." ( https://issues.apache.org/jira/browse/OFBIZ-1569 ) - OFBIZ-1569
...
There was somehting weird in the patch around <!-- Product Inventory Services --> but I was able to merge easily after an update
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@611309 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 21:40:44 +00:00
Hans Bakker
25e645c33a
update for jira issues 1566,1567,1568 to discontinue selling variants when run out of stock when the product indicator is set and when there are no variants connected discontinue the virtual product too.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@611121 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 09:21:09 +00:00
Marco Risaliti
1a05f6bd8b
Changed tabs to 4 spaces
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607636 13f79535-47bb-0310-9956-ffa450edef68
2007-12-31 01:04:33 +00:00
Scott Gray
70bfde1ce4
Had a look through all the code using ProductAssoc and made sure it was honouring thru dates, plus a few tidy ups along the way
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@606532 13f79535-47bb-0310-9956-ffa450edef68
2007-12-23 04:06:56 +00:00
David E. Jones
dd0fb3f427
Changed receiveInventoryProduct service to have an input parameter of currentInventoryItemId and output of inventoryItemId rather than the same for both; soher than the same for both; solves problem when used as a service-multi event
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603849 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 07:54:23 +00:00
Jacopo Cappellato
b91056d197
Set operations required after recent changes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603627 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 14:29:38 +00:00
David E. Jones
abfba09179
Reverted changes done by Jacopo in rev 603506 which was a temporary fix for the problem described there; the real problem appears to be that code, in poss;the real problem seems to be that a variable was retained somewhere in a loop where it should not have been, and to fix that I made 2 changes: in the receiveInventoryProduct simple-method I changed it to use the parameters.inventoryItemId variable for input only, and it isn't set and used inside the loop, instead the new currentInventoryItemId variable is used; also in the quickReceiveReturn simple-method I add a clear-field of receiveCtx to make sure that stale data does not remain between iterations over return items; I don't have a good test case for this, so please take a look at it Jacopo, and it might be good to find a automated test case for this in the near future as this is fairly complicated and error prone code
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603569 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 11:26:21 +00:00
Jacopo Cappellato
95b5bd1984
Fixed bug I introduced; thanks to Bilgin Ibryam for the bug report.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603553 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 10:59:24 +00:00
Jacopo Cappellato
f7c2b533d7
This is a very temporary fix for an issue probably introduced in rev. 568816: when more than one *non* serialized inventory is received from a shipment (for example two different product ids) then only one inventory item is created for the first product and then updated for the second (overriding the product id in the first item).
...
This is caused by the way the parameters.inventoryItemId is set and used inside this service.
I need help to provide a better fix because I don't understand completely the scope of the changes introduced in rev. 568816.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603506 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 08:04:41 +00:00
Jacopo Cappellato
383f341719
Fix for bug (I introduced earlier today): reported by Vikas.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@599866 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 16:35:37 +00:00
Jacopo Cappellato
b79df16104
Fixed bug (I introduced) reported by Vikas Mayur in the dev list.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@599826 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 14:11:03 +00:00
Jacopo Cappellato
d889af6917
Reverted modification to comment from my last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@599517 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 16:55:59 +00:00
Jacopo Cappellato
a5f3a8b8f8
Extended the InventoryItemDetail entity to keep track of the unit cost history of an inventory item.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@599516 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 16:52:30 +00:00
Anil Patel
827c5d1749
Ashish, thanks for contribution.
...
Implementation of New entity, CRUD services and screen to map, for an organization, a productCategoryId/glAccountTypeId pair to a glAccountId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@599219 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 00:15:05 +00:00
Si Chen
147629a17a
Set the statuses of both purchase order items and linked sales order items to completed when quickDropShipping a drop ship group
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598723 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 18:13:27 +00:00
Jacques Le Roux
38b55eee04
A patch from Bilgin Ibryam "error in issueImmediatelyFulfilledOrder, when issuing Serialized items" ( https://issues.apache.org/jira/browse/OFBIZ-1315 ) - OFBIZ-1315
...
Not really related to the initial "POS does not do itemIssuance" issue reported by Si Chen. As explained Bilgin it was not really a problem (RetailStore has no inventory)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@596123 13f79535-47bb-0310-9956-ffa450edef68
2007-11-18 19:59:11 +00:00
Scott Gray
9fea569f90
When associating a ProductCategory to a ProductCatalog, return a meaningful error message if the Product Category Id is invalid. Related to OFBIZ-1399
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@595582 13f79535-47bb-0310-9956-ffa450edef68
2007-11-16 06:57:57 +00:00
Scott Gray
bcb1d0e008
Small logging fix
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590027 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 10:34:37 +00:00
Hans Bakker
61bd75f2fb
Which this change it is possible to directly upload 'digital download' files connected to a product using the latest content management services. These files can be offered on the ecommerce site for download
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589981 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 08:16:44 +00:00
Anil Patel
44eebf4377
CrUD Services and supporting UI for VenderProduct entity.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586665 13f79535-47bb-0310-9956-ffa450edef68
2007-10-20 04:39:32 +00:00
Anil Patel
da88165a2f
CRUD services and admin forms and screens for ProductStoreVendorShipment and ProductStoreVendorePayment entity.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585364 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 04:35:37 +00:00
Si Chen
97b47323f5
fix a potential bug where an unrelated contactMechId might be assigned to Shipment.destinationTelecomNumberId if there are no phone numbers for a facility
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583636 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 22:36:33 +00:00
Jacopo Cappellato
f0abf80501
In the 'convertUom' service the 'convertedValue' output parameter is now optional: if no converion is available, then null is returned, not an error (and a rollback etc...).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583384 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 08:12:07 +00:00
Jacopo Cappellato
2e467fac30
Added fromDate and thruDate fields to the ProductPromoCode entity; if the dates are set they are used to specify the validity range of the promotion code.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@581961 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 16:23:50 +00:00