RE: [development-axapta] Re: Warehouses in Master Planning

2004-06-16 Thread Amit Jain

queryAddSortField method in inventdimparm table is the key.

>From here master scheduling process controls that fields configid, color, size and 
>warehouse should be considered for the master scheduling. In case u want master 
>schedule should not consider configId then u have to modify this method by searching 
>the value which is used for configID. At least i can tell u that it uses value of x 
>as 4 for the Batch ID field.

Happy master planning

cheers



Harry Deshpande <[EMAIL PROTECTED]> wrote: Hi Yifat



InventDim inventDimSearch;



inventDimSearch.inventlocatoinid = InventDim::find(_reqPo.CovInventDimId)..InventDimId;



reqTransBOM.CovInventDimId = InventDIm::findorcreate(inventdimsearch).InventDimId;



this should solve ur problem. Since I am typing from memory, the above may have some 
typos.



Regards



harry



  _  

From: Yifat Halili [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 15 June 2004 10:40 p.m.
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [development-axapta] Re: Warehouses in Master Planning



Hi Harry,



I need some more help please...

We are thinking of using item dimensions i.e. size and colour...

The problem comes in where I am using the code that you gave me. 

The code populates the item dimensions for the raw material by looking at the item 
dimensions of the finished goods. I understand why it happens BUT, is there a way for 
the code to only populate the warehouse, and not all the dimensions?? 





Thanks in advance...



Yifat





From: Deshpande, Harry [mailto:[EMAIL PROTECTED] 
Sent: 21 April 2004 04:21
To: '[EMAIL PROTECTED]'
Subject: RE: [development-axapta] Re: Warehouses in Master Planing



hi Yifat,



this is a one line modification.



change method 'createBOM' on table 'reqTrans'. Put the following line somewhere in the 
'Search' loop inside this method (say when the quantity is assigned to the BOM.)



reqTransBOM.CovInventDimId  =  _reqPo.CovInventDimId;



this should solve your problem



regards



harry



  
  --- In [EMAIL PROTECTED], "yifath1" 
  <[EMAIL PROTECTED]> wrote:
  > Hi there,
  > 
  > The problem occurs when you run the master scheduling, it populates 
  > the warehouse for the production order, but it does not populate 
  the 
  > warehouse for the raw material. For our solution to work (for our 
  > client) we need to be able to run master planning... there is no 
  > problem when creating manual production, but this is not the an 
  > option at the moment.
  > 
  > Thanks
  > Yifat
  > 
  > 
  > --- In [EMAIL PROTECTED], "Theissen, Annette" 
  > <[EMAIL PROTECTED]> wrote:
  > > Does your problem only occur when creating a Production from 
  > MasterPlan but
  > > not when creating a Production directly?
  > >  
  > > 
  > > -Ursprüngliche Nachricht-
  > > Von: mud_mullet [mailto:[EMAIL PROTECTED]
  > > Gesendet: Freitag, 16. April 2004 16:24
  > > An: [EMAIL PROTECTED]
  > > Betreff: [development-axapta] Re: Warehouses in Master Planing
  > > 
  > > 
  > > I looked at her Discussion And your reply but i am pritty sure 
  > that 
  > > the changes are not made on the Table they need to be Made in one 
  > of 
  > > the classes that are used Maybe the reqcalc Class but im not sure 
  > > where
  > > --- In [EMAIL PROTECTED], "Theissen, Annette" 
  > > <[EMAIL PROTECTED]> wrote:
  > > > Hi Jason,
  > > >  
  > > > seems like you're working on the same as Yifat does. Why don't 
  > you 
  > > have a
  > > > look at the mails titled "Produce the same BOM in 2 independent 
  > > warehouses".
  > > >  
  > > > Bye, Annette
  > > >  
  > > > 
  > > > Mit freundlichen Grüßen / Best regards 
  > > > Dipl. Phys. Annette Theißen
  > > > System Software Entwicklung
  > > > __
  > > > Viscom AG - Carl-Buderus-Str. 9-15 - D-30455 Hannover
  > > > Phone: +49/511/94996-0 - Fax: +49/511/94996-900
  > > > mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  -
  > > > http://www.viscom.de <http://www.viscom.de>  < 
  > http://www.viscom.de/
  > > <http://www.viscom.de/> >  
  > > > 
  > > > -Ursprüngliche Nachricht-
  > > > Von: mud_mullet [mailto:[EMAIL PROTECTED]
  > &g

RE: [development-axapta] Re: Warehouses in Master Planning

2004-06-15 Thread Harry Deshpande




Hi Yifat

 

InventDim inventDimSearch;

 

inventDimSearch.inventlocatoinid = InventDim::find(_reqPo.CovInventDimId).InventDimId;

 

reqTransBOM.CovInventDimId = InventDIm::findorcreate(inventdimsearch).InventDimId;

 

this should solve ur problem. Since I am typing from memory, the above may have some typos.

 

Regards

 

harry

 

  _  

From: Yifat Halili [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 15 June 2004 10:40 p.m.
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [development-axapta] Re: Warehouses in Master Planning

 

Hi Harry,



I need some more help please...

We are thinking of using item dimensions i.e. size and colour...

The problem comes in where I am using the code that you gave me. 

The code populates the item dimensions for the raw material by looking at the item dimensions of the finished goods. I understand why it happens BUT, is there a way for the code to only populate the warehouse, and not all the dimensions?? 





Thanks in advance...



Yifat





From: Deshpande, Harry [mailto:[EMAIL PROTECTED] 
Sent: 21 April 2004 04:21
To: '[EMAIL PROTECTED]'
Subject: RE: [development-axapta] Re: Warehouses in Master Planing



hi Yifat,



this is a one line modification.



change method 'createBOM' on table 'reqTrans'. Put the following line somewhere in the 'Search' loop inside this method (say when the quantity is assigned to the BOM.)



    reqTransBOM.CovInventDimId  =  _reqPo.CovInventDimId;



this should solve your problem



regards



harry



  
  --- In [EMAIL PROTECTED], "yifath1" 
  <[EMAIL PROTECTED]> wrote:
  > Hi there,
  > 
  > The problem occurs when you run the master scheduling, it populates 
  > the warehouse for the production order, but it does not populate 
  the 
  > warehouse for the raw material. For our solution to work (for our 
  > client) we need to be able to run master planning... there is no 
  > problem when creating manual production, but this is not the an 
  > option at the moment.
  > 
  > Thanks
  > Yifat
  > 
  > 
  > --- In [EMAIL PROTECTED], "Theissen, Annette" 
  > <[EMAIL PROTECTED]> wrote:
  > > Does your problem only occur when creating a Production from 
  > MasterPlan but
  > > not when creating a Production directly?
  > >  
  > > 
  > > -Ursprüngliche Nachricht-
  > > Von: mud_mullet [mailto:[EMAIL PROTECTED]
  > > Gesendet: Freitag, 16. April 2004 16:24
  > > An: [EMAIL PROTECTED]
  > > Betreff: [development-axapta] Re: Warehouses in Master Planing
  > > 
  > > 
  > > I looked at her Discussion And your reply but i am pritty sure 
  > that 
  > > the changes are not made on the Table they need to be Made in one 
  > of 
  > > the classes that are used Maybe the reqcalc Class but im not sure 
  > > where
  > > --- In [EMAIL PROTECTED], "Theissen, Annette" 
  > > <[EMAIL PROTECTED]> wrote:
  > > > Hi Jason,
  > > >  
  > > > seems like you're working on the same as Yifat does. Why don't 
  > you 
  > > have a
  > > > look at the mails titled "Produce the same BOM in 2 independent 
  > > warehouses".
  > > >  
  > > > Bye, Annette
  > > >  
  > > > 
  > > > Mit freundlichen Grüßen / Best regards 
  > > > Dipl. Phys. Annette Theißen
  > > > System Software Entwicklung
  > > > __
  > > > Viscom AG - Carl-Buderus-Str. 9-15 - D-30455 Hannover
  > > > Phone: +49/511/94996-0 - Fax: +49/511/94996-900
  > > > mailto:[EMAIL PROTECTED]   -
  > > > http://www.viscom.de <http://www.viscom.de>  < 
  > http://www.viscom.de/
  > > <http://www.viscom.de/> >  
  > > > 
  > > > -Ursprüngliche Nachricht-
  > > > Von: mud_mullet [mailto:[EMAIL PROTECTED]
  > > > Gesendet: Freitag, 16. April 2004 15:24
  > > > An: [EMAIL PROTECTED]
  > > > Betreff: [development-axapta] Warehouses in Master Planing
  > > > 
  > > > 
  > > > Hi all 
  > > > 
  > > > I have independent warehouses that really produce, purchase and 
  > > sell 
  > > > items. However, the item master and bills are shared between 
  the 
  > > > warehouses i.e. item Z is manufactured in

RE: [development-axapta] Re: Warehouses in Master Planning

2004-06-15 Thread Amit Jain

Select coverage by item dimensions in the item dimension group for each corresponding 
dimensions like warehouse.

That way your requirements would be scheduled according to the warehouse 

 

Regards

Amit Jain 

EIS, India



Yifat Halili <[EMAIL PROTECTED]> wrote: Hi Harry,



I need some more help please...

We are thinking of using item dimensions i.e. size and colour...

The problem comes in where I am using the code that you gave me. 

The code populates the item dimensions for the raw material by looking at the item 
dimensions of the finished goods. I understand why it happens BUT, is there a way for 
the code to only populate the warehouse, and not all the dimensions?? 





Thanks in advance...



Yifat





From: Deshpande, Harry [mailto:[EMAIL PROTECTED] 
Sent: 21 April 2004 04:21
To: '[EMAIL PROTECTED]'
Subject: RE: [development-axapta] Re: Warehouses in Master Planing



hi Yifat,



this is a one line modification.



change method 'createBOM' on table 'reqTrans'. Put the following line somewhere in the 
'Search' loop inside this method (say when the quantity is assigned to the BOM.)



reqTransBOM.CovInventDimId  =  _reqPo.CovInventDimId;



this should solve your problem



regards



harry



  
  --- In [EMAIL PROTECTED], "yifath1" 
  <[EMAIL PROTECTED]> wrote:
  > Hi there,
  > 
  > The problem occurs when you run the master scheduling, it populates 
  > the warehouse for the production order, but it does not populate 
  the 
  > warehouse for the raw material. For our solution to work (for our 
  > client) we need to be able to run master planning... there is no 
  > problem when creating manual production, but this is not the an 
  > option at the moment.
  > 
  > Thanks
  > Yifat
  > 
  > 
  > --- In [EMAIL PROTECTED], "Theissen, Annette" 
  > <[EMAIL PROTECTED]> wrote:
  > > Does your problem only occur when creating a Production from 
  > MasterPlan but
  > > not when creating a Production directly?
  > >  
  > > 
  > > -Ursprüngliche Nachricht-
  > > Von: mud_mullet [mailto:[EMAIL PROTECTED]
  > > Gesendet: Freitag, 16. April 2004 16:24
  > > An: [EMAIL PROTECTED]
  > > Betreff: [development-axapta] Re: Warehouses in Master Planing
  > > 
  > > 
  > > I looked at her Discussion And your reply but i am pritty sure 
  > that 
  > > the changes are not made on the Table they need to be Made in one 
  > of 
  > > the classes that are used Maybe the reqcalc Class but im not sure 
  > > where
  > > --- In [EMAIL PROTECTED], "Theissen, Annette" 
  > > <[EMAIL PROTECTED]> wrote:
  > > > Hi Jason,
  > > >  
  > > > seems like you're working on the same as Yifat does. Why don't 
  > you 
  > > have a
  > > > look at the mails titled "Produce the same BOM in 2 independent 
  > > warehouses".
  > > >  
  > > > Bye, Annette
  > > >  
  > > > 
  > > > Mit freundlichen Grüßen / Best regards 
  > > > Dipl. Phys. Annette Theißen
  > > > System Software Entwicklung
  > > > __
  > > > Viscom AG - Carl-Buderus-Str. 9-15 - D-30455 Hannover
  > > > Phone: +49/511/94996-0 - Fax: +49/511/94996-900
  > > > mailto:[EMAIL PROTECTED]   -
  > > > http://www.viscom.de   < 
  > http://www.viscom.de/
  > >  >  
  > > > 
  > > > -Ursprüngliche Nachricht-
  > > > Von: mud_mullet [mailto:[EMAIL PROTECTED]
  > > > Gesendet: Freitag, 16. April 2004 15:24
  > > > An: [EMAIL PROTECTED]
  > > > Betreff: [development-axapta] Warehouses in Master Planing
  > > > 
  > > > 
  > > > Hi all 
  > > > 
  > > > I have independent warehouses that really produce, purchase and 
  > > sell 
  > > > items. However, the item master and bills are shared between 
  the 
  > > > warehouses i.e. item Z is manufactured in all warehouses with 
  > > > components that sit in the warehouse where it is produced.
  > > > 
  > > > Once i create demand for the same item to be produced in 
  > warehouse 
  > > 1 
  > > > and warehouse 2, i run master planning which creates production 
  > > and 
  > > > purchases orders for the correct items. However, the warehouse 
  > for 
  > > > the components of the the BOM is not populated.
  > > > 
  > > > 
  > > > Any Help would be Greatly Appreciated
  > > > Thanks in Advance 
  > > > Jason
  > > > 
  > > > 
  > > > 
  > > >   _  
  > > > 
  > > > Yahoo! Groups Links
  > > > 
  > > > 
  > > > *  To visit your group on the web, go to:
  > > > http://groups.yahoo.com/group/development-axapta/
  > > 

RE: [development-axapta] Re: Warehouses in Master Planning

2004-06-15 Thread Yifat Halili




Hi Harry,

 

I need some more help please...

We are thinking of using item dimensions i.e. size and colour...

The problem comes in where I am using the code that you gave me. 

The code populates the item dimensions for the raw material by looking at the item dimensions of the finished goods. I understand why it happens BUT, is there a way for the code to only populate the warehouse, and not all the dimensions?? 

 

 

Thanks in advance...

 

Yifat

 



From: Deshpande, Harry [mailto:[EMAIL PROTECTED] 
Sent: 21 April 2004 04:21
To: '[EMAIL PROTECTED]'
Subject: RE: [development-axapta] Re: Warehouses in Master Planing

 

hi Yifat,

 

this is a one line modification.

 

change method 'createBOM' on table 'reqTrans'. Put the following line somewhere in the 'Search' loop inside this method (say when the quantity is assigned to the BOM.)

 

    reqTransBOM.CovInventDimId  =  _reqPo.CovInventDimId;

 

this should solve your problem

 

regards

 

harry

 

  
  --- In [EMAIL PROTECTED], "yifath1" 
  <[EMAIL PROTECTED]> wrote:
  > Hi there,
  > 
  > The problem occurs when you run the master scheduling, it populates 
  > the warehouse for the production order, but it does not populate 
  the 
  > warehouse for the raw material. For our solution to work (for our 
  > client) we need to be able to run master planning... there is no 
  > problem when creating manual production, but this is not the an 
  > option at the moment.
  > 
  > Thanks
  > Yifat
  > 
  > 
  > --- In [EMAIL PROTECTED], "Theissen, Annette" 
  > <[EMAIL PROTECTED]> wrote:
  > > Does your problem only occur when creating a Production from 
  > MasterPlan but
  > > not when creating a Production directly?
  > >  
  > > 
  > > -Ursprüngliche Nachricht-
  > > Von: mud_mullet [mailto:[EMAIL PROTECTED]
  > > Gesendet: Freitag, 16. April 2004 16:24
  > > An: [EMAIL PROTECTED]
  > > Betreff: [development-axapta] Re: Warehouses in Master Planing
  > > 
  > > 
  > > I looked at her Discussion And your reply but i am pritty sure 
  > that 
  > > the changes are not made on the Table they need to be Made in one 
  > of 
  > > the classes that are used Maybe the reqcalc Class but im not sure 
  > > where
  > > --- In [EMAIL PROTECTED], "Theissen, Annette" 
  > > <[EMAIL PROTECTED]> wrote:
  > > > Hi Jason,
  > > >  
  > > > seems like you're working on the same as Yifat does. Why don't 
  > you 
  > > have a
  > > > look at the mails titled "Produce the same BOM in 2 independent 
  > > warehouses".
  > > >  
  > > > Bye, Annette
  > > >  
  > > > 
  > > > Mit freundlichen Grüßen / Best regards 
  > > > Dipl. Phys. Annette Theißen
  > > > System Software Entwicklung
  > > > __
  > > > Viscom AG - Carl-Buderus-Str. 9-15 - D-30455 Hannover
  > > > Phone: +49/511/94996-0 - Fax: +49/511/94996-900
  > > > mailto:[EMAIL PROTECTED]   -
  > > > http://www.viscom.de   < 
  > http://www.viscom.de/
  > >  >  
  > > > 
  > > > -Ursprüngliche Nachricht-
  > > > Von: mud_mullet [mailto:[EMAIL PROTECTED]
  > > > Gesendet: Freitag, 16. April 2004 15:24
  > > > An: [EMAIL PROTECTED]
  > > > Betreff: [development-axapta] Warehouses in Master Planing
  > > > 
  > > > 
  > > > Hi all 
  > > > 
  > > > I have independent warehouses that really produce, purchase and 
  > > sell 
  > > > items. However, the item master and bills are shared between 
  the 
  > > > warehouses i.e. item Z is manufactured in all warehouses with 
  > > > components that sit in the warehouse where it is produced.
  > > > 
  > > > Once i create demand for the same item to be produced in 
  > warehouse 
  > > 1 
  > > > and warehouse 2, i run master planning which creates production 
  > > and 
  > > > purchases orders for the correct items. However, the warehouse 
  > for 
  > > > the components of the the BOM is not populated.
  > > > 
  > > > 
  > > > Any Help would be Greatly Appreciated
  > > > Thanks in Advance 
  > > > Jason
  > > > 
  > > > 
  > > > 
  > > >   _  
  > > > 
  > > > Yahoo! Groups Links
  > > > 
  > > > 
  > > > *  To visit your group on the web, go to:
  > > > http://groups.yahoo.com/group/development-axapta/
  > >  
  > > > < http://groups.yahoo.com/group/development-axapta/
  > >  > 
  > > >   
  > > > 
  > > > *  To unsubscribe from this group, send an email to:
  > > > [EMAIL PROTECTED]