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 Evaluation IS NULL;
     ATC: SET @.Evaluation = P
ATC: ENDLOOP

The above example means “for each Item with no evaluation yet, and in Item Number order, set the Evaluation field to P (Pending).”


Last updated: September 19, 2017 at 11:25 am; 

Related Post

ATC: SAVEATC: SAVE

ATC: SAVE WITH options This command saves the current document. Errors during the save are catch-able (see ATC: CATCH). You can specify WITH followed by these options (space separated): Release – Releases

ATC: ASSIGNATC: ASSIGN

ATC: ASSIGN role TO who ON project This command assigns a specified role to a specific user, optionally for specific projects. role is required. The role must exist in the