Commit Graph
93 Commits
Author SHA1 Message Date
Sebastian Berg 7968f62e51 Improved: Convert InventoryIssueServices.xml mini lang to groovy
(OFBIZ-11591)
2020-05-29 16:28:11 +02:00
Suraj Khurana 443bac5d8f Improved: Added support for Inventory (Supply) Allocation Planning.
(OFBIZ-10518)
Thanks Deepak Nigam for initiating this feature and providng the patches, Arun Patidar for review and Swapnil Shah for design discussions.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1858270 13f79535-47bb-0310-9956-ffa450edef68
2019-04-27 13:05:30 +00:00
Aditya Sharma 5ac33f6b59 Improved: Add Option to update Facility Party Role on Edit Facility Party Role screen.
(OFBIZ-9085)
Manually applied the outdated patch. Slightly modified the patch changes, uiLabel was missing for title of 'thruDate'.
Thanks Akshay Modak for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1836906 13f79535-47bb-0310-9956-ffa450edef68
2018-07-28 13:28:46 +00:00
Rishi Solanki 154acd8756 Improved: Convert facility party related services from simple to entity-auto. Remove the service implementation for removePartyFromFacility, removePartyFromFacilityGroup and deleteFacilityContent. Service removePartyFromFacilityGroup already converted into entity auto, simply removing it.
(OFBIZ-10380)
Thanks Suraj Khurana for reporting the issue and provided fix for the same.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830429 13f79535-47bb-0310-9956-ffa450edef68
2018-04-28 11:15:05 +00:00
Michael Brohl c46c18e706 Fixed: Unable to create inventory item label.
(OFBIZ-10015)

Thanks Priya Sharma for reporting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825262 13f79535-47bb-0310-9956-ffa450edef68
2018-02-24 16:43:46 +00:00
Jacques Le Roux 49ba2356d6 Implemented: Add ability to store latitude and longitude as well while creating
postal address
(OFBIZ-9980)

While creating a postal address for any party or facility, we can enable service 
to store its latitude and longitude if available and create a geo point for the 
same. 

Later screens using this feature will be created with OFBIZ-10022

Thanks: Suraj Khurana

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816481 13f79535-47bb-0310-9956-ffa450edef68
2017-11-27 17:55:54 +00:00
Deepak Dixit f230efdf64 Improved: While creating inventory transfer, to location parameter is not handled (OFBIZ-9834)
Thanks Suraj Khurana for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812386 13f79535-47bb-0310-9956-ffa450edef68
2017-10-17 11:19:14 +00:00
Deepak Dixit adf34f08e1 Improved: While fetching product inventory, it should also return accounting quantity as well. Applied patch from jira issue (While fetching product inventory, it should also return accounting quantity as well)
Thanks Suraj Khurana for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812385 13f79535-47bb-0310-9956-ffa450edef68
2017-10-17 11:16:02 +00:00
Deepak Dixit fc6a8136f6 Fixed some console warning related to in-correct use of type-validate attribute.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806153 13f79535-47bb-0310-9956-ffa450edef68
2017-08-25 11:04:07 +00:00
Ashish Vijaywargiya 2f39d01436 Improved: OFBIZ-7471: Improve all the service level error messages for missing required field for facility component(OFBIZ-8714)
Thanks Jagpreet and Lalit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802663 13f79535-47bb-0310-9956-ffa450edef68
2017-07-22 09:20:33 +00:00
Deepak Dixit b9efe841ce Improved: Removed duplicate permission serivice for marketing, also renamed facilityManagerPermission service to more generic name facilityPermissionCheck
(OFBIZ-8013)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768190 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 11:24:54 +00:00
Deepak Dixit 3eca8d6aad Improved: Added generic permission service for following
- facility
- marketting
- return
- entitysync
Also moved  the permission check from implementation level to service defination level

(OFBIZ-8673)(OFBIZ-8673)(OFBIZ-8674)(OFBIZ-8739)(OFBIZ-8823)(OFBIZ-8825)(OFBIZ-8827)(OFBIZ-8850)(OFBIZ-8876)(OFBIZ-8875)(OFBIZ-8824)(OFBIZ-8826)(OFBIZ-8851)

