Commit Graph
138 Commits
Author SHA1 Message Date
Jacques Le Roux e07ab48fb4 Some cleaning related to is(Not)Empty
* remove duplicate ()
* remove casts no longer needed

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885103 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 15:46:52 +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 9086c57523 Improved code to avoid NPE.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884003 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 08:02:23 +00:00
Jacques Le Roux c72b29cb1f Use UtilValidate.isNotEmpty methods instead of (obj != null) || (obj.length > 0) and (obj != null) || (obj.size > 0)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883549 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 23:41:34 +00:00
Jacques Le Roux 8ae9319710 Use UtilValidate.isEmpty methods instead of (obj == null) || (obj.size == 0)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883492 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 20:34:27 +00:00
Jacques Le Roux 49b2961e9c Fix few things in help files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883329 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 13:02:53 +00:00
Ashish Vijaywargiya 9c5caa3f17 Applied patch from jira issue OFBIZ-3184 - Improvement in Ebay Configuration.
Implemented following points:
1) Created decorator for Ebay Configuration screens
2) Modified list and add Ebay configuration Form
3) Created Find Form
4) Crated menu and sub menu
5) Created Edit Ebay Configuration Screen
6) Modified Ebay Configuration screen with name FindEbayConfiguration

Thanks Parimal for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835306 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 09:00:36 +00:00
Hans Bakker 2c170b0a1c missing ebay features help file in last commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835294 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 08:15:10 +00:00
Hans Bakker 0b7e0756e2 created place holder for the Ebay help files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835289 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 07:55:37 +00:00
Ashish Vijaywargiya fc45518ad6 Applied patch from jira issue OFBIZ-3149 - Improve Category association in eBay.
Recently multi store support for Ebay has been implemented. For the multi store support we need ProductStore > ProdCatalog > ProductCategory association. For EBay we define specific categories of type EBAY_CATEGORY, only those products that are associated to an EBay category are eligible for eBay export. In the current implementation there is no proper prodCatalogCategoryTypeId which can be used to associate eBay category to ProdCatalog, one way to associate an eBay category to ProdCatalog is as a PCCT_BROWSE_ROOT category, thus we have two categories associated to the catalog as BROWSE_ROOT, the other one is for online store. Technically, this is wrong, a catalog should be associated with only one browse root category. Due to this wrong association the eBay category doesn't show up on the advance search page of EBAY webapp, instead online store's browse root category is shown which may also contain those products which are not meant to be exported to eBay. So this category associations need to be fixed, and following is how this can be resolved:

   1. Create a new ProdCatalogCatagoryType PCCT_EBAY_ROOT
   2. Define a worker method in CatalogWorker to derive the top level (root) ebay category
   3. Now in the advance search form, first look for top level ebay category associated to the selected catalog
          * If found, derive sub category list of the top level ebay category and display, else display the top level ebay category itself
          * If not found, derive the top level browse root category (PCCT_BROWSE_ROOT) and display the sub category list for it

Thanks Parimal Gain for the contribution.
Special thanks to Mridul Pathak (Zone of Sharp Mind :-)) for discussing implementation plans & providing wonderful notes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832713 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 12:05:09 +00:00
Ashish Vijaywargiya 31eba1277a Applied patch from jira issue - OFBIZ-3137 - Show the values of form fields updated on change of website for Export to eBay form.
The form fields are not showing updated on change of website. Whenever websiteId changed update form fields by the filled value so that user not need to fill it again.

Thanks Parimal for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832336 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 08:14:20 +00:00
Ashish Vijaywargiya 7c2d11d05a Applied patch from jira issue OFBIZ-3132 - Multiple productStore support to googleBase and eBay.
Changes includes following:
1) Created new search form for eBay and GoogleBase - It was not good to update *advancesearch*.ftl file present inside catalog component. Now it will be easy to maintain separate file for future deployments.
2) Restricted productStoreId and prodCatalogId field to search.
3) Added webSite drop-down on "Export to eBay" and "Export to GoogleBase" page.
4) Select webSite to get the webSiteUrl. 

Thanks Parimal for your contribution - this will surely help the community.
Special thanks to Mridul, Rishi, Chirag, Deepak & Me :-) for discussing requirement and also special thanks to Jacopo for the notes and discussion on requirements.
 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831534 13f79535-47bb-0310-9956-ffa450edef68
