Friday, October 27, 2006

OFBiz Development r468461

48 new commits this week. SVN r 468461 builds and installs successfully. Key changes this week:
  1. Changed deprecated versions of assignment operations to the new set operator in minilang.
  2. Updated xerces and bsf jars.
  3. Numerous bug fixes and improvements, including invoice calculation rounding, facility inventory screens, and order entry.

Accounting
  • New translations (r 466346, 466631)
  • Converted deprecated minilang operations to set (r 466405)
  • Changed authorize.net capture to use the PRIOR_AUTH_CAPTURE instead of CAPTURE_ONLY (r 467725)
  • Changed permission of calculateAcctgTransTrialBalance to ACCOUNTING_ATX_CREATE since this is invoked when the user is trying to create a transaction (r 468431)
  • fixed numerator/denominator and rounding problems which was causing tax amounts on invoices to differ from order. (r 468461)
Base and Framework
  • Fix wrong week number in the calendar (r 466364)
  • converted deprecated minilang operations to the set operation. (r 466420, 466421, 466425)
  • Improved the xsl-fo common template for document based reports. (r 466630)
  • Improved the simple xsl-fo common template for list based report. (r 466629)
  • Upgrade bsf to newer version (r 467304)
  • Updated Xerces to version 2.8.1 (r 467373)
  • Updated ecliipse .classpath files (r 468394)
Content
  • converted deprecated minilang operations to the set operation. (r 468277)
Manufacturing
  • New translations (r 466346, 466631)
  • routing screens header for routing task is fixed (r 466351)
  • converted deprecated minilang operations to the set operation. (r 466396, 466401)
Marketing
  • converted deprecated minilang operations to set (r 466401, 467177, 468277)
Order
  • New translations (r 466346, 466631)
  • converted deprecated minilang operations to the set operation. (r 466419)
  • Simplified and cleaned the companyHeader.fo.ftl template by replacing the fo:table elements with fo:block and fo:list-block. (r 466634, 466632)
  • Fixed the bug where modifying price during order entry does not cause the display price to be changed (r 467723)
  • Disabled the two examples of reports developed using JasperReport and added a comment to document this. (r 468304)
Party
  • converted deprecated minilang operations to the set operation. (r 466966, 467397, 468277)
Product
  • New translations (r 466346, 466631)
  • Uncommented accidental commenting out of picklistActiveList lookup for the picklist manage screen (r 467375)
  • converted deprecated minilang operations to the set operation. (r 467397, 468277, 468278)
  • Created a new script used by the Facility->Inventory screen to count inventory in facility. This new version uses a complex dinamic view entity to count the items instead of calling the proper inventory services and so it is very efficient and can handle large amount of data. This new version doesn't support the 'virtual' inventory of mkt packages. The old ViewFacilityInventoryByProduct.bsh script is still available and used by the report under the "reports" menu. (r 467444)
  • Reimplemented the "edit facility inventory items" screen with form widget: (r 468298)
  • Small fix to the display of facility id in product inventory items screen (r 468328)
  • Fix null shipping weight error in Ups (r 468358)
Seed Data
  • Fixed incorrect classification of freight in gl accounts in demo general chart of accounts (r 467185)
  • new inventory asset gl account class for use in sales and inventory analysis (r 468443)
Web Tools
  • New translations (r 466346, 466631)
  • Fixed NPE when a wrong service name was used in the schedule job screen. (r 467712)
Work Effort
  • Fix wrong week number in the calendar (r 466364)
eCommerce
  • converted deprecated minilang operations to the set operation. (r 466414)

Friday, October 20, 2006

OFBiz Development r466280

74 new commits this week. Significant changes this week were:
  1. New search criteria for order lists for purchase orders
  2. Fixed an issue which came up recently where lost reservations when order items are canceled
  3. Support for multiple fixed assets for production runs
  4. Migrated webtools regions pages to screen widget
  5. Minilang field-to-field, env-to-field, etc. are no longer in the XSD and will generate more error messages.

