diff --git a/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml b/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml index 6d830b7394..8c212aba67 100644 --- a/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml +++ b/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml @@ -31,20 +31,16 @@ under the License. - + + - - - - - @@ -52,11 +48,16 @@ under the License. - + - + + + + + + @@ -68,12 +69,7 @@ under the License. - - - - - - + @@ -97,6 +93,9 @@ under the License. + + + diff --git a/applications/manufacturing/servicedef/services_production_run.xml b/applications/manufacturing/servicedef/services_production_run.xml index d9f44f856b..718839652a 100644 --- a/applications/manufacturing/servicedef/services_production_run.xml +++ b/applications/manufacturing/servicedef/services_production_run.xml @@ -145,13 +145,17 @@ under the License. location="org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml" invoke="issueProductionRunTaskComponent" auth="false"> Issues the Inventory for a Production Run Task Component. For more info see the issueProductionRunTask service. + If fromDate is passed, then the WorkEffortGoodStandard record with pk composed of (workEffortId|productId|fromDate) + with type PRUNT_PROD_NEEDED is retrieved and used to get the quantity; its status is also updated to COMPLETED after + the issuance is done. + If locationSeqId is provided, then the items are only issued from the inventory items associated to the location. + - - + diff --git a/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml b/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml index b3c007cc2a..5ba6016850 100644 --- a/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml +++ b/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml @@ -635,8 +635,7 @@ under the License.
- - +