2009-10-31 12:01:52 +00:00
Ashish Vijaywargiya 6d2fb137cb Adding permission GOOGLEBASE_ADMIN & EBAY_ADMIN and associating it with the group FULLADMIN.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@830889 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 10:58:01 +00:00
Marco Risaliti 83d484ee35 Some missing italian translations of eBay component, sorting the label keys
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829591 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 14:50:49 +00:00
Bruno Busco 17288a9082 Part of OFBIZ-3067 - Menus and form widget files location
Party and Product components
Moved forms from webapp to widget folder
Removed empty folders

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829418 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 17:41:31 +00:00
Bruno Busco 4cf618421d Part of OFBIZ-3067 - Menus and form widget files location
Catalog component
Renamed order/widget/catalog/Menus.xml to order/widget/catalog/CatalogMenus.xml
Renamed order/widget/facility/Menus.xml to order/widget/facility/FacilityMenus.xml


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829314 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 07:14:26 +00:00
Bruno Busco a9c26eb1c1 Changed <container style="screenlet"> pattern to <screenlet...>.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826483 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 18:24:32 +00:00
Jacopo Cappellato c222d81eaa "hard" wrapping was causing xml validation errors because new lines were added on form submit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@822621 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 08:29:20 +00:00
Ashish Vijaywargiya 04b44f2c49 Removed missing UiLabel - instead of that used the existing one.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@822597 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 05:53:30 +00:00
Ashish Vijaywargiya 515ed596dd If configuration settings are missing, may be either from data setup or from property file then provide verbose error message.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@822195 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 10:24:31 +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
Jacopo Cappellato 49285d92ad Fix to allow for the status change in eBay also when we have the itemId but no transactionId.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820650 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 13:25:45 +00:00
Jacques Le Roux c06d783daa A better name for eBay, suggested by Ashish on dev ML. I also prefer to have the real name!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@819464 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 07:18:57 +00:00
Jacques Le Roux 385c5f3bcc Fix bugs when no siteName is provided
Ebay was missing one I added "Ebay" please check if something better should be put there, thanks

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@819306 13f79535-47bb-0310-9956-ffa450edef68
2009-09-27 13:41:33 +00:00
Ashish Vijaywargiya 596c742486 Navigated OrderId link to OrderMgr component.
Also removed default values for productStoreId and webSiteUrl.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818720 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 05:23:54 +00:00
Ashish Vijaywargiya 2d4d1535e7 Encouraging use of Generics.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818713 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 04:09:21 +00:00
Ashish Vijaywargiya 8af4d64db6 Encouraging use of Generics.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818048 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 10:48:57 +00:00
Ashish Vijaywargiya f7e334910d Here comes another update on eBay for the newly created screen before few days.
That screen was showing the deleted Transactions & Orders that were associated with Seller.