Accounting
  • make xml headers refer for the xsd to the ofbiz site (r 463887, 465480)
  • Simple method cleanups, mostly changing field-to-field to set (r 464907)
  • New translations (r 466018)
  • Improved Authorize.NET payment gateway, by sending order and address info on capture transactions as well (r 466193)
  • Fix bug where invoice terms were not created correctly while invoices were created (r 466280)
Base and Framework
  • Made EntityUtil.getFirst more efficient. (r 463812)
  • Fix filter by date find service bug (r 463893, 464219)
  • Removed a few empty or unused files and added license header to a few files still without it (r 463895, 463896)
  • Added Jakarta Commons Validator version 1.3.0 (r 463915)
  • Fix PNG transparency issues with CSS (r 464419, 464426, 464437)
  • A small change to put a session variable in the environment for simple methods called as an event (r 464510)
  • Fixed event type returned by the scheduleJob event after a succesful schedule from _EVENT_ERROR_ to _EVENT_MESSAGE_ (r 464865)
  • Removed field-to-field, env-to-env, etc. from minilang XSD definition (r 464904)
  • Added ability to pass (in the context) to a form (widget) a new parameter "overrideFormListSize" that can be used to specify the total size of a list (that could be different from the list passed to the form): this is very useful when pagination is handled manually in scripts. (r 465282)
  • Better typecasting error message in GenericEntity (r 465622)
Content
  • make xml headers refer for the xsd to the ofbiz site (r 463887, 465480)
  • rearrange the order of execution in email services (r 463894)
  • fix missing controller entries for setSessionLocale; (r 465669)
  • Fix NPE in forum screens (r 466028)
  • Formatting fixing of CMS screens (r 466029)
Manufacturing
  • New screens and services to set up multi fixed assests for routing tasks and production run tasks. (r 464154)
  • allows the override of the default routing when a manual production run is created. (r 464217, 464218)
  • move some WorkEffort generic services from the manufacturing to the workeffort component. (r 464572)
Order
  • Corrects a bug which appeared while searching for a wrong order ID (no check on partyId was done). (r 463998)
  • Allow statusDateTime to be passed to service changeOrderItemStatus (r 464136)
  • quote header template is now implemented by fo:list instead of fo:table (r 464227)
  • order list of returns by entry date descending (r 464803)
  • Fix bug where reservations are lost when an order item is cancelled. (r 465290, 466024)
  • New filters on Inventory Problems and Authorization Problems in Order List Screen and filter on Inventory Problems in Find order screen. Inventory Problems are: 1. Partially Received POs; 2. POs open past their ETA; 3. POs with rejected items (r 465360, 465376)
  • Bug fix of rejected quantity in OrderReadHelper (r 465375, 465505)
Party
  • make xml headers refer for the xsd to the ofbiz site (r 463887, 465480)
  • standarise the Communication tab with the other tab in Edit Profile (r 464114)
  • A number of cleanups (including formatting) in the PartyContactMech stuff (r 464511, 464599)
  • Simple method cleanups, mostly changing field-to-field to set (r 464907)
  • Suppress Warnings for getPartyNameForDate method (r 466022, 466023)
Point Of Sales
  • Changes the POS adjustments to be != 0 rather than just > 0, it will then show discounts on receipts (r 465674)
Product
  • Corrects a bug when quantitySummary.facilityId is not defined (does not exist) on the catalog manager's product inventory items screen (r 464220, 464223)
  • Simple method cleanups, mostly changing field-to-field to set (r 464907)
  • review submission should subsequently display a 'thanks for submitting this' page. (r 465150)
  • improve the performance of the "view inventory by product" report: now pagination is manually done in the bsh script. (r 465283)
  • fix missing search parameters in links for print/export of "view inventory by product" report. (r 465307, 465348)
  • Decreased default pagination size for pdf and xml versions of the "view inventory by product" report to avoid performance issues since this report is very heavy. (r 465312)
  • Changed the request for issuing order items to shipment from GET to POST, as GET would not work when there were too many items (r 465753)
Seed Data
  • Seed data that define the allowed status transitions for production runs. (r 464153)
