Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-5224

In productionrun when failIfItemsAreNotAvailable=N an error is generated and production run stops

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Trunk
    • Trunk
    • manufacturing
    • None

    Description

      In a production run there is the possibility to continue even when inventory of a component is not equal to the quantity required. This is done in the section 'Materials Required By The Running Task' by setting the paramater 'failIfItemsAreNotAvailable' to 'N'.

      However, when doing so the production run doesn't continue and generates the error:

      The Following Errors Occurred:

      Error:<br/> Materials Not Available in Warehouse CPU-586: 33 <br/> Error trying to begin transaction, could not process method: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error in simple-method Issues the Inventory for a Production Run Task Component [file:/ofbiz-trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml#issueProductionRunTaskComponent]: ; [Materials Not Available in Warehouse CPU-586: 33] <br/> <br/>

      Attachments

        Activity

          People

            jacopoc Jacopo Cappellato
            pierresmits Pierre Smits
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: