02-26-2017 02:04 PM
Hello community mates,
i've one question; as you can see from the image below
Source produce a MU called raw that enters in the dismantle station.
"TabArt" is the table of all the articles (articles "a","b" and "c") that factory can produce. "TabDom" is the customer demand (in the image above is just the article "a").
"a" must produce 4 MUs of Entity1,"b" must produce 2 MUs of Entity2 and "c" must produce 1 MUs of Entity3.
What i want to do is this (as in the method): "TabDom" will be compared with "TabArt" to understand which article has to be produced (in this case just "a").
The MU Raw enters in the Dismantle station and, in this case, will be produced two types of MUs: 4 MUs of Entity1 goes to "StoreArt" and 1 MU of Waste goes to StoreMat. Raw it's deleted.
And so on if i choose a different article in "TabDom".
I've tried to do a simple model (in attach) but it's not working.
Any help is appreciated, thank you.
Solved! Go to Solution.
02-26-2017 08:48 PM
02-27-2017 06:54 AM
it is perfectly working, thank you.
Just one question for better understanding; why ?.cont.delete after creating the MU waste?
As i know that code deletes the MU that is on the anonymous identifier ?, in this case the dismantle station.
But there is no MU after the waste one.
Thank you again
02-27-2017 09:12 AM
Hi francescopoli,
I am happy to help you.
We using the code "?.cont.delete" to delete the MU "Raw" in dismantle station.
Tao Yifei
02-27-2017 10:18 AM
Ok but how do you know you are deleting the MU raw and not another one?
02-28-2017 02:42 AM
You can execute the model or method(createmus) step by step. There is only one kind of MU(Raw) in the workstation.