Web Tools
  • make xml headers refer for the xsd to the ofbiz site (r 463887, 465480)
  • Converted the service related "region" pages to screen widget. (r 464678, 464679, 464681, 464866, 484868)
  • New translations (r 466018)
Work Effort
  • move some WorkEffort generic services from the manufacturing to the workeffort component. (r 464572)
eCommerce
  • Fix bug with sending emails of anonymous orders. (r 463814, 465401)
  • Removed a few empty or unused files and added license header to a few files still without it (r 463895, 463896)
  • Visual cleanups of customer screens (r 464677)
  • "review submission should subsequently display a 'thanks for submitting this' page. (r 465150)

Friday, October 13, 2006

OFBiz Development r463729

88 new commits this week. SVN r 463729 builds and installs successfully. Significant changes this week were:
  • Removed all author and id information from copyright headers, in compliance with Apache Foundation best practices.
  • Upgraded Derby to 10.2.1.6 and Tomcat to 5.5.20
  • Fixed bugs with anonymous checkout in ecommerce store
  • Fixed bugs with internationalized category content in ecommerce store

Accounting
  • Fixes and improvements to translations (r 454017, 454090, 454091)
  • Correct value in log for priceWithTax (r 454722)
Base and Framework
  • Fixes and improvements to translations (r 454017, 454090, 454091)
  • A couple of improvements to login error handling with successful authentication, but failures in saving/resetting UserLogin and UserLoginHistory data (r 454438)
  • Fixed issue where delegatorName is not found: looks for delegator in the ServletContext attribute which is where it always should be for an application; this way the Visit is more reliably created, especially after logout when the session is cleared and for a bit the delegatorName isn't there (r 454828)
  • Added a new request response type: request-redirect-noparam that will redirect to a request without adding all of the parameters to the URL (r 462775, 462999)
  • added the userLogin to the preparefind service call (r 463110)
  • Added new currencyFormat method that accepts as input the maximum number of fraction digits: if the value is >= 0 then it is used to override the default value of the currency format of the given locale. (r 463137)
  • in the findservices add an optional timestamp filterByDateValue for the filterByDate function (r 463574)
  • Updated Tomcat/Catalina to version 5.5.20 (r 463657)
  • Updated Derby to version 10.2.1.6 (r 463660)
Content
  • make use of 'delevered to' email address when the 'from' address cannot be found. Also store this address in the communicationEvent info field (r 453801)
  • store the personal name of the from emailaddress in the communicationevent in the info section when the emailaddress is not recognzed (r 454288)
  • Changed storeEmailAsCommunication.communicationEventId back to optional field so sending emails to contact lists would not break (r 463007)
Entity Model
  • Added new view entity to more effectively get and display it, namely PartyContactDetailByPurpose; also added ContactMechPurpose for previous address (r 462860)
Manufacturing
  • Approved product requirements are now considered as approved purchase orders by the MRP. (r 454305)
  • If a po delivery schedule (OrderDeliverySchedule) date is available, the MRP will consider this date instead of the OrderItem date. (r 454315)
Order
  • Fixes and improvements to translations (r 454017, 454090, 454091)
  • Fixed layout issue in order view screen (r 454328)
  • refactored createOrderNote to use the dispatcher to call a service (r 462613)
  • add support for setting itemType and itemDescription in the bulk add products (r 462703)
  • Added copy of countyGeoId when creating customers (r 462859)
  • Fix bug where changing order adjustments was not changing order total (r 463518)
  • Fixed problems with recalc shipping service where lack of a shipment estimate would cause an NPE or return a service error, making it impossible to cancel purchase order items (r 463729)
Party
  • allw the 'enabled' field to be set at userLogin Creation, add some button labels (r 454138)
  • remove the unused 'presonal' parameter to the findPartyFromEmailAddress service call (r 463576)
Point Of Sales
  • Label modification for "(adjusment)" in POS Journal (POS Journal is what customer views on screen before printing receipt) (r 454000, 45010)
