Standard Flexfield Workflow

The Standard Flexfield Workflow item type provides special function activities for generating and validating key flexfield code combinations. These functions are in addition to the predefined Workflow activities described in the Oracle Workflow documentation. Also, your product may provide you with product-specific Account Generator functions. See the product-specific documentation for details on these additional functions.

The Standard Flexfield Workflow only provides you with function activities you can use to customize your own Account Generator workflow. The Standard Flexfield Workflow does not contain any attributes or processes to run. The following is a description of each of the Standard Flexfield Workflow function activities.

Start Generating Code Combination

This function is used as the start activity of the top-level process that generates the code combination, and should be used only in the top-level process. It should not be used as a start activity of any subprocess the top level process may invoke. This function should be marked as a "Start" activity after copying it to the process window. This function does not have any attributes.

The Workflow Engine uses this function to get values from the calling form or program for attributes ("input attributes") that are used to build the combination.

Note: Do not use the Oracle Workflow Standard Start activity as the start activity of a top-level Account Generator process. The Account Generator may need to obtain attribute values that cannot be obtained using the Standard Start activity.

Assign Value to Segment

This function assigns a value to a specific segment of the combination. This function has the following attributes:

Copy Segment Value from Code Combination

This function copies a segment value from a given code combination to the combination that is being generated. This function has the following attributes:

Copy Segment Value from Other Structure Code Combination

This function copies a segment value from a given code combination of a different accounting flexfield structure to the combination that is being generated. This function has the following attributes:

Copy Values from Code Combination

This function copies all the values from a given code combination to the combination that is being generated. If you set the "Replace existing value" attribute to "False", you can use this function to copy values from a default code combination to segments without values. This function has the following attributes:

Get Value from Code Combination

This function retrieves a segment value from a given code combination and assigns it to an attribute of the current workflow item. This function has the following attributes:

Get Value from Other Structure Code Combination

This function retrieves a segment value from a given code combination of another accounting flexfield structure and assigns it to an attribute of the current workflow item. This function has the following attributes:

Is Code Combination Complete?

This function checks to see if values have been assigned to all segments in the code combination. This function returns "True" if all segments have values and "False" if one or more segments do not have values. This function has the following attribute:

Validate Code Combination

This function validates the code combination that has been generated. It has the following attributes:

Abort Generating Code Combination

This function is used to end the Account Generator process when a fatal error occurs. An error message in the encoded format is passed to the function and that message is displayed in the calling form or program. This function should be marked as an "End" activity and should return a value of "Failure".

End Generating Code Combination

This function ends the top level process of the account generation, after the combination has been generated and validated. This function should normally follow immediately after the Validate Code Combination activity. This function should be marked as an "End" activity and should return a value of "Success". It does not have any attributes.

For the functions listed above with the attributes Segment Identifier and Segment, "Qualifier" refers to the segment qualifier name that appears in the Qualifier window, for example, "GL_BALANCING". The segment "Name" refers to the Name specified in the Segments window. For information on segments, segment qualifiers, and validation see the following sections:

Related Topics