Hi guys!
I wonder is there any way to make navision users post only =TODAY ?
it doesn't metter from where it configure. General Ledger, User Setup, or creation Role.
I want an answer, is this possible? is fo, HOW? i think it's a simple functionality that might be in Navision.
thanks ;-)
0
Comments
There are fields "Allow posting from" and "Allow posting to". In the General Ledger Setup and in the User Setup.
The dates in the User Setup has the highest priority.
From the help:
Allow Posting From Field
The User Setup Table
Here you can enter the earliest date on which the user is allowed to post to the company.
After you enter a date, it will be impossible for the user to post to the company before that date. If you have entered a different date for the same user in the General Ledger Setup table, the date here in the Allow Posting From field in the User Setup table takes precedence.
Tino Ruijs
Microsoft Dynamics NAV specialist
I understand what you mean. But I meant another:
I can type a date in Allow posting From, for example: 04/9/2008
so what will be on 04/10/008? the users will be able to post using date 04/9/2008. i want a logical values, "TODAY" so , every day it automatically configures general ledger to restrict posting if date FALSE
Maybe you could schedule a task to change the dates in the general ledger setup each night.
Tino Ruijs
Microsoft Dynamics NAV specialist
can you say HOW ?
need I some development? scripts? tools? or it's very simple?
If GeneralLedgeretup.GET THEN
BEGIN
GeneralLedgeretup."Allow Posting From":= TODAY;
GeneralLedgeretup."Allow Posting To" :=TODAY;
GeneralLedgeretup.Modify;
END;
You will need to do some development. But I don't know yet which is the best solution..
:-k
Tino Ruijs
Microsoft Dynamics NAV specialist
NAV Freelance Consultant
when I try to create new codenuit in Object designer, it says you dont have permission
explain me how to make this code work please. can I write it in notepad and then import to Navision as fob? or how?
If you're license does not allow the modification, you have to ask your NAV-partner to do the changes.
Tino Ruijs
Microsoft Dynamics NAV specialist
Okay
thanks guys
On forms like sales orders or purchase orders we want it to keep updateing everytime you go into the order or anything else we can think of
on the form
http://www.BiloBeauty.com
http://www.autismspeaks.org
make a processing only report on table 91 User setup
I did it a while back,
update the allow from and to fields
I used today +1, because I ran it each night in the job scheduler.
User Setup - OnAfterGetRecord()
"Allow Posting From" := today +1;
"Allow Posting To" := today +1;
Modify;
Rather we play with Allow Posting from/to in the User Setup.
From here there's 2 paths, using Job Scheduler + CU, Report, etc to update pre-determined users OR using CU1 to change the date during login, also depending on license
We're in the process of trying to automatically change whatever Posting Date in whatever transactions to TODAY during posting without user intervention but it's a lot of work. Anyone has any solution?
ERP Consultant (not just Navision) & Navision challenger
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.