Friday, July 28, 2006

OFBiz Development SVN r426567

57 new commits this week. SVN r 426567 builds and installs successfully. Key changes this week include:
  1. Re-factoring of Billing Account (store credit or customer charge account) functionality
  2. Ability to edit order terms and shipment information for orders already created
  3. Various bug fixes and translations.

Accounting
  • Simplification of CheckOutHelper.availableAccountBalance to take advantage of BillingAccountWorker.getBillingAccountAvailableBalance(). This moves the concern of computing the available balance to the accounting component, where it should reside. (r 424489)
  • Main biling account screen shows available and net balance (r 424494, 425789)
  • Couple of warning messages when payment processing services use a default value of Company on Payments (r 424499)
  • Fixed typo in package name of FinAccountTrans (r 424528)
  • Fix rounding error with applying payments to invoices (r 425325)
  • Refactoring of the way billing accounts work, using PaymentApplication to track the amount of a billing account used up in each invoice. Also changed captureOrderPayments to use up billing accounts first before other payment methods. Finally, new methods to get net vs. available balances of a billing account and the amount available to capture, which is used to amount captured. (r 424483, 424484, 425790, 426168, 426204)
  • Fix bug where controller for create/delete TaxAuthorityGlAccount was calling the wrong service. Fix the delete link to include a required parameter. (r 425527)
  • Re-factor PaymentGatewayServices processCaptureResult. For payment partyIdFrom, if payTo was not specified, check first if there is an invoice.partyIdFrom and then default to Company. Also get the partyIdTo of the pyament from the invoice.partyId if exists, otherwise default to OrderRole. (r 425544)
  • Fixed bug with invoice PDF where if taxrate missing the PDF did not display (r 425616)
  • create a new service "createInvoiceForOrderAllItems" to create an invoice from an order using all orderitems (r 425946)
Base and Framework
  • Fixed bug where EntityUtil.filterByDate() uses the wrong boundary condition for from date. (r 424430)
  • Fixed problem with available locales not parsing correctly when locale is of format fr_FR. (r 424477)
  • New remove Regex from string methods in StringUtil, with reimplementation of the removeNonNumeric and removeNumeric. (r 424482)
  • Made organizationPartyId, fromDate, thruDate required for createCustomTimePeriod service (r 424501)
  • Cleaned up imports of the CommonServices class (r 424513)
  • License header change to Apache 2.0 and related file changes (r 424624, 424543, 425650, 426454, 426455)
  • New translations to Italian and French (r 424588, 424595, 426430, 426429, 426467, 426469, 426471, 426567)
Order
  • Simplification of CheckOutHelper.availableAccountBalance to take advantage of BillingAccountWorker.getBillingAccountAvailableBalance(). This moves the concern of computing the available balance to the accounting component, where it should reside. (r 424489)
  • The Order Delivery Schedule Info form is now rendered by the "renderFormString(context)" method to internationalize it. (r 424589)
  • Implemented new screen, forms and services to manage order terms for existing orders. (r 424684)
  • Added party name to list of returns. (r 425542)
  • Fix a wrong column name on the request form (r 426026)
  • Link back to billing account from order view page (r 426169)
  • Fixed wrong unit price shown in purchase order entry. (r 426287)
  • Ability to update shipping destination and method of an existing order. (r 426301)
  • Link to create new order of same type for same party (vendor or customer) from order view page (r 426317)
Party
  • Fixed broken link in the communication content screen. Also cleaned up a few more form definitions. (r 426411)
Product
  • Fixed bug in catalog manager where product's payment type list was not filtered by productId. (r 424529)
  • Show currency for catalog manager product inventory page's list of inventory items' unit costs (r 425461)
  • Add a map of productId to standard cost for the receive inventory forms. If receiving a single product, use the standard cost instead of 0.0. (r 425520)
  • make useTimeUomId madatory on subscription screen to be consistant with the subscription service (r 425945)
  • Fix bug with creating inventory item from the catalog manager because no facility has been specified. (r 426387, 426388)
  • Fixed wrong form field definition for date fields. (r 426390)
  • Fixed wrong variable name for shipmentId in work effort names when shipments are created. (r 426395)
  • new version of the Shipment Manifest report using XSL:FO instead of JasperReports (r 426421)
Seed Data
  • Removed remaining reference to GZ-KIT, was causing data load failure (r 424556)
eCommerce
  • Added check to prevent a NPE in a few screens (r 424531, 424532)

Friday, July 21, 2006

OFBIZ Development SVN r424208

There were over 150 commits this week, most of which relate to the changing of file license headers from MIT PL to Apache 2.0 license, since most of the outstanding iCLA's have been taken care of . (Special thanks to Jacopo, Ashish, and Scott Gray for helping with this.) SVN r 424208 builds and installs successfully.

The following are the changes excluding the license header change:

