mibuso.com

Microsoft Business Solutions online community
It is currently Thu May 23, 2013 6:12 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Ways to register lines in general journal form.
PostPosted: Tue Feb 07, 2012 10:32 pm 
Offline

Joined: Tue Feb 07, 2012 10:14 pm
Posts: 2
Country: Spain (es)
Hi,

This is my first post in this forum. I’m from Spain, and in my Enterprise we are beginning with Dynamics Nav 2009.

I have a problem when i try to register my lines in the general journal form.

I expose my problem:

I’m developing a form that will manage payrolls. When a payroll it’s ok, I fill the general journal (via code) and after, if i go to the general journal form and i push the register button, it Works correctly and i receive a Message where i'm informed that lines have been registered.

I have copied the functionality of register button (general journal form) in my payroll form (call to one code unit), and when I register the payroll, it correctly copies the lines in the general journal and after it updates to the G/L entry table, but I receive every time the message.

Is there another way to register in G/L entry table my lines that i have introduced in the general journal? Every time that i execute the register functionality in my payroll form, i receive a Message saying me that the general journal has registered every line of the journal. Is there a way to register every line of general journal without receiving this message?

Thank you very much


Top
 Profile E-mail  
 
 Post subject: Re: Ways to register lines in general journal form.
PostPosted: Sun Feb 12, 2012 1:21 pm 
Offline

Joined: Mon Mar 12, 2007 5:45 pm
Posts: 25
Location: Barcelona
Country: Spain (es)
Hi,

I think you are using condeunit 13 to register the section. I recommend you use codeunit 12. You need to take in consideration that you must delete every line you post and you have to make COMMITs to save a transaction.

If you need I have a post on my blog (spanish) that describes the ways to make this:
http://www.sergisoft.com/2011/09/registrar-asientos-contables-y-tener-el-control/

_________________

Sergi Navarro

MCTS: Microsoft Dynamics™ NAV 2009 C/SIDE Solution Development

Visit my Navision Spanish Blog here: http://www.sergisoft.com


Top
 Profile  
 
 Post subject: Re: Ways to register lines in general journal form.
PostPosted: Fri Feb 17, 2012 10:40 pm 
Offline

Joined: Sat Jan 28, 2012 4:48 pm
Posts: 56
Country: Netherlands (nl)
The messages you are talking about are generated from codeunit 231 Gen. Jnl.-Post.
One possible option is to add a boolean field to table 80 Gen. Journal Template to define which template won't show these messages when used for posting, then you check for this field in codeunit 231


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: