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. It specifies the value of the Status Code. This value is stored in xsfDocHeader.status; no validation is performed until the next SAVE.
  • Status Codes are set up through the Code Maintenance tool. Examples of codes might be:
    • O = Open
    • C = Closed
    • A = Approved
    • X = Canceled
    • OB = Out for Bid
    • BB = Bid Back

Example

ATC: STATUS X

The above example means “make the status equal to Canceled.”

Important Note:  Avoid using workflow embedded in a route sequence “to Spitfire” to change the document status to special statuses that require validation (such as committed or approved).  These workflows are triggered AFTER the user has sent the document on and any failure will not return the document to the user.

Last updated: September 1, 2020 at 21:59 pm;  

Related Post

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: ADD WBCODEATC: ADD WBCODE

ATC: ADD WBCODE costcode description |  FROM projectid  LIKE mask This command adds one or more cost codes to the project identified by the current target document. No save is required. This command is

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.