You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacopo Cappellato (JIRA)" <ji...@apache.org> on 2014/03/25 19:38:16 UTC

[jira] [Commented] (OFBIZ-5224) In productionrun when failIfItemsAreNotAvailable=N an error is generated and production run stops

    [ https://issues.apache.org/jira/browse/OFBIZ-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13946921#comment-13946921 ] 

Jacopo Cappellato commented on OFBIZ-5224:
------------------------------------------

Sorry for the late reply.
I think I already commented a similar issuein another task: even if you set failIfItemsAreNotAvailable=N you still need enough inventory (QOH) otherwise you will get the error you reported above.
The flag may be useful when:
QOH > qty_req_by_prodrun > ATP

Pierre, could you please confirm if this resolve the issue you have reported? Thanks

> In productionrun when failIfItemsAreNotAvailable=N an error is generated and production run stops
> -------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5224
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5224
>             Project: OFBiz
>          Issue Type: Bug
>          Components: manufacturing
>    Affects Versions: SVN trunk
>            Reporter: Pierre Smits
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-5224-MFG-ProductionRunServices.patch
>
>
> 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/>



--
This message was sent by Atlassian JIRA
(v6.2#6252)