Year: 2012
CODEUNIT.RUN #3
All good things come in threes, as they say. So here is 3. Codeunit 50000:OnRun()ShipMethod.INIT;ShipMethod.INSERT;ShipMethod.INSERT; // This duplicate statement has been put here intentionally Codeunit 50001:OnRun()IF CODEUNIT.RUN(50000) THEN MESSAGE(‘OK’)ELSE MESSAGE(‘LASTERRORTEXT: %1’, GETLASTERRORTEXT); First “from the bare head”, but test it in NAV! Both in classic and RTC. For the latter: easiest:…
ISV Insert Rights Available for NAV 2013 Licenses
Application Test Toolset for Microsoft Dynamics NAV 2013 – Available Now
Just to spread the news I am copying Simon Ejsing’s announcement on mibuso: simonejsing Post subject: Test Toolset for NAV 2013 – 9000 tests for freePosted: Mon Nov 05, 2012 2:31 pm As announced at Directions US 2012, Microsoft recently released the Application Test Toolset for Microsoft Dynamics NAV…
NAV2013 Beta to RTM – Some Striking Code Changes #8: IF-THEN-ELSE
This last item in my NAV2013 Beta to RTM – Some Striking Code Changes series is addressing code changes NAV core team made to get IF-THEN-ELSE statements coding standards compliant. If you read the Microsoft Dynamics NAV 2009 Developer and IT Pro Documentation on IF-THEN-ELSE, and also on the use of…
NAV2013 Beta to RTM – Some Striking Code Changes #7: CASE Layout
Although the coding standards are unambiguous about the layout of CASE statements, there has always been practiced an alternative flavor. Both within MS and outside. This is the standard syntax: And this is the alternative flavor: Note that: the alternative is only used when the statement following the value set…
NAV2013 Beta to RTM – Some Striking Code Changes #6: Redundant BEGIN … END
Read with me what the Microsoft Dynamics NAV 2009 Developer and IT Pro Documentation phrases on BEGIN/END, i.e. compound, statement: In some cases, the C/AL syntax only allows you to use a single statement. If however you have to execute more than one simple statement, the statements can be written…
NAV2013 Beta to RTM – Some Striking Code Changes #5: Calling Functions wo Parameters
On NAV 2013 Licenses – Part 2 | Add-on Ranges
NAV2013 Beta to RTM – Some Striking Code Changes #4: Redundant Record References
CODEUNIT.RUN #3
All good things come in threes, as they say. So here is 3. Codeunit 50000:OnRun()ShipMethod.INIT;ShipMethod.INSERT;ShipMethod.INSERT; // This duplicate statement has been put here intentionally Codeunit 50001:OnRun()IF CODEUNIT.RUN(50000) THEN MESSAGE(‘OK’)ELSE MESSAGE(‘LASTERRORTEXT: %1’, GETLASTERRORTEXT); First “from the bare head”, but test it in NAV! Both in classic and RTC. For the latter: easiest:…
ISV Insert Rights Available for NAV 2013 Licenses
Application Test Toolset for Microsoft Dynamics NAV 2013 – Available Now
Just to spread the news I am copying Simon Ejsing’s announcement on mibuso: simonejsing Post subject: Test Toolset for NAV 2013 – 9000 tests for freePosted: Mon Nov 05, 2012 2:31 pm As announced at Directions US 2012, Microsoft recently released the Application Test Toolset for Microsoft Dynamics NAV…
NAV2013 Beta to RTM – Some Striking Code Changes #8: IF-THEN-ELSE
This last item in my NAV2013 Beta to RTM – Some Striking Code Changes series is addressing code changes NAV core team made to get IF-THEN-ELSE statements coding standards compliant. If you read the Microsoft Dynamics NAV 2009 Developer and IT Pro Documentation on IF-THEN-ELSE, and also on the use of…
NAV2013 Beta to RTM – Some Striking Code Changes #7: CASE Layout
Although the coding standards are unambiguous about the layout of CASE statements, there has always been practiced an alternative flavor. Both within MS and outside. This is the standard syntax: And this is the alternative flavor: Note that: the alternative is only used when the statement following the value set…
NAV2013 Beta to RTM – Some Striking Code Changes #6: Redundant BEGIN … END
Read with me what the Microsoft Dynamics NAV 2009 Developer and IT Pro Documentation phrases on BEGIN/END, i.e. compound, statement: In some cases, the C/AL syntax only allows you to use a single statement. If however you have to execute more than one simple statement, the statements can be written…