Accounting
  • Replaced billing account invoices screen with a form widget (r 423515)
Base and Framework
  • Updated derby to the recent release, version 10.1.3.1 (r 422533)
  • Changed variable name in RequestHandler from "enum" to "attributeNameEnum" to avoid build warnings (r 422537)
  • Cleaned up build files and dtd directories' xsd files (r 422556, 422532, 422652)
  • Changed default format of log to show date and time (r 422902)
  • Fixed bug where the date search field in form widget had 'same_day' and 'equals' checked both. This gave problems in the Konqueror browser under kde linux which did not select anything (r 424145)
  • Removed read-data elements from localderbyodbc datasource as they don't really apply to it (r 424170)
  • Added ofbiz-workflow engine for service engine to refer to the old OFBiz workflow engine (r 424205)
Manufacturing
  • if there are partyassignments to the routingTask, valid date records will be copied over to the productionTask. (r 423836)
  • Fix bug in edit production run screen where null estimated setup and production run times will be set to zero (r 423839)
Order
  • Fixed bad headerItem for various orderview-related pages, including add note, edit delivery schedule, receive offline payment, and send confirmation email (r 421949)
  • Fixed potential crash on order PDF when the payment preference is a manually received offline Credit Card (r 421950)
  • Updated translations (r 422585, 423391)
  • Order manager now allows for no condition searches for quotes and requests, so when you click on them, a list of quotes and requests would automatically show up. (r 423874)
  • Removed old marketing package auto-explode code which has now been replaced by BOM-based code for new the Marketing Package product type (r 424117)
Party
  • Show PaymentMethods description in ecommerce application but hide the GL account. (r 422072)
  • Updated translations (r 422585, 423391)
  • Changed display of state and country geo to abbreviation and full country name in party manager view profile screen. (r 423199, 423200)
  • Fixed broken pagination of list of communication events (r 423251)
Product
  • fixed a problem with creating a product in a category (r 423389)
  • make Uom mandatory on subscription resource because also required in processExtendSubscription service. Removed null pointer possibility on empty field useTime (r 423426)
  • Added support for order item cancellation for products of the "marketing package" type. When items are canceled, the associated inventory items are automatically "de-composed" and returned to the components. (r 424068)
Seed Data
  • Removed old marketing package auto-explode code which has now been replaced by BOM-based code for new the Marketing Package product type (r 424117)
Work Effort
  • fixed bug where fromdate not properly returned from service assignPartyToWorkEffort (r 423774)
eCommerce
  • Show PaymentMethods description in ecommerce application but hide the GL account. (r 422072)
  • A bunch of changes from env-to-env to set to modernize the CustomerEvents.xml script (r 422335)
  • Fixed bug with creating user emails for new customers (r 424207)

Friday, July 14, 2006

OFBiz Development SVN r421950

45 new commits this week. SVN r 421950 builds and installs successfully. Significant changes this week are:
  1. New Dutch language translations throughout
  2. Better support for orders created automatically from shopping lists and for store credits with valid days set in ProductStore

Accounting
  • Cleanup of PaymentGatewayServices method (r 420209, 420366)
  • Fixed bug where BillingAccount created from return with refund of store credit would not show up in payment methods when creating order for that customer because no currencyUomId was filled in for the billing account. (r 421016)
  • Small change to keep track of credit card authorization failure counts and last date/time in PaymentGatewayServices (r 420966)
  • Add PaymentMethod.description field to describe individual payment methods. For example, a customer may want to describe a CC as a "primary card". Added support for this field wherever payment methods are created/updated. Display this field in ordermgr checkout, ecommerce checkout, and partymgr viewprofile. (r 421780)
Base and Framework
  • Removed DBCP connection factory (r 420890)
  • Updated Dutch translations (r 421240, 421241, 421243, 421244, 421245, 421258, 421501, 421502)
  • XSD updates and annotations for simple-map-processor (r 421508)
Content
  • Fixed reference to httpServer instead of httpsServer in email NotificationServices.java (r 420365)
  • Added contentType to sendMailInterface as an OUT parameter to prevent sendOrderDeliveryScheduleNotification from crashing (r 421023)
  • Fixed bug in the EditDataResource form definition. (r 421239)
  • sendMailInterface's subject parameter is a required IN parameter but optional OUT parameter. Fixed a redundant definition of "IN" twice. (r 421687)
Entity Model
  • Added a new OrderHeader field: autoOrderShoppingListId, used to track the shoppingListId for orders auto-created from a ShoppingList (r 420753)
  • Added new fields to ProductStore to configure payment retry settings from automatic orders from shopping lists (r 420753)
  • Added ProductStore.storeCreditValidDays to allow per-store BillingAccount.thruDate to be set. The thruDate is set when BillingAccount is created in processCreditReturn. Modified the BillingAccountWorker service that generates list of billing accounts to obey this thruDate. (r 421420)
  • Add PaymentMethod.description field to describe individual payment methods. For example, a customer may want to describe a CC as a "primary card". Added support for this field wherever payment methods are created/updated. Display this field in ordermgr checkout, ecommerce checkout, and partymgr viewprofile. (r 421780)
