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: ROUTEATC: ROUTE

ATC: ROUTE routelist; option This command alters the route of the current document. routelist is required. It specifies the routing to be applied to the document. The routelist can contain

ATC: ADDRATC: ADDR

ATC: ADDR target-addr -type source- addr -type This command sets the target address in the target document based on the specified source address type in the source document. target-addr-type is

ATC: GETATC: GET

ATC: GET KEY dataPK  | [doctype] project document supplemental; WITH option This command loads a document. After this command, the loaded document is selected as the current document so that