You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2015/01/11 11:42:34 UTC
[jira] [Commented] (OFBIZ-5916) Cutting List Report from
Manufacturing Shipment Plans throws error due to due to missing
EntityCondition import
[ https://issues.apache.org/jira/browse/OFBIZ-5916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14272866#comment-14272866 ]
Jacques Le Roux commented on OFBIZ-5916:
----------------------------------------
Christian,
The fix seems good indeed, but I'm a bit lost to test. I re-used the OOTB 9998 shipment, set as scheduled, added an item (a GZ-1000, I did not fine how to plan it).
Then got to Manufacturing -> Shipment Plans. Clicked the View button, then the "Generate Production Runs" button. Then nothing happened, I guess I'm missing how to plan the item?
I also tried to issue the shipment at facility/control/issueOrderItemShipGrpInvResToShipment. Then clicking on the "Generate Production Runs" button I got this error
2015-01-11 11:37:46,280 |ttp-bio-8443-exec-32 |ScriptUtil |W| Error running script at location [component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/WorkWithShipmentPlans.groovy]: java.lang.NullPointerException: Cannot set property 'shipmentId' on null object
I guess you created OFBIZ-5915 for that, right? Then could you please create a patch for the trunk? Thanks!
> Cutting List Report from Manufacturing Shipment Plans throws error due to due to missing EntityCondition import
> ---------------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-5916
> URL: https://issues.apache.org/jira/browse/OFBIZ-5916
> Project: OFBiz
> Issue Type: Bug
> Components: manufacturing
> Affects Versions: Trunk
> Reporter: Christian Carlow
> Priority: Minor
> Attachments: OFBIZ-5916.patch
>
>
> This error occurs when clicking the "Cutting List Report" button from the Manufacturing -> Shipment Plans page once a production run has been created for a planned shipment:
> Error running script at location [component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/ShipmentWorkEffortTasks.groovy]: groovy.lang.MissingPropertyException: No such property: records for class: ShipmentWorkEffortTasks
> To reproduce:
> 1. Create a shipment with status Schedued and a planned item
> 2. Navigate to Manufacturing -> Shipment Plans and click "Create Production Runs" for the shipment
> 3. Click the "Cutting List Report" button that appears once Production Runs have been created
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)