Obligatory Moniker's Blog

2011/02/19

How to copy a function in Dynamics NAV C/Side

Filed under: C/AL,C/Side,Dynamics NAV,Navision — obligatorymoniker @ 12:34 am
Tags: , ,

From the Functions list right click on the bar to the right and click copy, select a new blank line, and click paste.

I know, dead simple right? Some times it helps to have these things out there as it’s easy to miss that this is possible in C/Side.

2010/02/22

Foreach in CAL

Filed under: C/AL,Dynamics NAV,Navision — obligatorymoniker @ 10:09 am
Tags: ,

So when I go to do this again I will have something to refer back to:

WITH r_RecordVariableName DO BEGIN
  // SetFilters and SetRanges
  IF FIND('-') THEN BEGIN
    REPEAT
      ForEachRecordDoThis();
    UNTIL NEXT = 0;
  END;
END;

Theme: Rubric. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.