Friday, June 23, 2006

OFBiz Development SVN r7851

44 new commits this week. SVN r 7851 builds and installs successfully.

Significant changes:
1. Automated production runs have been implemented for "marketing package" products.
2. Incoming emails are now sorted based on all TO, CC, BCC email addresses.
3. Embedded Apache Tomcat upgraded to version 5.5.17

Accounting
  • Fix PDF display of addresses to the correct format of City, State ZIP Code (r 7825)
Base and Framework
  • Better parameterize the css file locations, using the global decorator. You can now use set field="layoutSettings.styleSheets[+0]" value="/images/maincss.css" global="true", .styleSheets[+1] to set a series of style sheets in the actions section of a screen-widget to parametrize them. (r 7808)
  • Updated the eclipse classpath file for the mail jar change (r 7809)
  • Fix NPE in content rendering by ID in the screen widget; changed the handling to throw an exception instead of just logging an error (r 7811)
  • Updated tomcat/catalina to 5.5.17. Note there are some small clustering changes, and the new version doesn't seem to have certain methods anymore (r 7817)
  • New methods in HttpClient and UtilObject (r 7822)
  • UtilValidate now has methods to validate UPC codes (r 7822)
  • ModelForm.java comments out getting fields listSize, viewSize, viewIndex (r 7849)
Content
  • Updated storeIncomingEmail service so that it will now scan all the TO's, CC's and BCC's of an email and put the first email found to match a party into CommunicationEvent.partyIdTo and the rest into CommunicationEventRole with role of _NA_ (r 7821, 7829)
Order
  • Fixed a few bugs and improved the facility address selection in purchase orders' checkout. (r 7815)
  • Fix possible NPE in order entry's quick add summary page (r 7830)
  • Fixed wrong non https protected request for keyword search in order entry (r 7833)
  • Show full country name and abbreviated state province name for company heade (r 7834)
  • Changed findOrders.ftl to ASL2.0 header (r 7835)
  • Added two methods to OrderReadHelper to get the earliest ship by date of an order and latest ship after date (r 7837)
  • Split ordermgr's showcart.ftl into two parts: one for the entry form and another for the list of order items and their modification forms. This is so the list of order items can be re-used elsewhere, such as in custom order entry screens. (r 7838)
  • New Marketing Package implementation: marketing packages are defined as MARKETING_PKG_AUTO with a BOM pointing to component products (MANUF_COMPONENT productAssocTypeId. Inventory lookup will go through the BOM to calculate the ATP/QOH quantities of MARKETING_PKG_AUTO products, and when these products are ordered, production runs are automatically started and completed (with the system user) to stock them. (r 7839, 7840, 7847, 7851)
  • Added a new field OrderName to OrderHeader and to the ShoppingCart, with methods to set it in the cart, store it in the order, and retrieve it from the order. This is now supported in the order entry process of the order manager (r 7843, 7844)
  • Fixed bug with pagination of product quick lookup during order entry (r 7846)
Party
  • createCommunicationEventRole service now takes non-pk fields as optional parameters (for now, it's just contactMechId) (r 7819)
Product
  • HTML clean up of EditProductQuickAdmin.ftl (r 7812)
  • Added drop down boxes to the edit SupplierProduct form for SupplierPrefOrder and SupplierRatingType (r 7813)
  • Added to the "copyToProductVariants" service the ability to copy facility locations from virtual to variants (r 7814)
  • Added commonly used Mime types for PowerPoint and Excel files, CSV, and PJEG (r 7820, 7826, 7827)
  • Implemented FacilityLocation lookup screen (r 7824)
  • A couple of small improvements to order packing: all the items are now checked by default, and when the packing is completed, there is a link to the shipment that's created (r 7836)
  • New Marketing Package implementation: marketing packages are defined as MARKETING_PKG_AUTO with a BOM pointing to component products (MANUF_COMPONENT productAssocTypeId. Inventory lookup will go through the BOM to calculate the ATP/QOH quantities of MARKETING_PKG_AUTO products, and when these products are ordered, production runs are automatically started and completed (with the system user) to stock them. (r 7839, 7840, 7847, 7851)
  • Fixed a bug where serialized inventory couldn't be transferred because the prepareInventoryTransfer service wasn't setting inventoryItemId when it's done (r 7845)
  • Fixed 4 typos which caused product promotions not to run correctly (r 7850)
Seed Data
  • New Marketing Package implementation: marketing packages are defined as MARKETING_PKG_AUTO with a BOM pointing to component products (MANUF_COMPONENT productAssocTypeId. Inventory lookup will go through the BOM to calculate the ATP/QOH quantities of MARKETING_PKG_AUTO products, and when these products are ordered, production runs are automatically started and completed (with the system user) to stock them. (r 7839, 7840, 7847, 7851)
Work Effort
  • Fix and cleanup the createWorkEffortAndAssoc service and removed the old ID mapping service that is no longer needed or used (r 7810)
  • Some cleanups in the workeffort child stuff; changed it so that the association between parent and child makes more sense, going from parent to child instead of vice-versa (r 7818)