Thanks Nameet Jain for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768188 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 11:10:57 +00:00
Arun Patidar 462e91ffb6 Implemented: Added CRUD services for CountryAddressFormat, ExampleFeatureApplType, GoodIdentificationType, InventoryItemType, InventoryItemTypeAttr, InvoiceContentType, InvoiceItemTypeAttr, InvoiceItemTypeMap, InvoiceType, NeedType, OrderAdjustmentTypeAttr, SalesOrderItemFact, SegmentGroupType, ShipmentGatewayConfigType, ShipmentGatewayDhl, ShipmentGatewayFedex, ShipmentType, ShippingDocument and ShoppingListType entities.
(OFBIZ-8087) (OFBIZ-8204) (OFBIZ-8245) (OFBIZ-8248) (OFBIZ-8249) (OFBIZ-8257) (OFBIZ-8261) (OFBIZ-8267) (OFBIZ-8270) (OFBIZ-8279) (OFBIZ-8284) (OFBIZ-8437) (OFBIZ-8439) (OFBIZ-8455) (OFBIZ-8460) (OFBIZ-8461)
(OFBIZ-8470) (OFBIZ-8473) (OFBIZ-8478)

Thanks: Rohit Koushal, Aman Mishra, Chinmay Patidar and Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1767101 13f79535-47bb-0310-9956-ffa450edef68
2016-10-29 09:01:09 +00:00
Arun Patidar bcb81a0ba6 Implemented: Added CRUD services for FinAccountTransType, FinAccountTransTypeAttr, FinAccountType, FinAccountTypeAttr, FixedAssetAttribute, FixedAssetIdentType, FixedAssetProductType,
FixedAssetStdCostType,FixedAssetType, FixedAssetTypeAttr, GlAccountClass, GlAccountGroup, GlAccountGroupMember, GlAccountGroupType, GlAccountRole, GlAccountType, GlBudgetXref, FacilityCarrierShipment,
FacilityLocationGeoPoint and ExampleType entities.

(OFBIZ-8205) (OFBIZ-8206) (OFBIZ-8207) (OFBIZ-8209) (OFBIZ-8210) (OFBIZ-8211) (OFBIZ-8212) (OFBIZ-8213) (OFBIZ-8214) (OFBIZ-8215)
(OFBIZ-8216) (OFBIZ-8217) (OFBIZ-8218)  (OFBIZ-8219) (OFBIZ-8220) (OFBIZ-8221) (OFBIZ-8233) (OFBIZ-8234) (OFBIZ-8235)  (OFBIZ-8236)

Thanks: Rahul Singh Kushwah and Rishi Solanki for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1765077 13f79535-47bb-0310-9956-ffa450edef68
2016-10-15 14:37:51 +00:00
Arun Patidar f5deecf43e Implemented: Added CRUD services for InvoiceItemAttribute, InvoiceTermAttribute, EmploymentAppSourceType, FacilityType, InventoryItemTempRes, EnumerationType, EntityGroup, EntityGroupEntry, EntitySyncIncludeGroup and InventoryItemAttribute entity.
(OFBIZ-8167) (OFBIZ-8168) (OFBIZ-8169) (OFBIZ-8170) (OFBIZ-8171) (OFBIZ-8208)(OFBIZ-8246)(OFBIZ-8247)(OFBIZ-8259)(OFBIZ-8269)

Thanks: Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761231 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 13:31:24 +00:00
Arun Patidar dbcfc50acc Applied patch for "Added CRUD services for FacilityTypeAttr and FinAccountAttribute entities" from issues [OFBIZ-8019] [OFBIZ-8025]
Thanks Rahul Singh for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1760435 13f79535-47bb-0310-9956-ffa450edef68
2016-09-12 18:54:23 +00:00
Arun Patidar d43607da49 Applied patch for "Added CRUD services for FacilityGroupType entity" from issue [OFBIZ-8003]
Thanks Rahul singh and Rishi Solanki for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1760426 13f79535-47bb-0310-9956-ffa450edef68
2016-09-12 18:27:33 +00:00
Arun Patidar 11ecd0c46d Applied patch for "Added CRUD services for ContainerType entity" [OFBIZ-8082]
Thanks Rohit Koushal and Rishi Solanki for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759875 13f79535-47bb-0310-9956-ffa450edef68
2016-09-08 17:50:14 +00:00
Arun Patidar 29a8324347 Applied patch from jira issue - OFBIZ-8081 - Added CRUD services for Container entity . Thanks Rohit Koushal and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759532 13f79535-47bb-0310-9956-ffa450edef68
2016-09-07 01:18:09 +00:00
Jacques Le Roux 7ada24fd04 This removes the pos component. OFBIZ-7804 "Check if we should fix or remove the POS (hence WebPos?)"
Most is done already. Test pass but testFopMacroLibrary but I don't see how it could be related to these changes, could be a quirk on Windows, BuilBot will tell us. Anyway, I will later double-check to be sure, also to see if I did not miss anything else.