Product
  • new form in facility manager to display inventory item details of a product (r 453817)
  • createProductStore will now fail with error if you try to set "show VAT in price" but the VAT tax geo id and tax party are empty. (r 462806, 462867)
  • Removed possibility of creating a category with a category type, which is not allowed by service, from the edit category screen, and defaulted category type to CATALOG_CATEGORY (r 462916)
  • Pack order will not check items which have no quantity to pack. (r 463339)
  • "Pack Qty" has been changed to "Qty to Pack", at least in English. (r 463340)
  • Fixed rate shopping option for upsRateEstimate (r 463344)
Seed Data
  • Moved DemoCategoriesI18nData.xml from product to ecommerce to avoid data loading error (r 453883, 454213)
  • Company party is now in NA role by default (r 463664)
Web Tools
  • Implemented a new WebTools screen to view the content of the ofbiz log file. (r 462762, 462763)
  • Removed a lot of unused files from the webtools application. (r 462830)
eCommerce
  • A fix for the issues run into after an anonymous checkout process; this will clear the whole session when clearing the cart after checkout if the userLoginId is anonymous; the order confirmation page is then rendered with authentication using a variable that is put in a request attribute instead of the session so that after the page is rendered there are no remnants of the anonymous user; this solves a lot of funny behavior that is inconsistent with the idea of a checkout with no login (r 462584)
  • Now the ecommerce store's header will use titleProperty defined in the screen widgets
  • fix potential bug with last viewed categories when some categories don't have content wrappers (r 462908, 462910, 463150)

Friday, October 06, 2006

OFBiz Development SVN r453703

67 new commits this week. SVN r 453703 builds and installs successfully except for some issues with one of the demo data files (DemoCategoriesI18nData.xml.

This week there were many usability enhancements and improvements with orders, requirements, and fixed asset maintenance.

Accounting
  • Fixed bad service definitions for the operations on the FixedAssetStdCostentity (pk fields were defined as optional parameters)): (r 451716)
  • Added data model changes and issuance service to issue inventory to a FixedAssetMaint for use as a Part; there is no accounting handled in this but the idea would be to convert the inventory to supplies (r 451821, 452025)
  • UI label fixes (r 451986, 452520)
  • Removed some unused imports in Java classes. (r 452088)
  • Prevent double posting of acctg trans to the ledger (r 452577)
  • Added code to xml format all values in the invoice PDF (r 452800)
  • Commented out the automatic setting of commission invoices to READY. You can uncomment it in accounting/servicedef/secas.xml (r 453431)
  • Fixed problem with percentage item and sales discounts not working (r 453515)
  • Fix up the days due for commission invoices, so that if it is not set in Agreement, then dueDate of invoice is also not set. Also fixed a bug where it was always set to 0. (r 453680)
  • Company header can now display the taxId of the company in the bill-to address's geo, though this is by default commented out in editInvoice.bsh. (r 453703)
Base and Framework
  • updated ofbiz logo (r 451660, 451663)
  • Removed not needed ant tasks from the application folder's build file: they were causing the clean-all target to fail. (r 451719)
  • New default value feature for complex-alias, useful for making concatenated reports, etc. (r 451767, 451963)
  • add a service to get one generic item using the performFind service (r 451904)
  • Fix for rendering of numeric values both in ftl templates and in form widget. The problem was that the number of fractional digit used was the default one for the locale (usually 3) and for this reason many numbers were truncated in the screens. This is fixed by setting the maximum number of digits to 10. (r 451937)
  • UI label fixes (r 451986, 452520)
  • Removed some unused imports in Java classes. (r 452088)
  • Created a generic screen that renders a link (implemented by an hidden form) that can be included in other screens: in the form, the screen's requestParameters are stored as hidden fields and so it is very useful to render links for printed output (based on search constraints). (r 452778)
  • Set startofbiz.sh and stopofbiz.sh to use -Duser.language=en parameter to force base language to English to avoid some rendering problems (r 452792)
  • Added code to xml format all values in the invoice PDF (r 452800)
  • Made console.log and ofbiz.log display of date time consistent usig the date-time format (r 453301)
  • Fixed bug reported where Prev/Next links in multi forms are messed up after form is submitted. (r 453530)
