I'm trying to execute a MRP session using a Facility Group instead of a Facility, but the system returns to me the following error "facilityId and manufacturingFacilityId cannot be null".
Regards Nico |
can you provide more info
the url or service you used. the SVN version you are using? log files nico61 sent the following on 7/10/2008 8:40 AM: > I'm trying to execute a MRP session using a Facility Group instead of a > Facility, but the system returns to me the following error "facilityId and > manufacturingFacilityId cannot be null". > > Regards > Nico |
In reply to this post by nico61
how is your facility group setup?
Jacopo On Jul 10, 2008, at 5:40 PM, nico61 wrote: > > I'm trying to execute a MRP session using a Facility Group instead > of a > Facility, but the system returns to me the following error > "facilityId and > manufacturingFacilityId cannot be null". > > Regards > Nico > -- > View this message in context: http://www.nabble.com/MRP-using-Facility-Group-tp18385564p18385564.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > smime.p7s (3K) Download Attachment |
Hi,
I have create a set of Facility, one of them is used to receive raw material, the second is used to manufacture product and the last to ship products. So, I created a Facility Groups to which I assigned the three facilities, giving respectively a progressive sequence number. Then I execute a MRP session giving as input only the Facility Group item. Thank very much Nico
|
In reply to this post by BJ Freeman
Hi,
I'm using 4.0 SVN version. Concernig the occured error, I list the relatve log file: 2008-07-10 23:15:11,687 (default-invoker-Thread-1328) [PersistedServiceJob.java:141:INFO ] org.ofbiz.service.job.PersistedServiceJob@5ac214[15332] -- Next runtime: -1 2008-07-10 23:15:11,687 (default-invoker-Thread-1328) [ UtilXml.java:241:INFO ] XML Read 0.0s: Internal Content 2008-07-10 23:15:11,687 (default-invoker-Thread-1328) [ MrpServices.java:599:INFO ] executeMrp called 2008-07-10 23:15:11,703 (default-invoker-Thread-1328) [ ServiceDispatcher.java:522:ERROR] Error in Service [executeMrp]: facilityId and manufacturingFacilityId cannot be null 2008-07-10 23:15:11,703 (default-invoker-Thread-1328) [ TransactionUtil.java:275:ERROR] ---- exception report ---------------------------------------------------------- [TransactionUtil.rollback] Exception: java.lang.Exception Message: Stack Trace ---- stack trace --------------------------------------------------------------- java.lang.Exception: Stack Trace org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274) org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:526) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149) org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69) org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:240) java.lang.Thread.run(Thread.java:619) -------------------------------------------------------------------------------- 2008-07-10 23:15:11,703 (default-invoker-Thread-1328) [ TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back 2008-07-10 23:15:11,703 (default-invoker-Thread-1328) [ GenericServiceJob.java:116:ERROR] ---- exception report ---------------------------------------------------------- Async-Service failed. Exception: java.lang.Exception Message: facilityId and manufacturingFacilityId cannot be null ---- stack trace --------------------------------------------------------------- java.lang.Exception: facilityId and manufacturingFacilityId cannot be null org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:75) org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:240) java.lang.Thread.run(Thread.java:619) -------------------------------------------------------------------------------- 2008-07-10 23:15:11,703 (default-invoker-Thread-1328) [PersistedServiceJob.java:208:WARN ] Persisted Job [15332] Failed - Max Retry Hit; not re-scheduling Thanks, Nico
|
In reply to this post by nico61
Hi Nico,
in its current (pretty basic) implementation of the facility group support, you have to create a facility group: * with a facility associated as WAREHOUSE: used by the MRP for inventory levels * and with a facility associated as PLANT: used by the MRP when it generates requirements for manufacturing orders If you need something more complex you'll have to enhance the code (MrpServices.java, around lines 610-650) Jacopo PS: the above suggestions are for the TRUNK version, not the release 4... you'll have to verufy how they can be applied to release 4 if you really want to use it... however you should really think to use the trunk On Jul 10, 2008, at 11:08 PM, nico61 wrote: > > Hi, > > I have create a set of Facility, one of them is used to receive raw > material, the second is used to manufacture product > and the last to ship products. > > So, I created a Facility Groups to which I assigned the three > facilities, > giving respectively a progressive sequence number. > Then I execute a MRP session giving as input only the Facility Group > item. > > Thank very much > Nico > > > > > Jacopo Cappellato-3 wrote: >> >> how is your facility group setup? >> >> Jacopo >> >> On Jul 10, 2008, at 5:40 PM, nico61 wrote: >> >>> >>> I'm trying to execute a MRP session using a Facility Group instead >>> of a >>> Facility, but the system returns to me the following error >>> "facilityId and >>> manufacturingFacilityId cannot be null". >>> >>> Regards >>> Nico >>> -- >>> View this message in context: >>> http://www.nabble.com/MRP-using-Facility-Group-tp18385564p18385564.html >>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>> >> >> >> >> > > -- > View this message in context: http://www.nabble.com/MRP-using-Facility-Group-tp18385564p18391935.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > smime.p7s (3K) Download Attachment |
Hi Jacopo,
my current trunk version is 672765. I already used your suggestion and configured a facility as WAREHOUSE and the other as PLANT as follows: facility associated as WAREHOUSE Aluminum Door Handles, Plastic Door Handles and Hardboard Door anyone configured as: Product type = Finished good ATP=QOH=OQ = 0 Minimum Stock = 10 facility associated as PLANT door Product type = Configurable good ATP=QOH=OQ = 0 Minimum Stock = 10 I executed the MRP and reached the following results: Aluminum Door Handles Facility: 10030 Minimum Stock: 10 Proposed Purchase Order with a quantity = 10 Plastic Door Handles Facility: 10030 Minimum Stock: 10 Proposed Purchase Order with a quantity = 10 Hardboard Door Facility: 10030 Minimum Stock: 10 Proposed Purchase Order with a quantity = 10 but no requirements for manufacturing orders concerning the product door .... Is my mistake the door product type ? I also used another type as Finished good, even if is not my goal, but I reached the same result ....... thanks Nico
|
Just try to set the inventory settings for the "door" into the
WAREHOUSE and not into the PLANT. WAREHOUSE: > door > Product type = Configurable good > ATP=QOH=OQ = 0 > Minimum Stock = 10 Jacopo On Jul 11, 2008, at 10:34 AM, nico61 wrote: > > Hi Jacopo, > > my current trunk version is 672765. I already used your suggestion and > configured > a facility as WAREHOUSE and the other as PLANT as follows: > > facility associated as WAREHOUSE > > Aluminum Door Handles, Plastic Door Handles and Hardboard Door anyone > configured as: > Product type = Finished good > ATP=QOH=OQ = 0 > Minimum Stock = 10 > > facility associated as PLANT > > door > Product type = Configurable good > ATP=QOH=OQ = 0 > Minimum Stock = 10 > > I executed the MRP and reached the following results: > > Aluminum Door Handles > Facility: 10030 > Minimum Stock: 10 > Proposed Purchase Order with a quantity = 10 > > Plastic Door Handles > Facility: 10030 > Minimum Stock: 10 > Proposed Purchase Order with a quantity = 10 > > Hardboard Door > Facility: 10030 > Minimum Stock: 10 > Proposed Purchase Order with a quantity = 10 > > but no requirements for manufacturing orders concerning the product > door > .... > > Is my mistake the door product type ? I also used another type as > Finished > good, even if is not my > goal, but I reached the same result ....... > > thanks > Nico > > > Jacopo Cappellato-3 wrote: >> >> Hi Nico, >> >> in its current (pretty basic) implementation of the facility group >> support, you have to create a facility group: >> * with a facility associated as WAREHOUSE: used by the MRP for >> inventory levels >> * and with a facility associated as PLANT: used by the MRP when it >> generates requirements for manufacturing orders >> >> If you need something more complex you'll have to enhance the code >> (MrpServices.java, around lines 610-650) >> >> Jacopo >> >> PS: the above suggestions are for the TRUNK version, not the release >> 4... you'll have to verufy how they can be applied to release 4 if >> you >> really want to use it... however you should really think to use the >> trunk >> >> >> On Jul 10, 2008, at 11:08 PM, nico61 wrote: >> >>> >>> Hi, >>> >>> I have create a set of Facility, one of them is used to receive raw >>> material, the second is used to manufacture product >>> and the last to ship products. >>> >>> So, I created a Facility Groups to which I assigned the three >>> facilities, >>> giving respectively a progressive sequence number. >>> Then I execute a MRP session giving as input only the Facility Group >>> item. >>> >>> Thank very much >>> Nico >>> >>> >>> >>> >>> Jacopo Cappellato-3 wrote: >>>> >>>> how is your facility group setup? >>>> >>>> Jacopo >>>> >>>> On Jul 10, 2008, at 5:40 PM, nico61 wrote: >>>> >>>>> >>>>> I'm trying to execute a MRP session using a Facility Group instead >>>>> of a >>>>> Facility, but the system returns to me the following error >>>>> "facilityId and >>>>> manufacturingFacilityId cannot be null". >>>>> >>>>> Regards >>>>> Nico >>>>> -- >>>>> View this message in context: >>>>> http://www.nabble.com/MRP-using-Facility-Group-tp18385564p18385564.html >>>>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>>>> >>>> >>>> >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/MRP-using-Facility-Group-tp18385564p18391935.html >>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>> >> >> >> >> > > -- > View this message in context: http://www.nabble.com/MRP-using-Facility-Group-tp18385564p18399146.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > smime.p7s (3K) Download Attachment |
in this way, I obtain a third "Proposed Purchase Order with a quantity = 10" for the door and
I need to have a requirement for manufacturing orders for the door in the PLANT .... Nico
|
how is the BOM of the door setup?
Jacopo On Jul 11, 2008, at 11:07 AM, nico61 wrote: > > in this way, I obtain a third "Proposed Purchase Order with a > quantity = 10" > for the door and > I need to have a requirement for manufacturing orders for the door > in the > PLANT .... > > Nico > > > > Jacopo Cappellato-3 wrote: >> >> Just try to set the inventory settings for the "door" into the >> WAREHOUSE and not into the PLANT. >> >> WAREHOUSE: >>> door >>> Product type = Configurable good >>> ATP=QOH=OQ = 0 >>> Minimum Stock = 10 >> >> Jacopo >> >> >> On Jul 11, 2008, at 10:34 AM, nico61 wrote: >> >>> >>> Hi Jacopo, >>> >>> my current trunk version is 672765. I already used your suggestion >>> and >>> configured >>> a facility as WAREHOUSE and the other as PLANT as follows: >>> >>> facility associated as WAREHOUSE >>> >>> Aluminum Door Handles, Plastic Door Handles and Hardboard Door >>> anyone >>> configured as: >>> Product type = Finished good >>> ATP=QOH=OQ = 0 >>> Minimum Stock = 10 >>> >>> facility associated as PLANT >>> >>> door >>> Product type = Configurable good >>> ATP=QOH=OQ = 0 >>> Minimum Stock = 10 >>> >>> I executed the MRP and reached the following results: >>> >>> Aluminum Door Handles >>> Facility: 10030 >>> Minimum Stock: 10 >>> Proposed Purchase Order with a quantity = 10 >>> >>> Plastic Door Handles >>> Facility: 10030 >>> Minimum Stock: 10 >>> Proposed Purchase Order with a quantity = 10 >>> >>> Hardboard Door >>> Facility: 10030 >>> Minimum Stock: 10 >>> Proposed Purchase Order with a quantity = 10 >>> >>> but no requirements for manufacturing orders concerning the product >>> door >>> .... >>> >>> Is my mistake the door product type ? I also used another type as >>> Finished >>> good, even if is not my >>> goal, but I reached the same result ....... >>> >>> thanks >>> Nico >>> >>> >>> Jacopo Cappellato-3 wrote: >>>> >>>> Hi Nico, >>>> >>>> in its current (pretty basic) implementation of the facility group >>>> support, you have to create a facility group: >>>> * with a facility associated as WAREHOUSE: used by the MRP for >>>> inventory levels >>>> * and with a facility associated as PLANT: used by the MRP when it >>>> generates requirements for manufacturing orders >>>> >>>> If you need something more complex you'll have to enhance the code >>>> (MrpServices.java, around lines 610-650) >>>> >>>> Jacopo >>>> >>>> PS: the above suggestions are for the TRUNK version, not the >>>> release >>>> 4... you'll have to verufy how they can be applied to release 4 if >>>> you >>>> really want to use it... however you should really think to use the >>>> trunk >>>> >>>> >>>> On Jul 10, 2008, at 11:08 PM, nico61 wrote: >>>> >>>>> >>>>> Hi, >>>>> >>>>> I have create a set of Facility, one of them is used to receive >>>>> raw >>>>> material, the second is used to manufacture product >>>>> and the last to ship products. >>>>> >>>>> So, I created a Facility Groups to which I assigned the three >>>>> facilities, >>>>> giving respectively a progressive sequence number. >>>>> Then I execute a MRP session giving as input only the Facility >>>>> Group >>>>> item. >>>>> >>>>> Thank very much >>>>> Nico >>>>> >>>>> >>>>> >>>>> >>>>> Jacopo Cappellato-3 wrote: >>>>>> >>>>>> how is your facility group setup? >>>>>> >>>>>> Jacopo >>>>>> >>>>>> On Jul 10, 2008, at 5:40 PM, nico61 wrote: >>>>>> >>>>>>> >>>>>>> I'm trying to execute a MRP session using a Facility Group >>>>>>> instead >>>>>>> of a >>>>>>> Facility, but the system returns to me the following error >>>>>>> "facilityId and >>>>>>> manufacturingFacilityId cannot be null". >>>>>>> >>>>>>> Regards >>>>>>> Nico >>>>>>> -- >>>>>>> View this message in context: >>>>>>> http://www.nabble.com/MRP-using-Facility-Group-tp18385564p18385564.html >>>>>>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> -- >>>>> View this message in context: >>>>> http://www.nabble.com/MRP-using-Facility-Group-tp18385564p18391935.html >>>>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>>>> >>>> >>>> >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/MRP-using-Facility-Group-tp18385564p18399146.html >>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>> >> >> >> >> > > -- > View this message in context: http://www.nabble.com/MRP-using-Facility-Group-tp18385564p18399700.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > smime.p7s (3K) Download Attachment |
I just try to modified my BOM and now the MRP process running correctly.
I just another question. In my BOM, I use a configurable product with two configurable options ( finished good ) and I have the following problems: a) I don't see in the related order the associated products b) if it's possible to avoid the creation of production run How should organize my BOM (and relative process) , if I need to use external resources? Nico
|
Free forum by Nabble | Edit this page |