ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
|||
|
|||
Content table
Hi,
I have a question on racks. Normally, when it enters a box to the rack, automatically adds 1 to the variable content to the rack. My question is: How can I do to that on entering a box on the rack, do not add one in the variable contenttable? Thanks. |
#2
|
|||
|
|||
Hi Juan,
I am not sure why you want to do that, but it is possible on the OnEntryTrigger to set the value back with 1. The following code written OnEntry of the warehouserack can do this: //----------------------------------------- // Set content table 1 back on entry of item. treenode ContentTable = getvarnode(current,"contenttable"); int Bay = rackgetbayofitem(current, item); int Level = rackgetlevelofitem(current, item); settablenum(ContentTable, Bay, Level, gettablenum(ContentTable, Bay, Level ) - 1 ); //----------------------------------------- |
The Following User Says Thank You to Dirk-Jan For This Useful Post: | ||
Rachid Kolfin (10-19-2009) |
Thread | Thread Starter | Forum | Replies | Last Post |
Starting content in the Queue | Bartosz Misiurek | Q&A | 4 | 10-04-2009 02:25 PM |
Can I make a column of a global table to type table? | qin tian | Q&A | 0 | 10-01-2008 09:27 PM |
Batch/Max Content | Gavin Douglas | Q&A | 4 | 07-09-2008 12:28 AM |
School table | asid_amin_o | Q&A | 10 | 02-25-2008 03:57 AM |
How to get interval average,max,etc of a queue content ? | qin tian | Q&A | 5 | 02-14-2008 10:11 PM |