hi Yifat
 
Hope u have taken care of location etc. Since you are copying the InventDimId, the location,batch etc assigned to the finished goods will be copied over to the raw material.
 
Perhaps what u can do as follows: (typing from memory, spelling mistakes are possible)
 
in the declaration section declare something like
 
InventDim    inventDimHarry;
 
where you have inserted the new line put
 
inventDimHarry.inventLocationId = InventDim::find(_reqPo.covInventDimId).inventLocationId;
reqTransBOM.covInventDimId = InventDim::findorcreate(inventDimHarry).inventDimId;
 
regards
 
harry
-----Original Message-----
From: yifath1 [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 6:56 PM
To: [EMAIL PROTECTED]
Subject: [development-axapta] Re: Warehouses in Master Planing

Hi Harry

YOU are brilliant!
thank you so much.
Exactly what we were trying to do!
I will sleep tonight.

Thanks
Yifat & Team


--- In [EMAIL PROTECTED], "Deshpande, Harry"
<[EMAIL PROTECTED]> wrote:
> 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> >  <
> > 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/> >
> > > > < 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/
> > < 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/>
> > > < 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

Reply via email to