Commit Graph
60 Commits
Author SHA1 Message Date
Jacques Le Roux ade5500321 We have the same now in OrderQuoteDemoData.xml.
It would be better if we have most of the demo product data in product or maybe in order component. Because almost all what can be done concerning ordering in ecommerce can also be done in order manager from which anyway ecommerce depends on

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1662093 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 20:14:20 +00:00
Jacques Le Roux f365a54b85 Reverts r1652814, it makes a number of tests to fail
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652923 13f79535-47bb-0310-9956-ffa450edef68
2015-01-19 06:43:25 +00:00
Jacques Le Roux 3a2e9f7af5 "Gift card reload service not working OOTB" https://issues.apache.org/jira/browse/OFBIZ-5914
Introduces inventory data for GC-002 to have the amount field showing at ecommerce/gift-card-reload-GC-002-p. This field depends on ProductFacility.lastInventoryCount column

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652814 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 17:41:13 +00:00
Jacques Le Roux d37521bb59 Introduces few VAT data, to be used later (coming)
Introduces PartyClientTaxId which is mandatory in some country (France for instance: http://vosdroits.service-public.fr/professionnels-entreprises/F31808.xhtml)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1614555 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 06:18:42 +00:00
Jacques Le Roux b844d4e9bb A (slightly modified) patch from Yvan Cauchy for "Trigger for service to run upon subscription expiry" https://issues.apache.org/jira/browse/OFBIZ-5333
We are also proposing to add the following fields:

    ProductSubscriptionResource.gracePeriodOnExpiry
    ProductSubscriptionResource.gracePeriodOnExpiryUomId
    Subscription.gracePeriodOnExpiry
    Subscription.gracePeriodOnExpiryUomId

This will allow the runServiceOnSubscriptionExpiry to trigger the service in SubscriptionResource.serviceNameOnExpiry only after

nowTimeStamp >= Subscription.thruDate + Subscription.gracePeriodOnExpiry.

This provides flexibility in managing the triggering of the deprovisioning service, similar to the flexibility in automatic subscription extensions enabled by Subscription.canclAutmExtTime for runSubscriptionAutoReorders. 

jleroux: 
I replaced tabs by spaces
Will commit the change in serviceResult.ftl apart
Slightly reformatted SubscriptionServices.runServiceOnSubscriptionExpiry()
Slightly reformatted and added comment in services_subscription.xml for the 2 new services


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1597235 13f79535-47bb-0310-9956-ffa450edef68
2014-05-24 04:37:16 +00:00
Jacques Le Roux 79115da1a8 This should fix the tests (reported by Hans on dev ML)
In r1538162, I used an already possessed inventoryItemId

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1539690 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 15:45:06 +00:00
Jacques Le Roux 2434eae987 I could not resist to add the ASL2 license :)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1538162 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 09:53:34 +00:00
Scott Gray 8f31e3f0bf Moved ebay demo data from ecommerce to the ebay component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1422684 13f79535-47bb-0310-9956-ffa450edef68
2012-12-16 20:37:46 +00:00
Hans Bakker 117d3f409f Add a find/approve/reject function for product reviews
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1359479 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 04:53:20 +00:00
Hans Bakker d859a2d5db add account activation email type to product store which can be used for the to be approved registrations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341341 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 08:03:02 +00:00
Jacques Le Roux 0858b800fd A patch from Ankit Jain "Fixes js issue due to bad demo data" https://issues.apache.org/jira/browse/OFBIZ-4566
On the edit contact mech page (https://localhost:8443/ecommerce/control/editcontactmech?contactMechId=10001) coming from profile page, there was one js error (in console)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1335351 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 06:29:08 +00:00
Hans Bakker 89da49b3f0 add a tagcloud demo to the ecommerce home page, contribution of tom of antwebsystems.com
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225452 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 07:05:42 +00:00
Hans Bakker 121a671018 new producttype: configurable product service, using inventory
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1220622 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 06:40:18 +00:00
Hans Bakker 7245203a92 simplify webanalytics entity and moved from product to content, this entity has nomally only a single record so a conversion program is not provided. After upgrade, save the content of the entitye web_analytics_config and drop it in webtools. Then restart and re-enter the saved record
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1204455 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 11:34:32 +00:00
Jacques Le Roux 6992a3939a A patch from Jonatan Soto https://issues.apache.org/jira/browse/OFBIZ-4549
It is missing the related 'ElectronicText' record for a 'DataResource' when dataResourceId=SV-1000-ALT

An error stack trace is shown when displaying the category that uses this content when a locale different to English is set.
http://demo-trunk.ofbiz.apache.org/ecommerce/service-product-SERV-001-c


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1201294 13f79535-47bb-0310-9956-ffa450edef68
2011-11-12 18:12:22 +00:00
Hans Bakker 483299c5ec New product type: Fixed Asset Usage For Rental of an asset which is shipped from and returned to inventory. Including Junit test and demo data. More explanation will follow in a blog on the 'what is new page'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1167015 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 06:40:28 +00:00
Hans Bakker 38935cf7db New product type SERVICE_PRODUCT which was discussed in the mailing list. blog linked to the what is new file will be added later
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1166543 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 07:07:07 +00:00
Hans Bakker 086f6c276e added missing demo data for the revision 1127449 seo friendly url's, reported by Marco
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1129481 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 03:56:56 +00:00
Hans Bakker c1bb928135 Cleanup, re-organize Catalog function in catalog, for consistancy reasons added a catalog option showing always a list (most installations only have one or a few) add a 'create seo urls's for products and categories' tab. remove contentid from webabalytics demo data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1128799 13f79535-47bb-0310-9956-ffa450edef68
2011-05-29 01:23:50 +00:00
Hans Bakker 2875e7d74d this change will introduce seo friendly urls for products and categories which are generated from the description. It also allows to convert url's from previous systems to point to the product in the current system. In the ecommerce demo records have been added to show this feature.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1127449 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 09:25:16 +00:00
Hans Bakker f35f88a2aa demo how to use the analyticscode in ecommerce, no need for contentid
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1102577 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 06:38:31 +00:00
Hans Bakker d8034fe4e9 also add alternative packaging on non variant products and include demo data for that
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1052458 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 06:53:27 +00:00
Hans Bakker a31572006b several improvements and completion of the email contactlist subscribe and unsubscribe functions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1052447 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 04:37:20 +00:00
Hans Bakker 6cab58f905 change all @yahoo.com to @example.com Suggestion from Scott
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040914 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 09:38:00 +00:00
Hans Bakker 4a9ea51f54 allow single pieces and boxes with a numkber of pieces share the same inventory location but can however be sold at optionally different prices. More explanation will be given in the new feature list of december 2010. Contribution of tukkata.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040908 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 09:26:47 +00:00
Ashish Vijaywargiya 9adc1e0669 Applied patch from jira issue - OFBIZ-3924 - Bug on creating Communication event for order return emails(return accept, return complete and return cancel).
Bug on creating Communication event for order return emails(return accept, return complete and return cancel). Attached return pdf along with return emails.

Thanks Anurag for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993387 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 15:03:20 +00:00
Ashish Vijaywargiya db765efdd2 Reverting my commit r938446 based on the comments received on mailing list. For now I am keeping old email address in place (i.e ofbiztest@yahoo.com) keeping in mind that email will not go in spam folder. If others think test@example.com will also behave same then please go ahead commit the changes.
Very soon I will revert my changes on release10.04 branch.
Thanks to everybody who has provided their comments!  

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940814 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 11:57:35 +00:00
Ashish Vijaywargiya 148318f7fd Changing email address ofbiztest@yahoo.com -> ofbiztesting@gmail.com - this was creating too much problem since long in development effort.
Following points were there in my mind before doing this change.

-- AFAIK ofbiztest@yahoo.com email doesn't exists.
-- Bounce email issue if you have enabled Javamail container. This drastically slow down your system performance. 
-- Now anyone can use ofbiztesting@gmail.com account settings for Sendmail, Javamail container etc.
-- Send mail service triggered again and again with failure message on console if any of the email not found bccAddress inside ProductStoreEmailSettings entity. Again slow speed of your development machine.
-- Please let me know where to share the password of this account? Dev list?


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@938446 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 13:17:45 +00:00
Ashish Vijaywargiya a9d1a7a8f5 Applied patch from jira issue: OFBIZ-3633 - Minimum order quantity.
It will work as follows;
We will set the special type price as 'MINIMUM_ORDER_PRICE' for a Product in ProductPrice entity. On the basis of it we will get the minimum order quantity of the product on the basis of this price and sale price.
Will get the minimum order quantity for product by division. For example we have selling price of product P1 is $10.00 and its MINIMUM_ORDER_PRICE is $100.00 then minimum order quantity for the product will be --> 100/10 ==> 10.

To achieve the above ;
write a getMinimumOrderQuantity() method in ShoppingCart.java which takes the itemBasePrice and productId as in parameter, and call it where we add, update the cart items and change the quantity to minmumOrderQuantity if it is less then minimum.

Thanks Deepak & Rishi for the contribution and others for providing valuable comments / suggestions.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@936228 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 09:36:40 +00:00
Ashish Vijaywargiya a220091a5c Applied patch from jira issue - OFBIZ-3635 - Contact list unsubscription email notification.
Thanks Chandan for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930842 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 11:25:08 +00:00
Jacopo Cappellato c2d9606772 Implemented first version of FIFO and LIFO costing methods in accounting:
1) added new fields to InventoryItem/InventoryItemDetail to keep track of the units posted to INVENTORY accounts according to the costing methods in use
2)  added new field to AcctgTransEntry to keep track of the inventoryItemId that was used to get the cost according to LIFO/FIFO etc... strategy
3) modified existing demo data to support the new costing strategies; enabled by default the LIFO strategy for Company accounting (it was average cost before)
4) code that implements LIFO/FIFO for inventory receipts and sales shipments


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926090 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 14:02:46 +00:00
Ashish Vijaywargiya 71edf5dbeb Moving data to appropriate location. I don't know much about the original thought of keeping this data in ProductTypeData.xml file and considering that it was done mistakenly.
If anyone else think otherwise then please comment.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910174 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 08:15:24 +00:00
Ashish Vijaywargiya 96fc0b8f9a Adding missing demo data for WebAnalyticsConfig entity.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898293 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 11:56:53 +00:00
Ashish Vijaywargiya ae79de070e Patch from Parimal Gain (Thanks!). Couple of enhancements are done in it.
-- Error or Success message was not displaying for buziness time theme. Fixed this issue.
-- In case low ATP proper error message was not coming for any product while importing order to the system. It was redirecting the blank page with one line message, that was not verbose enough. Improved error message for this.
-- The leaf category id will be provided in category data so that ebay export works fine.(See the numeric value provided in ProductCategory record).