Content
  • Fixed bug where contactMechIdTo not properly filled in communicationEvent (r 451859)
  • Removed some unused imports in Java classes. (r 452088)
  • add an optional parameter to the deleteComminucationEvent to optionally delete dependent content, dataresource and imageDataResource. This for emails comimg in not detected by the spamfilter and which have attachements you want to get rid of (r 452500)
Entity Model
  • New fields expectedEndOfLife and actualEndOfLife for FixedAsset (r 451806)
Manufacturing
  • Cleaned up some bad references to the ProductHelper class that has been recently removed. (r 451577)
  • Fix bad usage of time variables. (r 451718)
  • Removed unnecessary method to check a routing task from/thru date validity: the generic method in the EntityUtil class is now used in place of this. (r 451720)
  • Removed some unused imports in Java classes. (r 452088)
Marketing
  • Removed some unused imports in Java classes. (r 452088)
Order
  • ability to cancel order payment preferences from orders which have not been completed, canceled, or rejected (r 451493)
  • Removed some unused imports in Java classes. (r 452088)
  • Break up of orderheader templates (for order confirm and order view screens) and the showPromotions template with multiple screenlets. (r 452766)
  • Added pdf version of the "approved product requirements" (aka "purchase order requirements") screen: the link to call it is rendered using the new "genericLink" screen. (r 452780)
  • Refactored the quote pdf report to share the common report template. (r 452879)
  • Replace all yellow link styles and disabled versions with buttontext and buttontextdisabled. Fixes display issues in IE. (r 453027)
  • Fixed pagination bug in find cust requests. (r 453049)
  • On purchase order PDFs, display vendor name when there is no vendor address (r 453078)
  • Allow returns of partially shipped orders from the orderview page (r 453376)
  • Fixed problem with percentage item and sales discounts not working (r 453515)
  • Improved the layout of the phone number when country or area codes are missing. (r 453519)
  • Removed unnecessary select all toggle for the manage quote prices page (r 453528)
Party
  • Fix date comparison for getPartyNameForDate service so that by default it compares dates to now (r 451721)
  • Display of country name instead of id in Party (r 452764)
Point Of Sales
  • Added ACCOUNTING_COMM_VIEW permission for POSCLERK (r 452314)
  • Fixed problem with percentage item and sales discounts not working (r 453515)
Product
  • Fix supplier product add/update form so that it does not make you think you can change the supplier party and available from date when updating a supplier product, since those fields are primary keys (r 451497)
  • Added "view agreements" screen to the product's detail screens: it shows product's information about purchase, sales and commission agreements. (r 451605)
  • Cleaned up comments of the getProductCost service. (r 451952)
  • Fixed approx problems when calculating product's costs. (r 452006)
  • The product cost field cannot be set to "currency" if we want to see more than two decimals. (r 452017)
  • Removed some unused imports in Java classes. (r 452088)
  • Updated pdf and xml version of the "view inventory by product" report to make them work again after the last changes to the html version. (r 452397)
  • Fixed NPE when no po id and no product id were passed to the receive inventory screen (r 452782)
  • Fixed bug in batch cost calculation: missing parameter. (r 453168)
  • Changed br to br/ in a whole bunch of pages (r 453245)
  • Fixed problem with percentage item and sales discounts not working (r 453515)
Seed Data
  • New agreement type for commissions (r 453429)
  • Commissions seed data changed to use commission AgreementType and payable days changed to 30. (r 453430)
Web Tools
  • Migrate webtools debug level screens to widget and add dynamic configuration of log4j loggers (r 453151, 453163, 453164, 453178)
  • Now the Webtools application uses the common login template. (r 453207)
  • Changed br to br/ in a whole bunch of pages (r 453245)
eCommerce
  • Changed br to br/ in a whole bunch of pages (r 453245)
opentaps Financials
  • More reporting fixes
  • Fixed potential problems with double posting of transactions with "request-redirect"
  • Started work on profitability reports and a quick create transaction feature