So we have implemented new call "GetMyeBaySelling" (and for sure without this call you can't exclude the deleted orders / transactions). It was more and more of reading and exploring things in eBay area and finally we got good results - so feeling little better now :-).

Thanks Jacopo for your comment to include this feature in OFBiz trunk.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@817628 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 12:11:50 +00:00
Ashish Vijaywargiya 8e5a746460 The lowest supported version in eBay is 577.
eBay also recommend to use the latest supported version so changing it to 635 which is the latest and there were so many changes in this version and looks good to go with. Please refer: http://developer.ebay.com/DevZone/XML/docs/WebHelp/ReleaseNotes.html

For more details please refer: 
http://developer.ebay.com/DevZone/XML/docs/HowTo/eBayWS/eBaySchemaVersioning.html#VersionSupportSchedule

For eBay recommendation please refer following line on the same link as shown above:

>>If your application is using a version lower than the lowest supported version, you should upgrade your software to use a supported version. You are encouraged to use the latest version available.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@817511 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 06:28:56 +00:00
Ashish Vijaywargiya 97194a5633 Save eiasTokenBuyer value in the PartyAttribute entity so that it can be of use later on for searching partyId value before creating new in database.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@817264 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 14:13:53 +00:00
Ashish Vijaywargiya 31783076c3 Now we don't need to parse date. As we are sending the OFBiz supported date format from the previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@817225 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 12:26:24 +00:00
Ashish Vijaywargiya 152a2ea426 Display date that we prefer in OFBiz instead of showing eBay date format.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@817217 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 12:07:51 +00:00
Ashish Vijaywargiya 2fa5111d99 Removed unused code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@817213 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 11:46:40 +00:00
Ashish Vijaywargiya a7bfd07027 Passing productStoreId in context map so it will search database for eBay configuration settings first & then from property file if not found.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@817211 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 11:40:44 +00:00
Ashish Vijaywargiya e239469f56 This will allow to fetch eBay configuration values from database first and then from property file if not found.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@817206 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 11:06:28 +00:00
Ashish Vijaywargiya d470781162 Minor Fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816499 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 07:12:27 +00:00
Ashish Vijaywargiya 3541e51cb2 Here comes more improvement on the new eBay order screen.
The checkbox will not be visible for the imported orders.
Tooltip is provided for the eBay Transactions and Orders.

PS: Jacopo -> The resultant screen will look like: http://farm3.static.flickr.com/2465/3931094976_fe6e785e3b_b.jpg

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816498 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 07:09:27 +00:00
Ashish Vijaywargiya 928536dedc Now here comes the another update on combining GetOrders & GetSellerTransactions request.
Things are looking pretty good now as we are able to display transactions & orders on the same page.
Also we are able to create Orders for "Ebay Orders" & "Ebay Transactions".



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816473 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 06:04:03 +00:00
Ashish Vijaywargiya df0d501dfb Another pass in Ebay Integration.
-- We are trying to merge GetSellerTransactions & GetOrders request.
-- As GetOrders request don't read the seperate Transactions.

For more details please refer: 
http://ebay.custhelp.com/cgi-bin/ebay.cfg/php/enduser/std_adp.php?p_faqid=1468&p_created=1252434669&p_sid=mSqK4dIj&p_accessibility=0&p_redirect=&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MzAsMzAmcF9wcm9kcz0wJnBfY2F0cz0mcF9wdj0mcF9jdj0mcF9zZWFyY2hfdHlwZT1hbnN3ZXJzLnNlYXJjaF9ubCZwX3NjZl85PSZwX3NjZl8xMD0mcF9zY2ZfMTI9JnBfc2NmXzEzPSZwX3BhZ2U9MSZwX3NlYXJjaF90ZXh0PUdldE9yZGVycw!!&p_li=&p_topview=1




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816459 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 03:53:06 +00:00
Ashish Vijaywargiya 84556eab7e Removed unused imports.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816152 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 11:47:04 +00:00
Ashish Vijaywargiya 7717818c3a Oops just missed to revert these changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816149 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 11:36:11 +00:00
Ashish Vijaywargiya 5a91a1308c Provided option to see the list of orders from eBay first and then CSR can import the required orders in the system.
Thanks a lot Mridul & Rishi for discussing the better way to handle this case.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816148 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 11:31:48 +00:00
Ashish Vijaywargiya 35fe74d6e5 Here comes the GUI support for eBay Configurations (CRUD operation for EbayConfig entity).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816060 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 05:43:32 +00:00
Ashish Vijaywargiya 2b501534c2 Here comes the GUI support for eBay Shipping Methods (CRUD operation for EbayShippingMethod entity).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815789 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 14:04:31 +00:00
Ashish Vijaywargiya a80dd88866 Moved ShippingMethod & Carrier Party info into entity named "EbayShippingMethod"(new entity).
Prepared demo data to support this feature.Ebay supports couple of shipping method. 
Supported shipping methods list: http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/ShippingServiceCodeType.html

In future if we plan to support more methods then we should prepare demo data and we will be done by then.
I will also provide GUI support for this feature soon.

Thanks Jacopo for your comment on this feature implementation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815743 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 12:48:21 +00:00
Ashish Vijaywargiya 8fcdabd321 Code cleanup for error / success message in old implementation of AddItemRequest in eBay.
It is not good practice to break the process of exporting to eBay if some product don't have starting price.

Instead of this I have collected all the products in the list that don't have starting price and then returned this list at the end. 
Also returned the list of products that has starting price and exported successfully to eBay.
Now after export the screen will looks like: http://farm3.static.flickr.com/2549/3924985627_60903d63bd_b.jpg


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815696 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 09:49:54 +00:00
Ashish Vijaywargiya 1c98c491ab AddItemRequest in ebay code was not allowing export of more then one item to ebay.
In the request you can send the single item at a time and if you wanted to exported more then one item then you may need to call the same request multiple times.For more details please refer link shown below.
http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/AddItem.html#Request.Item

-- After this commit you can either export one item or more then one item from OFBiz to eBay (OFBiz --> eBay).
-- Moved while loop in the main method so you will also see formating changes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815650 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 07:48:22 +00:00
Ashish Vijaywargiya f52eba705c Improved error and success message in eBay service implemented before few days.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815365 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 15:22:55 +00:00
Ashish Vijaywargiya 5ea1a35422 Now we have GetOrders request working fine so changing old screen to import only single transactions.
This will help to avoid the duplicate order being created in the system with the help of old screen for importing eBay orders.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815248 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 10:11:50 +00:00
Ashish Vijaywargiya d2e8033fd1 On testing I observed that GetOrders request was creating duplicate party records if the party with the same name already exists in OFBiz. Fixed the problem in this patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815155 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 06:01:56 +00:00