Item Ledger entry Data Modify Problem.

nrapendranrapendra Member Posts: 208
hi all,

i am facing problem of data modification in item ledger entry table.
i have done some customisations whci are changing data in new fields
in item ledger entry table at the time the code execute.
at partemer licence when i chek the customisation it is working fine.
but as soon as i run it in customer liscence it is giving msg..
"you don't have permission to modify item ledger entry table"
customer is using super role.

is there any security problem or navision protects table to be modified by clients.

thanx and regards
Nrapendra Singh
(Sr. Tech. Consultant)
Dataman Computer Systems (P) Ltd.
web :www.datamannet.com
mail :nrapendra@datamannet.com

Comments

  • MbadMbad Member Posts: 344
    You need to sit down and study how the other editable fields in ledgers work and copy those. The solution involves special codeunits.
  • krikikriki Member, Moderator Posts: 9,110
    In the object that does the modification, you need to add the permission to modify the table in the Permissions-property of the object.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • kinekine Member Posts: 12,562
    Customer license has just indirect rights to the Ledger entries tables. You need to assign the "second part" of the permissions to your objects which is changing the data. Please, study more about permissions in the documentation.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • nrapendranrapendra Member Posts: 208
    which document should i refer
    Nrapendra Singh
    (Sr. Tech. Consultant)
    Dataman Computer Systems (P) Ltd.
    web :www.datamannet.com
    mail :nrapendra@datamannet.com
  • kinekine Member Posts: 12,562
    for example w1w1adg.pdf - search for indirect permissions. For example see properties of CU80, CU12 etc.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • ZMikeZMike Member Posts: 10
    kriki wrote:
    In the object that does the modification, you need to add the permission to modify the table in the Permissions-property of the object.

    \:D/ =D>
    Miguel Carvalho
  • bramdedaelebramdedaele Member Posts: 16
    kriki wrote:
    In the object that does the modification, you need to add the permission to modify the table in the Permissions-property of the object.

    Thx Kriki, this helped a lot!
    Dynamics NAV Consultant
  • Alex_ChowAlex_Chow Member Posts: 5,063
    kriki wrote:
    In the object that does the modification, you need to add the permission to modify the table in the Permissions-property of the object.

    Thx Kriki, this helped a lot!

    Just make sure you don't allow the user to modify decimal or integer fields on item ledger entries. Nothing good can arise from it. :evil:
  • bramdedaelebramdedaele Member Posts: 16
    Alex Chow wrote:
    kriki wrote:
    In the object that does the modification, you need to add the permission to modify the table in the Permissions-property of the object.

    Thx Kriki, this helped a lot!

    Just make sure you don't allow the user to modify decimal or integer fields on item ledger entries. Nothing good can arise from it. :evil:

    It's an indirect change during the posting of the Warehouse Shipment of a "Business State" field we created, so no harm done.
    Dynamics NAV Consultant
Sign In or Register to comment.