Thursday, February 22, 2007

OFBIZ Development r510730

SVN r 510730 builds and installs successfully. However, you may experience problems with this build due to an issue with the "request-redirect" controller request (see http://issues.apache.org/jira/browse/OFBIZ-750). Significant changes this week include:
  1. Full integration of the DOJO toolkit
  2. New DOJO-based content management for websites
  3. Support for invoicing of drop shipments
  4. Support for package weights during order packing
Accounting
  • Support of creation of both sales and purchase invoices for drop ship orders: * Adding logic to createInvoicesFromShipments service to deal with creating both purchase invoices for drop shipment orders and sales invoices for the sales order linked to drop shipment orders - a sales invoice is created if the createSalesInvoicesForDropShipments parameter is true; * Adding createSalesInvoiceFromDropShipment service to wrap call to createInvoicesFromShipments, passing the createSalesInvoicesForDropShipments parameter; * Adding SECAs on updateShipment to generate a purchase invoice when a drop shipment is shipped and a sales invoice when a drop shipment is received; * Adding quickDropShipOrder service, linked from orderview page, to create a drop shipment and set the shipment status to shipped and then received, in order to trigger the SECAs for drop shipment invoice generation.; * Fixed flaw in createInvoiceForOrder service - now pro-rating OrderAdjustments based on OrderItem quantity from the database instead of the passed-in OrderItem, in case the OrderItem quantity has been replaced upstream. (r 510664)
Base and Framework
  • Parametrize javascripts files in simple global template. (r 509749)
  • visual and code cleanups to the main webtools page (r 509766)
  • added new object to request to keep the actual request processed; used when default request kicks in (r 509877)
  • gave the main content area a ID tag of "content-main-section" (r 510680)
  • added some new styles (r 510681)
  • added some ways to plug into the screen widget from outside (r 510682)
Content
  • implemented entities for website -> content publish (and HTML meta data) assoc; WebSite path aliases; CRUD services and seed data (r 509860, 509872)
  • added placeholder for content rendering; added code which does path aliasing (r 509878)
  • Fix potential null result in ContentManagementServices.java (r 510172)
  • fixed bugs/problems with internal content management services; missing map-name, added eca to ensure party role, fixed updat/createTextContent services to auto-update association as well (r 510337)
  • fixed path alias to reference content directly, instead of having to go through a path format (r 510683)
  • some basic CMS events; will render full page content; updated worker methods to call into screen widget to decorate when using a proper template (r 510684)
  • added dojo based WebSite CMS admin sreens (r 510691)
Multiple Components
  • excluded some duplicate fields from view entities (r 509942, 509443)
Order
  • Made the Create As New Order button on order items accessible on all sales orders (r 509727)
  • add missing external login so quick receive PO items doesn't cause a login screen to be shown (r 509735)
  • The checkCreateDropShipPurchaseOrders service has been set to run as system user in SECA after storeOrder, or ecommerce store orders could not be processed properlY (r 510213)
  • Support of creation of both sales and purchase invoices for drop ship orders: * Adding logic to createInvoicesFromShipments service to deal with creating both purchase invoices for drop shipment orders and sales invoices for the sales order linked to drop shipment orders - a sales invoice is created if the createSalesInvoicesForDropShipments parameter is true; * Adding createSalesInvoiceFromDropShipment service to wrap call to createInvoicesFromShipments, passing the createSalesInvoicesForDropShipments parameter; * Adding SECAs on updateShipment to generate a purchase invoice when a drop shipment is shipped and a sales invoice when a drop shipment is received; * Adding quickDropShipOrder service, linked from orderview page, to create a drop shipment and set the shipment status to shipped and then received, in order to trigger the SECAs for drop shipment invoice generation.; * Fixed flaw in createInvoiceForOrder service - now pro-rating OrderAdjustments based on OrderItem quantity from the database instead of the passed-in OrderItem, in case the OrderItem quantity has been replaced upstream. (r 510664)
Party
  • improve the lookup of userlogins in the party manager (r 509524)
Product
  • Added UI for entering weights in the PackOrder screen as items are packed, plus supporting changes to PackingServices and packBulkItems service definition - Added supporting methods to PackingSession and PackingSessionLine classes - Added overloaded getShipmentCostEstimate method to PackingSession - Used in PackOrder screen to display shipment cost estimates for initial ship group and packed items (r 509763)
  • update inventory transfer now checks for valid status change (r 510168)
  • Added another ProductCategoryLink type for linking to other categories (r 510455)
  • Support of creation of both sales and purchase invoices for drop ship orders: * Adding logic to createInvoicesFromShipments service to deal with creating both purchase invoices for drop shipment orders and sales invoices for the sales order linked to drop shipment orders - a sales invoice is created if the createSalesInvoicesForDropShipments parameter is true; * Adding createSalesInvoiceFromDropShipment service to wrap call to createInvoicesFromShipments, passing the createSalesInvoicesForDropShipments parameter; * Adding SECAs on updateShipment to generate a purchase invoice when a drop shipment is shipped and a sales invoice when a drop shipment is received; * Adding quickDropShipOrder service, linked from orderview page, to create a drop shipment and set the shipment status to shipped and then received, in order to trigger the SECAs for drop shipment invoice generation.; * Fixed flaw in createInvoiceForOrder service - now pro-rating OrderAdjustments based on OrderItem quantity from the database instead of the passed-in OrderItem, in case the OrderItem quantity has been replaced upstream. (r 510664)
Seed Data
  • Seed and demo data for purchasing agreement with text descriptions (r 509679, 509998, 510118)
  • Set weigh UOM to lb for demo warehouse (r 509680)
Web Tools
  • Added page for importing from readers; this is especially helpful when updating a server and you need to refresh the seed data, but of course there are many other uses (r 509764)
  • Plugged a rather dangerous security hole: entity import/export services only required auth to run and had no permission checking, they now require the ENTITY_MAINT permission (r 509769)
Work Effort
  • New WorkEffort look up with only few fields in Find form (r 510162)
  • on the 'mytask' list in workeffort show also the assigned production run tasks (r 510412)
eCommerce
  • Added cache and filter by date to the ProductCategoryLinks query (r 509888)
  • Small formatted change, more consolidated text to the product category link (r 509934)
  • Fixed bug in ecommerce product page which was coming back to same page after login or changing language (r 509990)
  • Added another ProductCategoryLink type for linking to other categories (r 510455)
  • Changed ProductCategoryLink template to use information from the category from the new link type if there is not corresponding detail on the PCL record. Added pcategory parameter, and also changed to use the /~= style to be search engine friendly (r 510487, 510505, 510529)
  • added some misc templates for content (r 510679)
  • added CMS event; and default-request (to CMS) (r 510690)