Changing the dimension values

siimsand
Member Posts: 28
Hello!
I've created a new Code-type field in the General Ledger Setup table. I've also previously created a table "Author" for creating authors for books with all kinds of fields. There is a Code-type field "Sign", which represents the Author by "AB", "CD", etc.
1) By creating a new author with a Sign, the Code-type field in the GLS table should automatically change to be the same.
2) Also, changing the author's sign should also change the dimension sign value in the Default Dimensions page.
3) Choosing an author for created items (books), the Default Dimensions field dimension sign value should also automatically change. Removing or emptying the author field for a created book should also empty the Default Dimensions field "dimension sign value".
Any suggestions/directions, how to do this?
I've created a new Code-type field in the General Ledger Setup table. I've also previously created a table "Author" for creating authors for books with all kinds of fields. There is a Code-type field "Sign", which represents the Author by "AB", "CD", etc.
1) By creating a new author with a Sign, the Code-type field in the GLS table should automatically change to be the same.
2) Also, changing the author's sign should also change the dimension sign value in the Default Dimensions page.
3) Choosing an author for created items (books), the Default Dimensions field dimension sign value should also automatically change. Removing or emptying the author field for a created book should also empty the Default Dimensions field "dimension sign value".
Any suggestions/directions, how to do this?
0
Best Answer
-
This was not a Yes/No question.
Which functionality are you interested in?
1. A default dimension from G/L Setup field transferred to new Author?
2. The last dimension used on Author remembered in G/L Setup field?
3. A table with all unique dimensions assigned to Author record?
Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-035
Answers
-
Hi,
What is the purpose of the Code-type field in GL Setup table?0 -
allenyyzhou wrote: »Hi,
What is the purpose of the Code-type field in GL Setup table?
The purpose of it is to contain the Code-type sign of the dimension.0 -
allenyyzhou wrote: »Hi,
What is the purpose of the Code-type field in GL Setup table?
The purpose of it is to contain the Code-type sign of the dimension.
You have a lot of authors and only one record in GLS.
What is the purpose of the Code-type field in GL Setup table?0 -
Do you mean that the "Code-type field" content in the GL Setup table is supposed to keep the default value for your dimension and its content is supposed to be copied automatically FROM the G/L table TO the Author record?
From your description, it looks like the data is supposed to flow FROM the Author record (and you can have many of them) TO the G/L Setup table - where there is usually only one record. In effect, in your G/L Setup table, you would have only one dimension value remembered, and that would be the dimension entered on the most recent Author record created.
Or maybe you want to build a table where you can store all unique dimension values entered on Author record?Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
Slawek_Guzek wrote: »Do you mean that the "Code-type field" content in the GL Setup table is supposed to keep the default value for your dimension and its content is supposed to be copied automatically FROM the G/L table TO the Author record?
From your description, it looks like the data is supposed to flow FROM the Author record (and you can have many of them) TO the G/L Setup table - where there is usually only one record. In effect, in your G/L Setup table, you would have only one dimension value remembered, and that would be the dimension entered on the most recent Author record created.
Or maybe you want to build a table where you can store all unique dimension values entered on Author record?
Yes, that is exactly what I mean. But no additional tables need to be created.0 -
This was not a Yes/No question.
Which functionality are you interested in?
1. A default dimension from G/L Setup field transferred to new Author?
2. The last dimension used on Author remembered in G/L Setup field?
3. A table with all unique dimensions assigned to Author record?
Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-035 -
Slawek_Guzek wrote: »This was not a Yes/No question.
Which functionality are you interested in?
1. A default dimension from G/L Setup field transferred to new Author?
2. The last dimension used on Author remembered in G/L Setup field?
3. A table with all unique dimensions assigned to Author record?
The number 1.0
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