From e478bbc393168e0c8ef625b35ab2a4848cd2bb60 Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Wed, 22 May 2019 07:39:08 +0000 Subject: [PATCH] Fixed: It's impossible to create more than 1 ProductManufacturingRule (OFBIZ-11047) In a previous commit for OFBIZ-9997 I wrote: >DeleteProductManufacturingRule seems weird to me because I don't understand how >to create several Manufacturing Rules. I'll check Sharan's book :) I checked Sharan's book and there is nothing about it It also shows ManufacturingMachineGroupIdAlreadyExist ("Fixed Asset Group ID doesn't exist") when you try to create one using manually the AddProductManufacturingRule service which makes no sense. This fixes it by adding the necessary in BomForms.xml and fixing addProductManufacturingRule which was wrong from start (pre Apache era) git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1859691 13f79535-47bb-0310-9956-ffa450edef68 --- .../minilang/bom/BomSimpleMethods.xml | 29 +++++++------------ .../widget/manufacturing/BomForms.xml | 5 +++- 2 files changed, 15 insertions(+), 19 deletions(-) diff --git a/applications/manufacturing/minilang/bom/BomSimpleMethods.xml b/applications/manufacturing/minilang/bom/BomSimpleMethods.xml index 9fb5f6418e..c72e310c5d 100644 --- a/applications/manufacturing/minilang/bom/BomSimpleMethods.xml +++ b/applications/manufacturing/minilang/bom/BomSimpleMethods.xml @@ -117,24 +117,17 @@ under the License. - - - - - - - - - - - - - - - - - - + + + + + + + + + + + diff --git a/applications/manufacturing/widget/manufacturing/BomForms.xml b/applications/manufacturing/widget/manufacturing/BomForms.xml index c6c91af4ae..488f3c7d13 100644 --- a/applications/manufacturing/widget/manufacturing/BomForms.xml +++ b/applications/manufacturing/widget/manufacturing/BomForms.xml @@ -125,7 +125,10 @@ under the License.