Friday, November 25, 2005

OFBiz Development SVN r 6194

54 new commits this week. SVN 6194 builds and installs successfully.

Significant changes this week
  1. Standard cost calculations for products based on costs of materials and fixed asset usage.
  2. New tax authority model to calculate sales or VAT taxes for orders.
  3. Enhancements to order returns.
Thanks to our contributors
This week's contributors include Ray Barlow, Jacopo, David, Andy, and myself.

Accounting
  • Change over from SimpleSalesTaxLookup to the new TaxAuthority model during order creation process. The new tax calculations are done with BigDecimal using definitions in arithmetic.properties. (r 6190, 6191)
Base and Framework
  • EntitySaxReader now prints the name of the entity when trying to set fields. (r 6144)
  • entitymodel.xsd now permits unlimited number of copyright and author tags. (r 6151)
  • Fixed problems with entity comparisons by cached condition with the IN operator. (r 6155)
  • New tag in form widget to support currency format. You can now use type="currency" and currency="${currencyUomId}" in the tags to have the field displayed as a currency. (r 6159)
Content
  • Fixed EmailServices so that the baseUrl is always set, even if webSiteId is null. (r 6141)
Entity Model
  • Additional order return enhancements, including a new expectedItemStatus field for return items. (r 6164)
  • New costUomId in CostComponent to specify the currency of a cost. (r 6171)
Manufacturing
  • Moved getProductRouting to a new RoutingServices xml file. (r 6168)
  • First implementation of service for getEstimatedTaskTime. (r 6169)
  • Expire product costs when new product costs are calculated. (r 6181)
  • New service to calculate product costs for all products, which can be run from webtools. (r 6182)
Order
  • New service to update ShoppingListItem's quantityPurchased field based on all items on an order. This is run after the order is created to keep shopping lists up to date. (r 6142)
  • Moved return services to a new OrderReturnServices class from OrderServices. (r 6145)
  • Moved service for getDefaultProductStoreEmailScreenLocation to ProductStoreWorker from OrderServices. (r 6145, 6148)
  • Fixed bug where cancelled order items would crash the order view page in order manager. The inventory summary will no longer be displayed for cancelled or completed orders. (r 6157)
  • Fixed bug where order_id was being passed twice from order view and edit order items pages, causing crashes. (r 6158)
  • Added two asterisks to highlight that home phone number is required when creating new customer during checkout in order manager. (r 6162)
  • New link to create a customer while entering an order during order entry. (r 6163)
  • Additional order return enhancements, including a new expectedItemStatus field for return items. (r 6164)
  • Permission for createOrderRequirementCommitment has been commented out so that ecommerce customers who create orders that in turn create a requirement would not encounter an error. (r 6166)
  • Added returnHeaderTypeId to the quick refund order service as a parameter and to the orderview form. (r 6174)
  • Bug fixes for request item to quote process. (r 6187)
  • Fixed bug where ATP quantity was displayed as the QOH quantity on the showcart screen. (r 6188)
  • Updated credit card screen for customer billing settings in order entry to have more current years. (r 6189)
  • Change over from SimpleSalesTaxLookup to the new TaxAuthority model during order creation process. The new tax calculations are done with BigDecimal using definitions in arithmetic.properties. (r 6190, 6191)
  • In the view request screen, request items are now shown ordered by sequence number. (r 6192)
  • Fixed calc errors in the quote profit page. (r 6193)
Party
  • Better checking of null quantityPurchased values on the edit shopping list screen. (r 6143)
  • Enhancements to the Edit Configurations screens in catalog manager, including only showing the product of the config option when editing it. (r 6179)
Product
  • New screen in facility manager to search for inventory items based on product attributes (currently just the OEM manufacturer party id.) (r 6160, 6161, 6165)
  • New screen, the "Costs" tab for products, in catalog manager for getting the product's cost information. (r 6173, 6180)
  • Re-formatted the supplier product list form in catalog manager using tabletext instead of inputBox; right align numeric fields; and using the currency tag to format the prices. (r 6175)
  • New ProductAndPriceView view-entity for ProductAndPrice lookups. (r 6183)
  • Fixed problem with displaying lists of products containing virtual products by making productId a display field rather than a hidden one for virtual products during product lookup. (r 6184)
  • Advanced variant lookup in ProductAndPrice lookup. (r 6185, 6186)
  • Change over from SimpleSalesTaxLookup to the new TaxAuthority model during order creation process. The new tax calculations are done with BigDecimal using definitions in arithmetic.properties. (r 6190, 6191)
  • Fixed ui label bug in the product's work effort form. (r 6194)
Seed Data
  • New seed data for TaxAuthority model. (r 6147)
  • Replaced Payment.basedOnPaymentId with PaymentApplication.toPaymentId, for associating payments with other payments. (r 6154)
  • Sample data for marketing campaigns and tracking codes in DemoMarketing. (r 6176)
  • Change over from SimpleSalesTaxLookup to the new TaxAuthority model during order creation process. The new tax calculations are done with BigDecimal using definitions in arithmetic.properties. (r 6190, 6191)