The scheme of CU 80 and 90 needed.

Maria-S
Member Posts: 90
Hello experts! Happy New Year to all!
I am now start digging in the CU 80 and 90 to understand more deeply what happens there. It seems very complicated.
Maybe there is already exist a nice picture or scheme that shows what these CUs doing?
Please, kindly advise where I can get it. Otherwise I will be creating my own till the end of time ))
Thanks for your attention.
I am now start digging in the CU 80 and 90 to understand more deeply what happens there. It seems very complicated.
Maybe there is already exist a nice picture or scheme that shows what these CUs doing?

Please, kindly advise where I can get it. Otherwise I will be creating my own till the end of time ))
Thanks for your attention.
0
Comments
-
This is discussed in Mark Brummel's book: https://www.packtpub.com/microsoft-dyna ... esign/book .
But as he writes on page 83The codeunit also has the Test Near, Test Far, Do it and Cleanup strategy so the first code is to make sure that everything is in place before the actual posting starts. Let's have a look at how this codeunit is structured.
The Sales-Post codeunit is too long to discuss in detail. We will focus on the most important parts and learning how to read this type of code routines.No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0 -
Thank you for the quick answer, Luc.it's a long story
Actually, I will have a job interview soon, and I've heard that they ask questions like "What happens in CU 80?". I need to be ready. So... will dig until get tired0 -
There is also a discussion in the Development II course material about how to write your own posting codeunit. They cover all of the same things, it's just that Codeunits 80 and 90 take it to another level. The course material is a great introduction to what is happening.0
-
Thank you, mattrax.0
-
Maria-S wrote:Thank you for the quick answer, Luc.it's a long story
Actually, I will have a job interview soon, and I've heard that they ask questions like "What happens in CU 80?". I need to be ready. So... will dig until get tired
And are you sure that they expect answer like "in CU 80 there is function this and this and func1 is doing this and func2 is doing that..." or just "in CU 80 sales documents are posted..."... ;-)0 -
Hello kine!
It was funnyAs I intended, I started to dig into the CU 80. In the beginning I was digging really deep, I checked all the unknown fields and functions that I met in the code... But after some time I've got tired and find myself only on PostJobContractLine line of code, that is less that one third of all code in CU80. Then I realized that if I want to finish before the end of universe, I need to be more relaxed and less in-detail.
So the remaining part of CU I just scrolled down to identify what happens in general.
And are you sure that they expect answer like "in CU 80 there is function this and this and func1 is doing this and func2 is doing that..." or just "in CU 80 sales documents are posted..."...
In CU 80 sales documents are posted.
First of all the program tests everything (like customer is not blocked, all neseccary fields are filled).
Then it creates posted headers.
Then, if there are lines with type "Resource" of "FA", it creates Job, Res, or FA entries. If line type is "Item", it creates ILE entry (by calling appropriate posting routine).
Then posted lines are created;
Then G/L and VAT entries are created by creating gen journal lines and posting them.
Then Customer Ledger Entries are created.
Then old sales lines and header are modified or deleted;
Then Inventory Adjustment takes place if needed.
The last thing that CU80 does is update Analysis View.
BTW, how to become real consultant, if I am just a developer, who can just read technical specs and code according to them?
My first step is to switch to the firm that has its own consultants, and see what they are and what they need to be. My current firm workes as partner for the partners, and we have not own consultants at all.0 -
Maria-S wrote:
BTW, how to become real consultant, if I am just a developer, who can just read technical specs and code according to them?
My first step is to switch to the firm that has its own consultants, and see what they are and what they need to be. My current firm workes as partner for the partners, and we have not own consultants at all.
I think that step one is to realize that it is not free in terms of money or time. You say you wont pay for learning materials. How stupid is that. Marks book may have saved you many many hours of study, yet the cost would be less than an hour of your lost time.
False economies wont help you, and in the future how will it help you customers if you are advising them to do like you do, and they save $1.00 but it ends out costing them $5.00David Singleton0 -
Hello David!I think that step one is to realize that it is not free in terms of money or time. You say you wont pay for learning materials. How stupid is that. Marks book may have saved you many many hours of study, yet the cost would be less than an hour of your lost time.
Than you for advise0 -
Maria-S wrote:Sorry for misleading you, I actually already spent some money on education purposes, mean I passed three NAV exams by my own costs.
What has passing exams got to do with learning Navision? :-k
I have not yet read Marks book, but I know Mark, and am certain that if he wrote a book, then it will help anyone that reads it.David Singleton0 -
Anyway, it is very good that you want to make the effort to learn Navision. the starting point is to learn about posting and processing documents.
Start by learning everything there is to know about posting invoices inventory etc.
use Navigate to analyze what was posted.David Singleton0 -
Even the Development II documentation have part about the posting codeunits where is written that there are some parts of the process like far test, near test etc...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