OFBiz jira is not responding at my end since last 2 hours so committing this patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884869 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 13:32:01 +00:00
Ashish Vijaywargiya d48eee6986 Applied patch from jira issue OFBIZ-3173 - Better supportability for products of type MARKETING_PKG_AUTO in order processing and fulfillment process.
Following points are covered in this patch:
1) Show associated products for product of type "MARKETING_PKG_AUTO" on order items section of show cart page in order manager application.

2) Marketing packages should only shown backordered when ATP of product which compose Marketing packages product are less than quantity added in cart.

3) Pick sheets should show Products of type Marketing Packages along with the products which compose Marketing Packages.

4) Show link of production run created on order items section of Order detail page while placing order for product of type MARKETING_PKG_AUTO.

5) Product of type Marketing Packages should be shown on Verify Pick Screen along with Products they are composed of.

Thanks Divesh for the contribution - this is very nice addition to the trunk.
I would be more then happy to see comments / concern from - Jacopo? Scott? Anil? or others?

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834479 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 14:32:53 +00:00
Ashish Vijaywargiya 0664a96244 Applied improved patch from jira issue OFBIZ-3165 - Add additional screen for gift card certificate buying functionality by CSR in Order manager application in add item page.
Following points are covered in this patch:

1) Removed hard-coded product ids for Gift certificates products from GiftCertificates.ftl and added new category type called "GIFT_CARD_CATEGORY" and related demo data, also added groovy script for fetching logic to address this issue.

