How the Account Generator Works
- A server-side PL/SQL function calls the Account Generator process to create an account. This function can be called from a form or from C or PL/SQL programs. This function takes several input arguments: the structure number of the key flexfield structure for which the combination is to be generated, and the values for all the item attributes that must be set before starting the workflow process.
- The Account Generator process creates a combination using the values of the attributes and the function activities.
- The function returns a value of TRUE if the Account Generator ends in success, and a value of FALSE otherwise. If the function ends in success, the function also returns the code combination ID, concatenated segments, concatenated IDs, and concatenated descriptions as output parameters.