Manufacturing
  • Fixed bugs with returns related to the new return of marketing package (r 421113, 421114)
Order
  • Add/update/delete adjustments to existing orders, with a description now stored and print for order adjustments on order view and on PDF's. (r 420664, 420944)
  • Added a new OrderHeader field: autoOrderShoppingListId, used to track the shoppingListId for orders auto-created from a ShoppingList (r 420753)
  • Added ProductStore.storeCreditValidDays to allow per-store BillingAccount.thruDate to be set. The thruDate is set when BillingAccount is created in processCreditReturn. Modified the BillingAccountWorker service that generates list of billing accounts to obey this thruDate. (r 421420)
  • Updated Dutch translations (r 421240, 421241, 421243, 421244, 421245, 421258, 421501, 421502)
  • Updated Quote screens to use web.xml defined maindecorator (r 421501)
  • Small text change to quote work effort (r 421505)
  • extended the list of workefforts for a quote by adding a new view (r 421541, 421630)
  • Fix possible NPE on the order header section of the order entry pages if the order name of the shopping cart comes back null (r 421770)
  • Automatically set order name to quote name when loading up a quote to cart to create an order (r 421772)
  • Fixed bad headerItem for various orderview-related pages, including add note, edit delivery schedule, receive offline payment, and send confirmation email (r 421949)
  • Fixed potential crash on order PDF when the payment preference is a manually received offline Credit Card (r 421950)
Party
  • Reimplemented some PostalAddressboundary services (r 420827, 421107)
  • Updated Dutch translations (r 421240, 421241, 421243, 421244, 421245, 421258, 421501, 421502)
  • Add PaymentMethod.description field to describe individual payment methods. For example, a customer may want to describe a CC as a "primary card". Added support for this field wherever payment methods are created/updated. Display this field in ordermgr checkout, ecommerce checkout, and partymgr viewprofile. (r 421780)
Product
  • More detailed comments about how prepareInventoryTransfer and createInventoryTransfer services work (r 420637)
  • Added new fields to ProductStore to configure payment retry settings from automatic orders from shopping lists (r 420753)
  • Added two relationships to ProductStoreShipmentMethView so getRelatedOne can be used to get ShipmentMethodType and PartyGroup of the carrier. (r 420989)
  • Added ProductStore.storeCreditValidDays to allow per-store BillingAccount.thruDate to be set. The thruDate is set when BillingAccount is created in processCreditReturn. Modified the BillingAccountWorker service that generates list of billing accounts to obey this thruDate. (r 421420)
  • Fix a potential NPE in the picklist when there are no picklist bin info (r 421749)
Work Effort
  • Removed unused files (r 420901)
eCommerce
  • Updated Dutch translations (r 421240, 421241, 421243, 421244, 421245, 421258, 421501, 421502)
  • Cleaned up CustomerEvents.xml minilang to use the new set operation (r 421506)

Friday, July 07, 2006

OFBiz Development SVN r419743

75 new commits this week. The OFBIZ SVN has been moved to svn.apache.org as part of our migration to the Apache Software Foundation. As a result, the SVN commit numbers have changed. Other significant changes:
  1. New support for subscription products such as newsletters
  2. When "marketing package" products are returned, they are now automatically returned to the component product items.
  3. More internationalization and translations.

Accounting
  • Internationalization and translations (r 7910, 7911, 7912, 7913, 7914, 7915, 7916, 7917, 7919, 7920, 418930, 419375, 419455, 419482)
  • Modified createInvoiceFromOrder so tax adjustments use tax decimals and rounding (r 7918)
  • Added AgreementPartyApplic screens and services (r 7922)
  • AgreementTerm screen cleanups and enhancements (r 418539)
  • The "ListAgreementTerms" form should only show the terms associated to the Agreement header, not the ones associated to single Agreement Items, which are shown in a separate screen/form. (r 418559)
  • Changed the agreement screens so that the term type id is mandatory and the invoice item type is optional (r 418560)
  • Changed license headers to Apache 2.0 license (r 418558, 418565)
  • Disabled commission calculation because it was breaking order creation for digital products (r 419413)
  • add a clearCommerce service to check for creditcard validity only (r 419381, 419437)
  • Fixed bug of bad controller request for createGlJournalEntry (r 419441)
  • Changed UI label on the return page from No Billing Account to New Billing Account which is what it really means (r 419610)
  • Changing all rounding modes to round half up because round half even so 0.825 and 0.835 will both round up now (r 419626)
  • Screens to show children of fixed assets (r 419735)
