Settablenum function can't work in Pull Requirement trigger

Settablenum function can't work in Pull Requirement trigger

johnson23905
Not applicable
32 Views
2 Replies
Message 1 of 3

Settablenum function can't work in Pull Requirement trigger

johnson23905
Not applicable

[ FlexSim 18.0.10 ]

Hello everyone,

I want to realize a material flow when queue pull item from source,the number of global table "demand" first row first col will reduce 1.

19583-code.png

Although it will pull items according to number of "demand",the number of demand won't reduce.I don't know where the problem is, please help to solve it.

Thank you very much! Best regards.

0 Likes
Accepted solutions (1)
33 Views
2 Replies
Replies (2)
Message 2 of 3

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

Please swap the source code lines. No code lines are executed AFTER an executed return statement. It is totally independent on the block curled braces.

Message 3 of 3

johnson23905
Not applicable

Thanks!It really helps a lot!

0 Likes