Showing results for 
Search instead for 
Do you mean 
Reply

Table file that ships parts using a method

Hi Everyone,

 

I am trying to use a method to move parts from my warehouse to my customer (in this case is a buffer called Customer) using a table file called shipping schedule. I would like to move a quantity of parts to the customer but I am having a hard time writing the method could someone please help. I will attach some screen shots of the shipping schedule and the method I am trying to use.

 

Thanks in advance!

 

Kbohara14

3 REPLIES

Re: Table file that ships parts using a method

Hi!

 

Here's an example. You did not tell which version do you use, so here's a screenshot and a model in v.12

Note that the table should be sorted by date, otherwise scheduling will not word correctly. That's why I sort in in Init method.

 

 

Regards, Vladimir.

Re: Table file that ships parts using a method

Hello Vladimir,

 

Thank you for your response, it worked perfectly!

 

I apoligize I am using version 12.01. 

 

I have another question...After I ship parts to my customer I want my assembly line to be triggered to build from a build schedule, is this possible?

 

Again thank you!

 

Kbohara14

 

Re: Table file that ships parts using a method

Sure, you can call a control, which would either open/close entrance to certain object (EntranceLocked attribute) or create a new part ".MUs.Entity.create(Station1)" depending on what is more convenient.
Regards, Vladimir.