Base and Framework
  • Changed log stream of startofbiz.sh and startofbiz.bat to go to the framework directory (r 7923)
  • Moved derby properties to framework/data directory which makes more sense than the site/derby directory, which is now abolished (r 418501)
  • CSS cleanups of ecommain.css and maincss.css (r 418540)
  • Removed the webapp barcode files which are no longer needed (r 418676)
  • The website component is no longer loaded at startup. (r 419468)
Content
  • Internationalization and translations (r 7910, 7911, 7912, 7913, 7914, 7915, 7916, 7917, 7919, 7920, 418930, 419375, 419455, 419482)
  • Internationalization and translations (r 7910, 7911, 7912, 7913, 7914, 7915, 7916, 7917, 7919, 7920, 418930, 419375, 419455, 419482)
  • Moved content.subscription entities and code to product.subscription, since it really is more generic and extends the product model rather than being part of the content stuff; (r 418893, 418901, 418907, 418920, 418922)
Manufacturing
  • Internationalization and translations (r 7910, 7911, 7912, 7913, 7914, 7915, 7916, 7917, 7919, 7920, 418930, 419375, 419455, 419482)
  • Added missing css class to select box for formula field in the "edit bom" form. (r 418514)
  • De-composition of marketing packages on product returns: When a return recive for a marketing package is done, a seca is run to decompose the marketing package. (r 419201, 419258, 419275, 419283)
Order
  • Fixed some rounding bugs. First in taxes due to calcOrderAdjustmentBd(), second in orders with partial returns. (r 7909)
  • Internationalization and translations (r 7910, 7911, 7912, 7913, 7914, 7915, 7916, 7917, 7919, 7920, 418930, 419375, 419455, 419482)
  • Alignment fixes for the CustReqest screen (r 7921)
  • Split the View Quote screen into reusable screenlets (r 418557)
  • De-composition of marketing packages on product returns: When a return recive for a marketing package is done, a seca is run to decompose the marketing package. (r 419201, 419258, 419275, 419283)
  • Changed UI label on the return page from No Billing Account to New Billing Account which is what it really means (r 419610)
  • Fixed bug where adding an item to a created order would crash due to inability to compute price. The problem occurred when no default price was set, and the add item screen was not passing a prodCatalogId to activate the price rules properly. (r 419736, 419743)
Party
  • Internationalization and translations (r 7910, 7911, 7912, 7913, 7914, 7915, 7916, 7917, 7919, 7920, 418930, 419375, 419455, 419482)
  • Re-wrote the create/update/deletePartyRelationship services and cleaned up some of the PartyRelationship UI (r 418674)
Product
  • Fixed a couple of minor display issues (button style, etc.) of pack order and shipment info pages (r 7908)
  • Internationalization and translations (r 7910, 7911, 7912, 7913, 7914, 7915, 7916, 7917, 7919, 7920, 418930, 419375, 419455, 419482)
  • Changed the updateSubscription service name to updateContentSubscription so that the updateSubscription name can be used where it should be: for the Subscription entity (r 418893)
  • Moved content.subscription entities and code to product.subscription, since it really is more generic and extends the product model rather than being part of the content stuff; (r 418893, 418901, 418907, 418920, 418922)
  • Changed the checkPriceCondition method to accept a null quantity and in that circumstance ignore quantity constraints, in preparation for other methods to find quantity breaks and such for a product according to the price rules (r 418915)
  • Subscription related screens (r 419440, 419166)
  • Fixed bug when creating a new facility, the message "facility not found" was shown instead of the edit facility form; I recently introduced this error when I modified the facility-decorator screen. (r 419208)
  • Added subscription processing services, which are now enabled by default with an ECA; includes a demo product for a Gizmo Newsletter. (r 419428)
  • Better error messages when the DHL schedule shipping service fails (r 419608)
  • Changed success request map to request-redirect instead of view after the dhl shipment request, so a back button doesn't try to schedule another shipment (r 419615)
  • Fixed bug where complete inventory transfer service was not marking the inventory transfer record as COMPLETE, so they were still left as REQUESTED (r 419681)
  • Fixed bug in batch print shipping labels when no labels are selected. (r 419684)
  • Added comment about how CatalogWorker.getCurrentCatalogId works. (r 419734)
Seed Data
  • Added subscription processing services, which are now enabled by default with an ECA; includes a demo product for a Gizmo Newsletter. (r 419428)
Work Effort
  • Internationalization and translations (r 7910, 7911, 7912, 7913, 7914, 7915, 7916, 7917, 7919, 7920, 418930, 419375, 419455, 419482)
eCommerce
  • Internationalization and translations (r 7910, 7911, 7912, 7913, 7914, 7915, 7916, 7917, 7919, 7920, 418930, 419375, 419455, 419482)