Hi
I have a process where multiple product types run through the same processor.
These multiple types are placed in a List and Pulled to a Queue based on a calculated "Pullorder".
The Pullorder is a function of (wait time +/- some random variation) x product Priority value.
Type 2 is the middle priority, however we want to cap production of this at 20 units per month. This is despite there being more pending inventory available.
I tried to use a PF to count 20 entries of Type 2 and then adjust the Pull requirement to exclude Type 2 parts. This does not seem to have worked, although the logic and triggers activate the List Pull requirements don't seem to acknowledge the change and continue to pull based on "PullOrder".
Is there another way to achieve this mid process update and reset?
My goal is:
- Items are pulled based on "Pull Order"
- Once 20 Type 2 units are processed they are no longer pulled
- At the end of the period a reset trigger is activated so that Type 2 can be processed again until it hits its 20 limit
Thanks,
Dustin