G/L Posting Dates
qngo
Member Posts: 58
Is there any way to get a customization that will change the "Allow Posting From" date and "Allow Posting to" to automatically change? Currently we are manually changing the date range everyday on a 4 day range at the most for weekends. We were having problems with people posting to the wrong dates, so we restricted the posting dates everyday.
Thanks [-o<
Thanks [-o<
0
Comments
-
You can make a change in codeunit 1.
You can try the function CompanyOpen
The code shoud look like thisGLSetup.get; GLSetup."Allow Posting From" := workdate -1; GLSetup."Allow Posting To" := workdate + 4; GLSetup.MODIFY;
0 -
qngo wrote:Is there any way to get a customization that will change the "Allow Posting From" date and "Allow Posting to" to automatically change? Currently we are manually changing the date range everyday on a 4 day range at the most for weekends. We were having problems with people posting to the wrong dates, so we restricted the posting dates everyday.
Thanks [-o<
Sure it can be autmated but you will have to think of on two issues.
1) there is no "server date/time" except you have NAS and you declare NAS client date/time as "server date/time". For example if somebody changes NAS "date/time" to year 2010. you will block everybody in their job.
2) only NAS (at least in this moment) is capable to do some automation jobs like scheduled jobs... maybe there are other solutions but they are surely more complicated than doing this on NAS. Do you have NAS enabled?0 -
Mark Brummel wrote:You can make a change in codeunit 1.
You can try the function CompanyOpen
The code shoud look like thisGLSetup.get; GLSetup."Allow Posting From" := workdate -1; GLSetup."Allow Posting To" := workdate + 4; GLSetup.MODIFY;
One user with wrong workdate can mess-up everything than, I'm afraid...0 -
Yes, this is true.
But if you have 'less capable' users you can also block changing of the workdate and even chaning the system time on your windows machine. It's just a matter of how far you want to go.0 -
Mark Brummel wrote:Yes, this is true.
But if you have 'less capable' users you can also block changing of the workdate and even chaning the system time on your windows machine. It's just a matter of how far you want to go.
Murphy's law... somethin' will/can always go wrong.
If I make sure that "allow range" for posting date is always correct impact to system (regarding dates) will probably be smaller.0 -
Thanks for all the replies, but after speaking to a co-worker, we would prefer to make this automatic to the User's Setup. Is this still possible?
Thanks0 -
qngo wrote:Thanks for all the replies, but after speaking to a co-worker, we would prefer to make this automatic to the User's Setup. Is this still possible?
Thanks
As I can see in help, settings in user setup Are "greater" than in g/l setup, which means, yes, you Can setup allow dates in user setup table in same way that Mark told you for g/l setup.0 -
though, I recommend testing on test database, ofcourse
0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
