Restrict user for future data entry

jaiverma2k2jaiverma2k2 Member Posts: 112
We are running NAV 5.0, is there any other way to restrict the user for future data entry.

Regards,
Jai Verma
Regards,
Jai Verma

Comments

  • kapamaroukapamarou Member Posts: 1,152
    Other than what?
    Have you tried Roles and Permissions?
  • krikikriki Member, Moderator Posts: 9,110
    [Topic moved from 'Navision Financials' forum to 'NAV/Navision Classic Client' forum]
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • David_SingletonDavid_Singleton Member Posts: 5,479
    You can set the posting From To dates to stop them posting if this is what you mean.
    David Singleton
  • jaiverma2k2jaiverma2k2 Member Posts: 112
    i want to set the workin date as a "posting to" date so if they intentially select the future work date then only they can do the posting otherwise the system should not accept further data of working date.

    pleaes suggest.
    Regards,
    Jai Verma
  • dinhdinh Member Posts: 4
    Hi Jai,
    Why do you want to restrict user for future data entry? What are your requirements when restricting user for data entry?
    Sure, setting up the Roles and Permissions can perfectly do the job. But sometimes, like in my current project, one might want to prevent users from modifying the master data and posted data outside the business logics of the application model.
    To do this I just put an ERROR('') in every OnInsert, OnModify, OnDelete and OnRename triggers of the specified tables. The codes for every transactions must go then through the functions like NewRec, ModifyRec and DeleteRec which are written for every table in the application model.
    I know this is not the standard Navision coding and your future codes using these functions won't be as fast and easy. Hence, the strength of C/AL in Navision is that you can make a transaction almost everywhere you want to. This is my way to avoid future data inconsistencies and also to prevent developers from socalled cowboy- and spaghetti codings.
    I hope this might help you.
    Chuong Dinh
  • SavatageSavatage Member Posts: 7,142
    You can set the posting From To dates to stop them posting if this is what you mean.
    :thumbsup:
Sign In or Register to comment.