Friday, March 23, 2007

OFBIZ Development r521887

68 new commits since last week. Key improvements:
  1. Improved MRP and Usage reports
  2. PDF for order ship group contents
  3. New remote printing capability for orders
  4. Support for XML RPC

Asset Maintenance
  • In asset maintenance orders, default to first item on PO (r 521333)
Base and Framework
  • Enabled support to 'screenfop' view definitions for several output types supported by FOP; they are defined using the content-type attribute in the controller's view definition (application/pdf is the default)); try for example: application/postscript application/x-pcl ... This is the first step toward providing print support for laser/barcode printers. (r 519268)
  • Allow naming of attachment PDF in send mail from screen (r 519583)
  • Fix assignment bugs and potential NPE's (r 519584, 519589)
  • Added new field ('authUserlLoginId') to the JobSandbox entity to store the user login of the user that submitted the async job. The content for the field is retrieved from the context (using the 'userLogin' object, if available). (r 520300)
  • implemented new data loading arguement -component to limit data loading to a single component (by name) example: java -jar ofbiz.jar -install -component=mycomponent -readers=seed,ext,demo (r 520902)
  • implemented XML-RPC to service engine (r 521060, 521311)
  • Fix drag and drop funcitonality in dojo table rows. these are fixed in a different way in dojo 0.4.2, but instead of upgrading to new dojo we just fixed it here. (r 521520)
  • Fixed extra equals sign in tomcat session rep config (r 512871)
Content
  • First draft of the service that can be called as async to create a (PDF, Postscript, PCL etc...) output from a screen definition and send it to a lan printer. (r 520359, 521601)
  • Added script to select all the printers available in the server. (r 521619)
Manufacturing
  • Now the mrp screen used to manually run the MRP will submit the job as async since it can be a long running job; the user can now monitor the status of the process from the new screen in the WorkEffort application. (r 520324)
  • Fix for the MRP process to better handle WIP products. (r 520340)
  • Fix for an issue with the MRP, that was coonsidering the promised units from canceled production runs. (r 520901)
  • The days set in ProductFacility.daysToShip are taken into account by the MRP even for manufactured items: the time is added to the standard time of the routing. (r 521722)
  • Improved MRP logs, with the isLate flag set in the events. (r 521780, 521806, 521847)
Multiple Components
  • Enabled support to 'screenfop' view definitions for several output types supported by FOP; they are defined using the content-type attribute in the controller's view definition (application/pdf is the default)); try for example: application/postscript application/x-pcl ... This is the first step toward providing print support for laser/barcode printers. (r 519268)
  • Layout fixes (r 519269, 519270, 519307, 519580)
  • Arabic translations (r 519306, 519309)
  • Fix assignment bugs and potential NPE's (r 519584, 519589)
  • Add content-type for PDF FOP view requests (r 520504, 520526)
Order
  • Added PDF for ship groups. It displays the contents of each ship group on a page by page basis. (r 519117, 519118, 519145, 519155)
  • 'Created' status is the default one for newly created requirements. (r 519271)
  • Fix order item corresponding PO ID (r 519570, 519571)
  • New feature to force complete a purchase order, which would cause all remaining items to be cancelled and new requirements to be created for them. (r 520120)
  • Added from/thru dates to the list of fields returned by the query on SupplierProduct to the LookupBulkAddSupplierProducts script. (r 520784, 521232)
  • Improved business rules to automatically assign a (product) requirement to a supplier: now validity dates are considered against the requirement date, and also minimum order quantity, and the supplier with the minimum last price and higher preference is selected. (r 520857)
  • Fix bug where in some cases the payment methods for the order party was missing, preventing new payment methods from being added to order. (r 520980)
  • Few minor adjustments to not fail and added ability to refresh order page (r 521360)
  • There is now a 'print' option in the select box in the header of the find order list. By selecting it and submitting the form all the orders with the checkbox set will be submitted as async jobs: the user can monitor the status of the print jobs (one per order) in the WorkEffort->Submitted Jobs screen (the status will move from Pending to Running to Finished). The system will render one postscript stream for each order (out of the screen definition) and send it to the first printer (that can handle postscript streams) that the server's JVM can locate. (r 521616, 521812)
  • Now the 'approve requirement' screen shows both created and proposed requirements. (r 521688)
Party
  • Changed some of the links to create new person/party group to redirect to viewprofile (r 521051)
  • commented out the loyalty points section of the party manager viewprofile page (r 521053)
Point Of Sales
  • clean up (r 520812)
Product
  • Improve packing slip PDF so header and gift message footer are uniform across pages. (r 519101)
  • Provide 'Usage' column to the Facility inventory report, based on sales usage plus production usage. Sales usage is assembled via OrderItem/OrderHeader/ItemIssuance/InventoryItem, and production usage via WorkEffortInventoryAssign/WorkEffort/InventoryItem. (r 519102)
  • Changed feature type description to default to ID when there is no description in virtual product inventory summary (r 520343)
  • Changed advanced search page in catalog manager to support list price from/thru, feature and category include/exclude/always (r 520479)
  • Cleanup of bsh that gets inventory for variants of virtual products (r 520492)
  • Screen for receiving inventory against POs in a shipment will now the back ordered orders and load the correct unit prices (r 520554)
  • Added form to the 'inventory item detail' screen to show information about order's reservations. (r 520846)
  • Fix bug in inventory xfer where completed transfers for serialized items were not being set to AVAILABLE status. (r 521005)
  • Log when picklist skips a back ordered/no tin stock item (r 521506)
  • Null checking when getting product store locale (r 521506)
  • Fix orderby in inventory reservation services (r 521508)
Seed Data
  • Fix Typo in stateProvinceAbbr (r 521700)
  • better demo data (r 521887)
Work Effort
  • Added first version of a screen that the user can visit to monitor the status of the async jobs that he/she has submitted. (r 520301)
  • Cancelled work effort (both calendar events and production runs/tasks) are no longer shown in the calendar screens. (r 520917)
eCommerce
  • Fix wrong method call on show cart page (r 519523)
  • removed dojo.js from quick anonymous checkout links, as it is already part of the decorator (r 519534)
  • clean up file formatting (r 519566)