Priyank, are you sure you want to use Profit/loss journal to include the opening inventory in the system. I feel using Movement journal is a more appropriate one to include the opening inventory. It would be better if other people also gives their opinions on which journal to be used.
--- "Subrahmanyam, Mamidi" <[EMAIL PROTECTED]> wrote: > Hi Priyanka, > > You need to assign the inventdim programatically if > you have to attach inventdim. I remeber Girish > posted some sample code in the past.. > > the code looks like below... > > Tablename yourTable; > InventDim inventDim; > > ; > inventDim.clear(); > > inventDim.configId = 'configid' // coming from > external source like flat file; > inventDim.inventLocationId = 'your ware > house';//coming from external source like flat file; > > your can attach your InventDimId to yor table like > this > > yourTable.inventDimId = > InventDim::findorcreate(inventDim).InventDimId; > > > this is just for your info....Please browse the > forum for the more details . > > thanks, > subbu > > > > > > > > > > > Priyank Krishna <[EMAIL PROTECTED]> wrote: > I have to upload the Profit & Loss Inventory Journal > for initialising the item stock on-hand in a fresh > system. I tried it to upload with sample code > mentioned in your site.The code is fabulous but I > could not upload Inventory Journal since there is > InventDim Datasource is attached additionally with > its transactions form. Pls help how to tackle it. > > Thanks in advance ! > > Priyank > > > > --------------------------------- > Enjoy this Diwali with Y! India Click here > > Sharing the knowledge on Axapta. > > > > SPONSORED LINKS > Business finance course Business to business finance > Small business finance Business finance consultant > Business finance magazine Business finance schools > > --------------------------------- > YAHOO! GROUPS LINKS > > > Visit your group "Axapta-Knowledge-Village" on > the web. > > To unsubscribe from this group, send an email > to: > > [EMAIL PROTECTED] > > Your use of Yahoo! Groups is subject to the > Yahoo! Terms of Service. > > > --------------------------------- > > > > > --------------------------------- > Yahoo! FareChase - Search multiple travel sites in > one click. ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com ------------------------ Yahoo! Groups Sponsor --------------------~--> Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/kGEolB/TM --------------------------------------------------------------------~-> Sharing the knowledge on Axapta. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Axapta-Knowledge-Village/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/