Previous  Next          Contents  Index  Navigation  Glossary  Library

Using the Account Generator in Oracle Order Entry / Shipping

The Account Generator in Oracle Order Entry/Shipping utilizes Oracle Workflow. You can view and customize Account Generator processes through the Oracle Workflow Builder. See: .

Oracle Order Entry / Shipping inserts a Cost of Goods Sold Accounting Flexfield combination (COGS Account) for each inventory transaction line into Oracle Inventory via the Inventory Interface program. You can use the COGS Account as a basis for cost of goods sold analysis in Oracle Inventory.

The Account Generator dynamically creates a COGS Account to transfer from Order Entry / Shipping to Oracle Inventory for each order and return line when it completes the Inventory Interface cycle action. You can customize the default process to make your cost of goods sold analysis more meaningful.

You can customize the use of the Account Generator in Order Entry / Shipping, or you can use the default. The default process does not require any set up. The Account Generator default process for Order Entry/Shipping builds the COGS Account using the Cost of Sales Account for the item and organization for each inventory transaction line and inserts the COGS Account into Oracle Inventory via the Inventory Interface program.

Attention: If your organization does not use the Inventory Interface, you do not need to use this feature.

See Also

Decide How to Use the Account Generator

In Release 10, several Oracle Applications products used FlexBuilder to derive account code combinations for certain account transactions. In Release 11, FlexBuilder is replaced by the Account Generator to provide implementation teams with even greater flexibility and a better user interface with Oracle Workflow.

If you are upgrading from Release 10 and used FlexBuilder, then you should perform the equivalent of this setup step as part of your upgrade. See the FlexBuilder chapter of the Oracle Applications Upgrade Preparation Manual for more information.

If you are implementing Oracle Order Entry/Shipping for the first time, you need to review how Order Entry/Shipping uses the Account Generator to build Accounting Flexfield code combinations. Consider whether the default Account Generator process is appropriate for each set of books that uses a unique Accounting Flexfield structure. For each structure and set of books, you can choose one of the following:

This decision determines which setup steps your implementation team needs to perform.

Prerequisites to Using the Account Generator

Before using the Account Generator on a production database in Order Entry/Shipping to create a COGS Account, you must:

See Also

The Default Account Generator Process for Oracle Order Entry/Shipping

Customizing the Account Generator for Oracle Order Entry/Shipping

The Default Account Generator Process for Oracle Order Entry/Shipping

Evaluate whether the default Account Generator process meets your accounting requirements. No setup steps are required to use the default. The default process can also be updated later as your needs change. You can make minor changes to the default process without changing the name.

Note: If you used FlexBuilder in Release 10 but did not customize the default configuration, you can use the default Account Generator process in Release 11, which gives you the same result as the default assignments in FlexBuilder.

Each Account Generator workflow is called an item type. Order Entry/Shipping comes with the following Account Generator item type:

The Generate Cost of Goods Sold Account contains the following workflow processes:

Generate Default Account Process

The Generate Default Account Process consists of six unique activities to comprise the six activity nodes that appear in the workflow diagram.

In the workflow diagram shown below, the process activity nodes are numbered for reference in the descriptions that follow. (The numbers are not part of the process diagram.)

Start Generating Code Combination (Node 1)

This is a standard activity that marks the start of the process.

Get CCID for a Line (Node 2)

Step 2 determines a value that is used by node 3 and node 6 to derive the Account CCID. The derivation of this value cannot be achieved using Oracle Workflow functions. Instead, a SQL procedure is used to derive the COGS Account CCID for a line regardless of the option flag.

If the function executes successfully (gets a CCID), the process branches to node 3. If an error is encountered during execution of the function, the function branches to node 6.

Copy Values from Code Combinations (Node3)

This is a standard function that copies all the segment values from a given code combination to the combination that is being generated. This function has two attributes:

Validate Code Combination (Node 4)

This is a standard function which executes after node 3. This function validates the code combination that has been generated and has two attributes:

End Generating Code Combination (Node 5)

This standard function is called to end the Generate Default Account process. This function is marked as the End activity.

Abort Generating Code Combination (Node 6)

This standard function is invoked when a fatal error occurs. This function has one attribute:

Generate Account Using FlexBuilder Rules Process

If you used FlexBuilder in a previous release to generate account combinations, you can use the Generate Account Using FlexBuilder Rules process to replicate your FlexBuilder setup automatically, without changing any of your predefined FlexBuilder Rules, and without customizing the Account Generator. The Generate Account Using FlexBuilder Rules process includes a function generated during your upgrade from Release 10 to Release 11.

If you are upgrading from Release 10, follow the guidelines in the FlexBuilder chapter of the Oracle Applications Upgrade Preparation Manual.

See Also

Customizing the Account Generator for Oracle Order Entry/Shipping

Oracle Order Entry/Shipping provides default Account Generator processes for you to use. If the defaults do not satisfy your accounting requirements, you can use the Oracle Workflow Builder to customize the default processes or create a new one.

If you want to create a new process to meet your company's needs, use the Oracle Workflow Builder to create a new process, or copy the existing default and change the name before making extensive changes to it.

For more information on the generic features and functions of the Account Generator, see the Customizing the Account Generator section of the Oracle Applications Flexfields Guide.

For more information on how to use the Oracle Workflow Builder, see the Oracle Workflow Guide.

See Also

Customizing the Account Generator

Customization Example

In Order Entry/Shipping you can modify the Default Account Generator process. You can use the default Functions or you can define your own Functions, Lookup Types, and Lookup Codes if required.

You must test any modified Account Generator process before using it on a production database.

A Sample Customization to the Default Process

Suppose you want the COGS Account to use many of the segment values from the COGS Account that you have defined for each inventory item. You have several order types, but the majority of your orders use the Domestic and International order types. In the case of domestic orders, you want the COGS Account to convey some information about the primary salesperson for the line. Occasionally, your company processes international orders, in which case you want to include some different account segment values for the COGS Account. For any other order types, you simply want all segments to come from the COGS Account for each order line inventory item.

In this example, suppose you have a COGS Account with a five-segment structure.

Segment Number Segment Name Potential Sources
1 Company COGS account for the Line OR
Salesrep revenue account OR
International company segment
2 Cost Center COGS account for the Line OR
Salesrep revenue account OR
International cost center segment
3 Account COGS account for the Line
4 Product COGS account for the Line
5 Sub-Account COGS account for the Line

The first two segments of the COGS Account structure are for the company and the cost center. You need to create a Workflow function that states under which circumstances the Account Generator should generate the first two segments based on the other segments. If the order type is Domestic, then fill in values from the sales representative's Revenue Account in the first two segments. In the case of International Orders, fill in the values from the COGS Account for the International order type.

The Account Generator takes the combination of segments for an order or return line and passes it to Oracle Inventory through the Inventory Interface program.


         Previous  Next          Contents  Index  Navigation  Glossary  Library