You do not have permission to modify

vipulkadivipulkadi Member Posts: 13
Hello Nav Experts!

I am unable to update Purch. Rcpt. Line table from code , actually I have created new form from that i am updating filed in table and
I am facing the prob like "You do not have permission to modify records in the Purch. Rcpt. Line table."

Login id is SUPER User

My code as follows:

PurchRecpRecord."Email Sent":=TRUE;
PurchRecpRecord.MODIFY;
Can any Expert suggest how to solve this problem ??

_________________
:-k
Omens

Comments

  • kinekine Member Posts: 12,562
    Of course that you cannot. Your license will not allows you. This table have only "indirect" permissions in license, and if some code needs to change the data, someone with full permissions must assign these permissions to the object. It means you need partners license or Solution Developer license to do that.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • vipulkadivipulkadi Member Posts: 13
    Thank you sir for prompt reply....

    \:D/

    Vipul
  • vipulkadivipulkadi Member Posts: 13
    Sir,

    From where i can change the permission and you r requested to let me know is there any risk involed.

    Vipul
    [-(
  • kinekine Member Posts: 12,562
    Are you end user or partner?
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • vipulkadivipulkadi Member Posts: 13
    I m developrer and just cleared tech exams.
  • kinekine Member Posts: 12,562
    Ok, than I assume that you have another experienced co-worker who will guide you how to do that. Learn more about indirect permissions and how they works from manual.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • vipulkadivipulkadi Member Posts: 13
    Done.. its so simple form /object permission thannks

    regards,

    Omens
  • David_SingletonDavid_Singleton Member Posts: 5,479
    vipulkadi wrote:
    Done.. its so simple form /object permission thannks

    regards,

    Omens


    Yes very simple. But not so simple in a few months time when someone needs to fix the mess. :whistle:
    David Singleton
Sign In or Register to comment.