2) Also handled hard-coded surveyId in AddGiftCertificates.groovy

3) Added user friendly messages if required data is not available .

4) Added missing license header in GiftCertificates.ftl

Thanks Divesh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834042 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 12:53:03 +00:00
Ashish Vijaywargiya 5892ec89e9 Applied patch from jira issue OFBIZ-3167 - Add Constraint with respect to eBay root category for product search and change demo data according to the concept.
As we have different productCatalogCategoryType for eBay so add a constraint on searching that if catalog not associated with any PCCT_BROWSE_ROOT type category then also search for PCCT_EBAY_ROOT type category for CatalogConstrain. This will help to manage separate catalog and catalog category association for ebay.

Thanks Parimal for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833054 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 14:55:15 +00:00
Jacques Le Roux cae1363635 A patch from Aswath Satrasala "customer registration email problem when using component:// syntax" (https://issues.apache.org/jira/browse/OFBIZ-2631) - OFBIZ-2631
sendGenericNotificationEmail will not work, because the URI has the screen element part also and hence UtilURL or FlexibleLocation will not be able to resolve URI.
I searched other examples and created the patch based on PARTY_REGIS_CONFIRM


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829376 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 14:28:13 +00:00
Ashish Vijaywargiya c06bfc234a Applied patch from jira issue OFBIZ-3024 - Implement contact us functionality for unregistered user.
Thanks Awdesh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823849 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 13:07:50 +00:00
Ashish Vijaywargiya c61050097c Putting the default value for prodSearchExcludeVariants=Y in ProductStore entity. (This is what at present happening OOTB)
Also I had put a not-empty check so if someone forgot to put this value in demo data then by default it will include variant products.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820204 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 08:03:27 +00:00
Ashish Vijaywargiya c9bb3989f8 Demo Data for Ebay - if we have configuration settings in advance then with the help of this data we can directly test product export to ebay.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813464 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 14:52:07 +00:00
Ashish Vijaywargiya 6dc9720309 Another update on Google Base.
Following things are done in this commit:

1) Added new entity GoogleBaseConfig and reading the values from there. Also kept option to read configuration values from property file.
2) Added new ProductCategoryType record for Google Base - Thanks Jacopo for your suggestion on this.
3) Prepared data for demo purpose in DemoProduct.xml file - This demo contains the association of few product with Google Category.
4) Also prepared demo data for GoogleBaseConfig entity.
5) Provided option to have default value of webSiteUrl on the GoogleExport form - for this refer productsExportToGoogle.groovy file.

