ATC: NEXTDOC WITH option

This command creates a document using all the NextDocFlow rules that are configured for the current Doc type. This command also allows you to override the default target Doc type and can be used multiple times, providing a way for documents of more than one Doc type to be created from a source document.

  • WITH option is optional. More than one option can be used, separated by spaces.
    • TYPE dtk specifies the Doc type for the target document where dtk can be expressed as a variable, bookmark or constant GUID.
    • BookmarkSource specifies that the document will become the source for bookmark expansion.
    • SELECT specifies that the document will become the target of SET statements and the source of alias.field evaluation and condition evaluation; effectively, this loaded document replaces the source document until the next ATC: SELECT SOURCE.

Examples

ATC: NEXTDOC WITH SELECT

The above example means create a new document, as if the user clicked on the “create next” command in the document header drop down menu.



Last updated: August 27, 2019 at 7:34 am ; green text = new

Related Post

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: ADD COMMENTATC: ADD COMMENT

ATC: ADD COMMENT description This command adds a comment/remark to the current target document. description is required. The freeform description can be any text and can include spaces Note: to format