Hi,
I am Planning to learn navision. I am trying to understand navision codeunit s. First i focused one Codeunit 12. I completed some part. Mean while I have some doubts . So iam plaing here > so Please provide u r solulition & suggestions.
I am Learning this on demo databse of Navision SP1 Version
I want & need to learn navision , Understand Navision Coding.
Please encourage me , and provide u r valuable suggestions.
My Doubts:
1. why CU 12 has a function GET GL Reg,But it didnot use any where.
Why navision assigned like this NewGlReg := GLreg.
already u have G/L register.
2.U have two Functions Run with check, Run without check.
navision didnot use Run without check function any where. why ?
thanks and regards
reema
0
Comments
Once you have the register it used in other variables as assignment.
So you can keep the previous values to compare to.
2. Run function is not used anywhere, and this is because of historical reasons.
In 3.x version they added dimension functionality. So every journal that was passed to the posting routine CU 12 requires the dimensions. The onRun takes only 1 parameter, and so they added a new function runwithcheck.
They kept the code on run that way for backward compatibility.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n