[Axapta-Knowledge-Village] Re: Not able to do RAF

2005-09-27 Thread Pritam
= Checkbox automatic addition on inventory parmaeters is checked. = Item or warehouse is not marked for quarantine. = There is no customization done. I think this is the bug as Herry and Gokhan have mentioned. When users make on Production Order with qty 70 it creates one Inventory Transaction

Re: [Axapta-Knowledge-Village] Telling the Difference

2005-09-27 Thread Harry \(Harshawardhan Deshpande
hi try args.caller() may work regards harryBrandon George [EMAIL PROTECTED] wrote: Hello All! I was wondering, how can you tell from the SalesFormLetter Class if the Class is being called by a Form, or is being called by code from another class? thanks,

RE: [Axapta-Knowledge-Village] Error Message, can someone help?

2005-09-27 Thread Harry \(Harshawardhan Deshpande
hi It will hurt performance badly. I think you will be better off logging the call with MBS support. Make sure to tell them that the problem goes away if cache property is set to None. I guess you will have to press hard to escalate the call and hopefullyit will reach someone who understands

Re: [Axapta-Knowledge-Village] Re: Not able to do RAF

2005-09-27 Thread Harry \(Harshawardhan Deshpande
hi Pritam Your conclusion is correct. Please visit my site www.systomatics.biz and read thediscussion on InventMovement class where I have (tried to)explain the logic. **In my case I think when user has deleted un-posted RAF journal child reference has not got removed.** This is a bug in

Re: [Axapta-Knowledge-Village] Re: Not able to do RAF

2005-09-27 Thread Koh Meng Chiat
Hi all, Forgive my ignorare. Can someone tell me what's RAF journal?"Harry (Harshawardhan Deshpande" [EMAIL PROTECTED] wrote: hi Pritam Your conclusion is correct. Please visit my site www.systomatics.biz and read thediscussion on InventMovement class where I have (tried to)explain the

[Axapta-Knowledge-Village] Axapta and Oracle Parallel Query Execution

2005-09-27 Thread hwimmer
Hi! We are using Axapta 3.0SP3 on an Oracle 9.2.0.4. The DB server is a dual Xeon 3.2 Ghz (so I see 4 CPU threads in task manager). Now, from time to time one of the CPU threads goes up to almost 100% and the others are still at 1-2 %. So it seems to me that Oracle does not spread it's CPU load

RE: [Axapta-Knowledge-Village] Re: Not able to do RAF

2005-09-27 Thread Christoph Malherbe
I was in the dark too. Thanks for asking. From: Axapta-Knowledge-Village@yahoogroups.com [mailto:Axapta-Knowledge-Village@yahoogroups.com] On Behalf Of Koh Meng Chiat Sent: 27 September 2005 10:03 AM To: Axapta-Knowledge-Village@yahoogroups.com Subject: Re:

[Axapta-Knowledge-Village] Productiom planning problem

2005-09-27 Thread Axa Cons
Hi all, I need your help about planning. We have defined for all products routes attached a workcenter(WC)/workcenter group (WCG) and a task group including alternative WC/WCGs. But as we prefer orders to be produced parallel we want Axapta always to use alternative WC/WCG in task groups

Re: [Axapta-Knowledge-Village] Productiom planning problem

2005-09-27 Thread Harry \(Harshawardhan Deshpande
hi if you have a task group and a work center group on a route. Axapta will always select machines in the task group. Is this not happening on your system? regards harry Axa Cons [EMAIL PROTECTED] wrote: Hi all,I need your help about planning.We have defined for all products routes attached

[Axapta-Knowledge-Village] SalesFormLetter.insertJournal()

2005-09-27 Thread Brandon George
Hello All! I am writing custom Intercompany code. The "Out of the Box" Axapta Intercompany code works nothing like my company wants it too. Not to get to much into detail here, but that is that. So I have wrote a class, and created two tables that will handle the Intercompany Sales Order

Re: [Axapta-Knowledge-Village] Productiom planning problem

2005-09-27 Thread Axa Cons
No, the situation is so : Lets assume that all capacities are free and you have enough time to produce the order on an unique WC till the delivery date. So Axapta uses always the same primary WC. But we want to use paralel production although there is enough capacity for the primary WC/WCG.

RE: [Axapta-Knowledge-Village] SalesFormLetter.insertJournal()

2005-09-27 Thread Brandon George
Ok, So here is what I did... protected void insertJournal(){; ttsbegin; numberSeq = this.allocateNumAndVoucher(); [number, voucher] = this.getNumAndVoucher(); if (this.updateNow()) { this.postUpdate();

RE: [Axapta-Knowledge-Village] SalesFormLetter.insertJournal()

2005-09-27 Thread Amit Jain
why dont you try try catch block and handle ttsbegin and ttscommit accordinglySøren Ager [EMAIL PROTECTED] wrote: Den 27. september 2005 15:26 skrev Brandon George: protected void insertJournal() {; ttsbegin; numberSeq = this.allocateNumAndVoucher(); [number, voucher] = this.getNumAndVoucher();

Re: [Axapta-Knowledge-Village] SalesFormLetter.insertJournal()

2005-09-27 Thread Subrahmanyam, Mamidi
Hello Brandon, I believe this should solve it..You can browse similar code on AOT\classedd.. ttsbegin; numberSeq = this.allocateNumAndVoucher(); [number, voucher] = this.getNumAndVoucher(); if (this.updateNow()) { this.postUpdate();

RE: [Axapta-Knowledge-Village] SalesFormLetter.insertJournal()

2005-09-27 Thread Brandon George
Sabbu, I believe you are right... that is the best approach... From: Axapta-Knowledge-Village@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Subrahmanyam, MamidiSent: Tuesday, September 27, 2005 11:31 AMTo: Axapta-Knowledge-Village@yahoogroups.comSubject: Re:

SV: [Axapta-Knowledge-Village] Axapta X++ Newbie

2005-09-27 Thread Steen Andreasen
Hi Nazrvl, I am writing a book on Axapta X++ and Morphx. End this week, one of the chapters from the book will be available for download at my website at: http://www.steenandreasen.com/axaptabook.asp Regards, Steen Moch Nasrullah [EMAIL PROTECTED] skrev: Hi all,I'm a newbie in Axapta/X++, I

RE: [Axapta-Knowledge-Village] SalesFormLetter.insertJournal()

2005-09-27 Thread John Lindsay
The ttsabort will not execute after the throw error. But after a through reading of the Axapta Transaction documentation, you will discover the true intent of the original code. This is a nested ttsbegin. The insertJournal method starts with a ttsbegin

RE: [Axapta-Knowledge-Village] SalesFormLetter.insertJournal()

2005-09-27 Thread Subrahmanyam, Mamidi
Hi John, Thank you for the nice email. But, can you tell me why there is an inbalance between ttsbegin and ttscommit levels? I understand its a nested tts . ttsabort which I put will accout for immediate ttscommit. I guess it will not account for other ttsbegin nesteded loops. May be , I

RE: [Axapta-Knowledge-Village] SalesFormLetter.insertJournal()

2005-09-27 Thread Subrahmanyam, Mamidi
Hi John, do you agree if I modify this way or do you see any problems? // ttsbegin; (comented out ) (I don;t know why MS wants to hit this ttscommit for every condition.) numberSeq = this.allocateNumAndVoucher(); [number, voucher] = this.getNumAndVoucher(); if (this.updateNow()) {

RE: [Axapta-Knowledge-Village] SalesFormLetter.insertJournal()

2005-09-27 Thread Sonny Wibawa Adi
Hi, Subbu Brandon, I think the code in SalesFormLetter.insertJournal() is correct. There is nothing wrong with the code. No matter the level or depth difference between ttsbegin and ttscommit location, Axapta will simply count the level mannually. If the total of begin transaction and total of

[Axapta-Knowledge-Village] DataStatus on inventtrans

2005-09-27 Thread James Flavell
Title: Message Hi can somebody tell me the field 'DateStatus' on inventtrans is set at what points? I am just trying to improve performance on inventtrans searchs and can see the index 'StatusItemIdx' is useful to me. Basically I want to find all the inventtrans cost for sales invoices

[Axapta-Knowledge-Village] To add or not to add an index?

2005-09-27 Thread James Flavell
Hi I have an import script that is inserting/updating info to an Axapta temp table that has about 7 fields in it. In my import script I need to go into this temp table to check if a record already exists based on three of the fields that are being imported (i.e. checking what I am importing