Thanks Pranay for discussing few things with me in b/w this phase of development.

In next Commit I will provide UI for GoogleBaseConfig entity(CRUD operations) so it will be easy for end user to update values in this entity easily instead of moving to webtools and do the needful.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809552 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 12:06:14 +00:00
Ashish Vijaywargiya cefbaaa7c9 By default this data will remain commented.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@807094 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 06:16:30 +00:00
Ashish Vijaywargiya 092e8d40c8 First pass on Orbital Gateway: http://download.chasepaymentech.com/
Following things are covered in this implementation: 

1) Services written for ccAuth, ccAuthCapture, ccAuthRelease, ccAuthRefund, ccCapture.
2) Instead of property files we have kept commonly used values in the entity - for this created new entity - PaymentGatewayOrbital.
3) The initialisation of "Configurator"(which is a class that is being used for the initialisation of configuration settings - like user credentials and many more things). For now configurator takes only file by name "linehandler.properties". So I have created new files by this name. 
4) Also added demo data in ecommerce files so it can be used if someone want to use it for gateway purpose. 
5) For now we have excluded the compilation of this gateway - I will provide an end user document for this soon so anybody would be able to configure it easily.

This is collaborative effort from me and following guys.

Scott Gray: Discussed so many things with me in the b/w this implementation. There were some security settings issue with jdk installation - Scott helped me in that area.
Anil  Patel & Tim Ruppert: Initial implementation plan discussed with Anil and there were so many things that I had discussed with Anil & Tim in b/w. Thanks Tim for encouraging us to put this gateway on OFBiz trunk so it could be used by larger audience.
Mridul & Sumit: I have asked these guys to see the results / outcome of implementation and asked them to provide their comments/ thoughts. 

Thanks a lot guys for your help - it was simply awesome. 

Suggestions and comments are most welcome - I will wait for them.
Thank you!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@806643 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 17:00:55 +00:00
Scott Gray 4423593ef8 Initial implementation of the standard PayPal Express Checkout (i.e. not using Payflow Pro) OFBIZ-934
There are still a couple of issues preventing the checkout from being 100% functional:
1. I'm having trouble getting Instant Update API to work correctly which is used by PayPal to retrieve shipping estimates from OFBiz
2. The shipping option label and name parameters aren't working as documented and means I'm currently stuck presenting the shipping option id (partyId@shipmentMethodTypeId) to the user

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803151 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 15:20:32 +00:00
Scott Gray 89d209123f Add a re-auth payment setting for express checkout/paypal payments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796662 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 10:45:42 +00:00
Joseph Eckard 125126b6db Changes to ShoppingCart & order entry to allow PO entry without requiring a ProductStore; updated seed data to remove productStoreId from the OrderEntry website
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795883 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 15:52:05 +00:00
Ashish Vijaywargiya 170aa8100a Adding more data to test role based permissions on catalog manager.
For testing this you can login by user ltdadmin & ltdadmin1.
And then can update records in consecutive tabs present in the EditProduct screen.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795728 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 09:40:55 +00:00
Scott Gray 3f2d963f91 Initial implementation of the Payflow Pro version of PayPal's Express Checkout OFBIZ-934
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@793866 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 11:43:21 +00:00
Vikas Mayur 0f1ffdf0f8 Added a field to ProductStore to specify Store Credit Account type (FIN_ACCOUNT or BILLING_ACCOUNT) for refund return. For Demo ProductStore it is default to Financial Account.
The work flow is based on following steps:
1) If for a return both finAccountId and billingAccountId are supplied, then preference goes to the setting on Product Store. A warning message is shown so that the 
   user know which account is used.
2) If a finAcccountId is supplied then first billing account with -ve amount are searched and if it is found then amount is credit to the billing account else it goes to 
   financial account.
3) If a billingAccountId is supplied then it is used to credit the refund amount.
4) If none of them is supplied, then preference again goes to the setting on Product Store.

Patch applied from Mridul Pathak, part of OFBIZ-2502 (https://issues.apache.org/jira/browse/OFBIZ-2502)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@781804 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 17:32:02 +00:00