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]
      > > > 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/>
      > > > < 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]
      > > > <mailto:[EMAIL PROTECTED]
      > > subject=Unsubscribe>
      > > >  
      > > >
      > > > *      Your use of Yahoo! Groups is subject to the Yahoo! Terms
      > of
      > > Service
      > > > < http://docs.yahoo.com/info/terms/
      > <http://docs.yahoo.com/info/terms/> >
      > > .
      > >
      > >
      > >
      > >   _____ 
      > >
      > > 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]
      > > <mailto:[EMAIL PROTECTED]
      > subject=Unsubscribe>
      > >  
      > >
      > > *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
      > Service
      > > <http://docs.yahoo.com/info/terms/> .
     
     
     

     
________________________________


      Yahoo! Groups Links

      *      To visit your group on the web, go to:
            http://groups.yahoo.com/group/development-axapta/
             
      *      To unsubscribe from this group, send an email to:
            [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
             
      *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .



[Non-text portions of this message have been removed]






Yahoo! Groups Sponsor

ADVERTISEMENT
click here <http://us.ard.yahoo.com/SIG=129vlmkun/M=298184.5022502.6152625.3001176/D=groups/S=1705006764:HM/EXP=1087382499/A=2164339/R=0/SIG=11e2d64in/*http:/www.netflix.com/Default?mqso=60183348>

<http://us.adserver.yahoo.com/l?M=298184.5022502.6152625.3001176/D=groups/S=:HM/A=2164339/rand=285823579>



  _____ 

Yahoo! Groups Links

*      To visit your group on the web, go to:
      http://groups.yahoo.com/group/development-axapta/
       
*      To unsubscribe from this group, send an email to:
      [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
       
*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .



[Non-text portions of this message have been removed]



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to