Modify the value

BHT
Member Posts: 56
Hi all,
Does anyone know the way to put a value to sales invoice header?
I add new field to the sales invoice header. But I cannot put any value into it. The message not have permission always appear.
Thanks
Does anyone know the way to put a value to sales invoice header?
I add new field to the sales invoice header. But I cannot put any value into it. The message not have permission always appear.
Thanks
Regards,
BHT
BHT
0
Comments
-
You mean I have to change the property permission on that code unit?
I've tried it but when I try to compile then this message appear
"You do not have permission to modify records in Sales Invoice Header Table. Contact the system manager if you need to have your permission changed".
Or you mean something else about codeunit permissions?
Regards
BHTRegards,
BHT0 -
This is probably because you're not licensed as a ApplicationBuilder or SolutionDeveloper.0
-
PrebenRasmussen,
I do have license for solution developer from NTR NSSEA as I've complete the course. But you mention about license for ApplicationBuilder. Is there any license like this? I never heard it before.
How can I have this license?
Tks.
BHTRegards,
BHT0 -
Most likely it is as simple as making sure the FieldNumber is in the range your license allows (50000 up).
John0 -
Hi,
Could you please explain in detail way,from where you are trying to modify the Sales Invoice header table,what about the user id and permissions,did you enter in to the database as Superuser ? Just like all other tables you can modify the Sales invoice header table.if you explain your problem little bit clear then we can help you...
Mohan0 -
Hi Mohan,
Here I explain to you.
I add new field in Sales Invoice Header table (Table No 112) with field number 50000.
Then I create a code unit to fill some value into field number 50000.
When I run the code unit then I don't have permission to modify the value. As advice from Alexey I change the code unit permission. But it didn't work. Then I change the permission on the table. This worst. I can't save it. The message always the same "not have permission".
So, does anyone have another idea for me?
Tks
BHT.Regards,
BHT0 -
Hi,
Have a look at the Code Units 314,315.. .Those Codeunits are calling from some places like Sales Invoice report.but in those Codeunits on Run Properties you can see the Permissions of Sales Invoice Header Table and Sales Shipment Header Table.These codeunits are just used to update the No. Printed of Sales Invoice Header or Sales Shipment Header.But in On Run Trigger Properties they have used the Permissions,i hope if you give the permissions like this your problem may be solved.
Does any one Know about those properties ???
Mohan0 -
Another solution is to create the field on the Sales Header table with the exact same number of data type. Navision will transfer the value automatically durring posting.
Bill Benefiel
NCPS,NCSD
Manager of Information Systems
Overhead Door Company of Indianapolis
billb@ohdindy.comBill Benefiel
NCPS,NCSD
Manager of Information Systems
Overhead Door Company of Indianapolis
billb@ohdindy.com0 -
All you need to do is give the Codeunit permission to modify the Sales inv. Header table.
Open the Codeunit in design veiw, go to properties then permissions and add the table for read and modify!
MindSource (UK) Limited
Navision Service Partner
david@mindsource.co.uk
info@mindsource.co.uk0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions