Re: [Axapta-Knowledge-Village] Re: Stop GL posting using X++ Code

2007-06-20 Thread RAJKUMAR
Hi Steeve, Actually I wanna try stopping GL posting from Class LedgerVoucher method Post. I have just commented a line for not posting.Actually I have written my own class for posting, wheneveer I call my custom class this line in post method(commented) should be called and I have copied

Re: [Axapta-Knowledge-Village] Re: Stop GL posting using X++ Code

2007-06-20 Thread sreenath reddy
Hi Raj, As per my understanding, i think u have commented some code in ur ledgervoucher class method which will stop ledger transactions. But when u r running from ur class, it should execute the commented code as well - right? 1)Best way is to write a condition check in ur ledgervoucher class

[Axapta-Knowledge-Village] Re: Stop GL posting using X++ Code

2007-06-19 Thread Steeve Gilbert
I'm not quite sure what you want to acheive here. Can you simple add throw error(posting stopped) code? Or do you want a multi- threading window that let you cancel the posting WHILE it is running? The last is quite a challenge in Axapta. regards, Steeve... --- In