hi all
I just curious
as long as my experience in NAV, using customer license , we can't modify posted table (e.g : Cust ledger entry)
but yesterday I discussed, someone said that several fields in cust ledger entry can be modified. such as : Due date
can someone enlighten me about this?
whatever suggestion and opinion
Thanks before
0
Comments
there is a codeunit for this. "Cust. Entry - Edit". It has the permissions to do so. You can't edit it with a customer license, though.
with best regards
Jens
hi jens,
do you mean change this code?
or change permission properties?
thanks
you can't change the object with a customer license. Or most customer licenses, to be more precise. If the customer license has the "C/AL" granule, you can.
with best regards
Jens
Jens,
understand.
but according to this code which is this part I should allow to change Due Date in this table if open = yes
I tried but also there is an error message "you dont have the following permission on table data cust ledger entry : modify"
The code is correct. The codeunit has the permission to modify the customer ledger entry. Code in this codeunit will have the rights to do it (or anything else regarding this table, within the rights).
with best regards
Jens
use On Hold field
I cant modify it
The object is what needs the permission to modify the object. The user is only granted "Indirect" permission.
does it means only from posting routines?
if it is so.. lets say i post invoice, now this record already in cust ledger entry
now i want to change this due date
how do i do that?
Any object that needs to execute CRUD commands against a protected table would require these permissions.