Hello
It looks like weekends Mibuso is really quiet, so I was thinking that maybe we should create some open ended question or discussion.
For example, CU 80 should be split into 2 codeunits. One that would do shipping and one that would do invoicing. Just like transfer orders.
Ahmed Rashed Amini
Independent Consultant/Developer
blog:
https://dynamicsuser.net/nav/b/ara3n0
Comments
http://www.BiloBeauty.com
http://www.autismspeaks.org
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Actually you can control permission at codeunit as well as form, report level. It's just that In standard navision, the ALL role as CU,Form,report, object ID of 0, so they have access to ll the forms, CU, form, etc.
Also we are getting sidetracked, on the topic. I guess nobody thinks it's a bad idea.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
RIS Plus, LLC
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
RIS Plus, LLC
Actually, I tried to find a better solution, but failed. CU80 needs to reserve a Posting No. and it needs to be committed, no other way. And if the posting fails, there is no way to make the automatic rollback procedure delete the Posting No. Maybe I should play around with advanced "exception handling" (like IF Codeunit.RUN(80, .... ) THEN... )
Yeah, but then you would need to individually customize the rights to the codeunits.
Wouldn't you have to change and create your own permissions based on Navision objects as opposed to tables?
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Umm... Did that sound like sarcasm? :-k
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
One benefit I can see is that this will allow the user to analyze and create modifications a lot faster since there are less codes to go over.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
Just joking, splitting of codeunits 80 and 90 is a great Idea, there are several codeunits like this that could be split up!
Mobile: +44(0)7854 842801
Email: david.cox@adeptris.com
Twitter: https://twitter.com/Adeptris
Website: http://www.adeptris.com
Did Navision expect addons to write their own CU 80?
Dead Lizard
No it wasn't sacastic. It was a quick answer, didn't have time.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Seems like you have a lot of ideas for Navision. Have you tried applying for a job at Microsoft? (not sarcasm)
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
Well with 3 tiered system, everything will be done at the server, if you put the IIS and sql server on the same box.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
They would still be 2 different processes competing for system resources. This is much more inefficient than putting the functions directly in the database.
But whether it's running in separate threads in same process, or separate processes, they both will compete for system resources.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
RIS Plus, LLC
actually I did just weeks before and now pondering the opportunity, but I think I would feel bad working at a huge company with all the procedures and rules and no space for individual creativity... maybe if they offer something really cool I'll consider it, but I generally think that small partners offer much better joy of working...
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
The CLR is the Common Language Runtime, and is not part of SQL Server or Visual Studio, but the .NET framework. When you install the .NET framework, you have the whole CLR.
RIS Plus, LLC
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n