I have voluntarily left 2 or 3 moot points
I was unable to remove possible POS references in <property key="FieldDescription.ProductStore.isImmediatelyFulfilled"> for certain language I'm unable to read.
I have to check if we should keep or not this code snippet
                <!-- if inventory info is not available for all of the products, then don't do the issuance, ie there has to be at least SOME inventory info in the database to facilitate inventory-less POS terminals -->
                <entity-count entity-name="InventoryItem" count-field="iiCount">
                    <condition-expr field-name="facilityId" operator="equals" from-field="orderHeader.originFacilityId"/>
                </entity-count>
I simply commented out twice this snippet in InvoiceServices.java, because I wonder if it would not be useful when the webPos will be able to issue money change
//                if (null == adj.get("amount")) { // JLR 17/4/7 : fix a bug coming from POS in case of use of a discount (on item(s) or sale, sale here) and a cash amount higher than total (hence issuing change)
//                    continue;
//                }

While at it, since I modified OPTIONAL_LIBRARIES, I also changed these svn:properties: svn:eol-style = native & svn:mime-type = text/plain


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1754402 13f79535-47bb-0310-9956-ffa450edef68
2016-07-28 12:27:20 +00:00
Deepak Dixit 834691742b (OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +00:00
Jacques Le Roux ec66e361e1 A big but straightforward commit for "Move minilang scripts from component://componentname/script/org/ofbiz to component://componentname/minilang" - https://issues.apache.org/jira/browse/OFBIZ-7267
I removed duplicate paths were componentname was uselessly repeated after component://componentname/script/org/ofbiz (projectmngr was the only one using there project instead)

I had few typos, easily fixed thanks to the tests. There could be still typos but they are unexpected and anyway no-brainer to fix 

I'm still wondering about specialpurpose/example/minilang/README.txt.
I changed its content to 
  "The minilang directory is for static resources that are interpreted at run time rather than being compiled. This goes on the classpath, but does not get built or put into a JAR file."
not sure it makes any sense, I don't see how this relates to the classpath. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747712 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 14:04:30 +00:00
Ashish Vijaywargiya 4732679f73 Applied patch from jira issue - OFBIZ-5291 - show quantityUom in InventoryByProduct.
Thanks Pierre for creating the issue and Thanks Yashwant for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744919 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 12:05:57 +00:00
Divesh Dutta 2ff59019a3 [OFBIZ-6042] Allowing inventory transfers based on Product instead of only InventoryItem. Thanks Christian Carlow for this patch and Suraj Khurana for testing it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735775 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 14:24:49 +00:00
Nicolas Malin cfb237f2b8 correct commit r1728261 relate to issue OFBIZ-6873 : add seca to addPartyToFacilityGroup and addPartyToFacility, if a roleTypeId is present call ensurePartyRole. Correct the entity name present on crud PartyToFacilityGroup service. Thanks Jacques for spotted this.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1730935 13f79535-47bb-0310-9956-ffa450edef68
2016-02-17 20:44:43 +00:00
Nicolas Malin 5e9bc5a1d1 convert simple crud service to entity-auto for the follow entities :
ProductPaymentMethodType, SupplierProduct, CommunicationEventProduct, ProductCategoryMember, ProductFeatureDataResource, ProductConfig, ProductConfigItem, ProductConfigOption, ProductConfigProduct, ProductPriceRule, ProductPriceCond, ProductPriceAction, PhysicalInventory, ProductFacilityLocation, Facility, FacilityLocation, FacilityGroupMember, FacilityGroupRollup, FacilityParty, FacilityContent, InventoryItemLabelType, InventoryItemLabelAppl, InventoryItemLabel, ProductPromo, ProductPromoCode, ProductPromoCategory, ProductPromoCodeEmail, ProductPromoCodeParty, ProductPromoProduct, ProductPromoRule
Added a new service productPriceGenericPermission for acces control to related price service. Issue OFBIZ-6873

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728261 13f79535-47bb-0310-9956-ffa450edef68
2016-02-03 07:27:21 +00:00
Ashish Vijaywargiya bade7c3eb2 Applied patch from jira issue - OFBIZ-5150 - reserveProductInventory method looses priority attribute in oisgir for non serialized and non requireInventory.
Thanks Deepak Agarwal for reporting the issue and Thanks Arun for providing the patch. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1639840 13f79535-47bb-0310-9956-ffa450edef68
2014-11-15 06:08:59 +00:00
Jacques Le Roux 7a58861e61 A completed patch from Pierre Smits for "Using type=accounting-number in form in facility generates wrong output for inventory overview" https://issues.apache.org/jira/browse/OFBIZ-5335
When using locale DE or NL several quantities (ATP, QOH and others) get transformed wrong.
E.g. a ATP of 250 for a product is 250.00 in locale EN or FR, but for DE and NL the output is 250.000.000,00

jleroux: I completed Pierre's patch in 2 ways:
* used also BigDecimal for minimumStock in getProductInventoryAndFacilitySummary service and groovy script
* Fixed the same kind of issue in  CountFacilityInventoryByProduct.groovy

In by and large i18n contexts, this fixes number of Inventory views and reports, also in Asset Maint and Birt components where those 2 service/groovy scripts are used

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1543766 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 11:02:42 +00:00
Christian Geisert 7a42ba3885 Fixed problem with default price on inventory report (parameter name typo)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497817 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 15:35:58 +00:00
Adam Heath 1b77ee4991 Add (create|update|delete)FacilityAttribute services using
engine=entity-auto.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1415856 13f79535-47bb-0310-9956-ffa450edef68
2012-11-30 21:24:32 +00:00
Jacques Le Roux d2f50da17e A modified patch from Pierre TALLOTTE "Managing of lot number and tracking" https://issues.apache.org/jira/browse/OFBIZ-4172
This patch adds features which allows a, user to manage products by lot id :
    when s/he buys a product, s/he can specify the lot id ;
    each time s/he produces an inventory item in manufacturing, s/he can specify the lot id ;
    s/he can choose the lot s/he wants when s/he makes a sale order or a manufacturing process ;
    there is a new screen which allows the user to realize the tracking of lots.

jleroux: apart some formatting and typos, I used only availableToPromiseTotal (instead of also quantityOnHandTotal) when checking the stock of a lot while editing a Picklist Item. 
Note: I only reviewed the code, but did not find enough time to test. As the code was straightforward I decided to add it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1195037 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 21:09:38 +00:00
Vikas Mayur 92826947f9 Added a utility method to get inventory QOH and ATP total by supplier.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061657 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 07:34:26 +00:00
Ashish Vijaywargiya 0bc5e998e5 Applied patch from jira issue - OFBIZ-3697 - setLastInventoryCount Service should not be called hourly due to performance issues.
1) In case of large database, when there are so many products into the system, then setLastInventoryCount service consider all the products and update records for them.

