ATC: SELECTATC: SELECT

ATC: SELECT option This command selects either the source document or the new document as the current document. Most commands affect the current document. option is required; however, only one

ATC: SEQATC: SEQ

ATC: SEQ s  TO | CC | ANY user-list VIA m option(s)  This command allows the due date and other options for routees to be set. It does not work with

ATC: SETATC: SET

ATC: SET tablename.fieldname = value This command sets a specified field on the current document to the value specified. tablename is optional; however, if it is omitted, the Document Header

ATC: SETHTMLATC: SETHTML

ATC: SETHTML tablename.fieldname = new-value This command is similar to the ATC: SET command but maintains any HTML formatting of the text value expressed in the command. The text editor

ATC: STATUSATC: STATUS

ATC: STATUS statuscode This command sets the status code on the current document to the value specified.  This command is the same as ATC: SET STATUS = statuscode is required.

ATC: EXIT LOOPATC: EXIT LOOP

ATC: EXIT LOOP This command exits the current ATC: FOREACH loop. It is usually used within an ATC: IF block. Example ATC: FOREACH DocAttachedFile BY CheckOutStatus WITH CheckOutStatus <> 'H'

ATC: ENDLOOPATC: ENDLOOP

ATC: ENDLOOP This command marks the bottom of a loop and returns to the start of the loop if there are additional iterations remaining. Example ATC: FOREACH DocItem BY DocItemNumber WITH

ATC: FOREACHATC: FOREACH

ATC: FOREACH table  state BY sortfield WITH filter; This command begins a block of commands that will repeat once for each row in the specified table (that matches the filter).

ATC: ENDIFATC: ENDIF

ATC: ENDIF This command marks the end of an IF block that starts with ATC: IF. Examples ATC: IF SourceDocNo = NULL ATC: SET SourceDocNo = DocNo ATC: ENDIF The

ATC: ELSEATC: ELSE

ATC: ELSE This command can be used for an IF/ELSE situation, with ATC: IF. It indicates the ATC commands to be used when the ATC: IF command evaluates to false.