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 the exact same line and 
pasted. Using a condition, I dont want to stop standard posting. But when I 
call from my class, it has to run the commented line in that method. 
  I think you got my idea. Just clue me if you get any input on the same.
   
  Bye,
  Raj..
   
  
Steeve Gilbert <[EMAIL PROTECTED]> wrote:
          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 Axapta-Knowledge-Village@yahoogroups.com, "Rajkumar" 
<[EMAIL PROTECTED]> wrote:
>
> Hi All,
> 
> Can anybody tell me how to Stop GL posting using X++ Code. 
> There is a way to comment the code in post method of LedgerVoucher 
> Class. But I need that to be done in x++ code. Anybody suggest??
> 
> Regards,
> Rajkumar
>



         

       
---------------------------------
Shape Yahoo! in your own image.  Join our Network Research Panel today!

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

Reply via email to