2) So it will keep server busy for some time in every one hour. This logic should be improved.

3) Also setLastInventoryCount service does not take facilityId into the account while setting last inventory count in ProductFacility entity. 

Thanks Divesh & Pranay for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933906 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 10:14:28 +00:00
Bilgin Ismet Ibryam cb82865b56 Added createUpdateFacilityGeoPoint service for creating or updating geo points assigned to a facility.
Added facility geo point screen for editing and visualizing facility geo point.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929946 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 12:44:37 +00:00
Bilgin Ismet Ibryam fae378c0ce Added possibility to upload files and assign contents to facilities.
Created FacilityContent entity and FacilityContentDetail view entity. Added screen and forms in facility application for content upload and deletion.

Added a generic event in content application for file upload and content association which is used in facility application. The same event can be used in content creation processes in order manager and project manager applications in order to remove duplicating code.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908602 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 17:52:50 +00:00
David E. Jones 6b72b196b1 Small change to allow caller to specify receiveDate instead of assuming now for completeInventoryTransfer
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@895963 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 09:42:33 +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
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
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
Vikas Mayur 86795554d5 New stock move screen to do a quick stock move. Part of OFBIZ-2233 (https://issues.apache.org/jira/browse/OFBIZ-2233)
Thanks Divesh for contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764685 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 06:42:37 +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 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
Ashish Vijaywargiya 482a84b1a5 git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755831 13f79535-47bb-0310-9956-ffa450edef68 2009-03-19 04:27:30 +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
Bilgin Ismet Ibryam ef8e5d8bcb Changing serialized inventory owner after item issuance cause errors in accounting transaction services, because the new owner usually is not an internal organization.
I moved the change owner logic to a separate service and and added seca rule to invoke it after all accounting transactions are in place.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@710035 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 10:38:04 +00:00
Ashish Vijaywargiya b661119647 Override the behaviour of fromDate so if user gives empty value for fromDate then put the nowtimestamp over there.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@698160 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23 12:43:14 +00:00
Ashish Vijaywargiya 2308a8c95a Applied patch from Surya Kusumakar from Jira Issue # OFBIZ-1963.
Added support for migrating FacilityRole to FacilityParty.

Thanks Surya Kusumakar for your contribution.
Special thanks to Mr. Pranay Pandey for his support :-).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@698159 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23 12:37:06 +00:00
Vikas Mayur e1bc8274c6 Improvement in Inventory Item look up
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@683634 13f79535-47bb-0310-9956-ffa450edef68
2008-08-07 15:45:44 +00:00