Previous  Next          Contents  Index  Navigation    Library

Direct Mapping at the Line Level

This example shows how to set up a direct mapping of transferring transaction data from a column in the Oracle Receivables table RA_CUSTOMER_TRX_LINES into the Oracle Sales Compensation table CN_TRX_LINES, and finally move it into the table CN_COMMISSION_LINES where it is available for use in the Sales Compensation system. CN_TRX_LINES contains information typically found at the line level of detail in an Oracle Receivables document--such as product ordered, quantity, and price.

For example, suppose that you want to move the information in column LINE_TYPE in the RA_CUSTOMER_TRX_LINES table in Oracle Receivables into Oracle Sales Compensation. To accomplish this, the data is first moved into one of the 15 attribute columns in the Oracle Sales Compensation intermediate table CN_TRX_LINES; from there it is moved into the appropriate table, CN_COMMISSION_LINES.

Oracle Sales Compensation moves information from the CN_TRX_LINES attribute columns to the attribute columns in the CN_COMMISSION_LINES table by matching the value in a column called the User Column Name. The first part of the mapping procedure, therefore, consists of defining the User Column Name for the Oracle Sales Compensation tables CN_TRX_LINES and CN_COMMISSION_LINES on the Tables and Columns form. Table 2 illustrates the source and destination tables and columns for the mapping.

Table 2: Source and Destination Tables and Columns for Direct Mappingfrom Oracle Receivables to Oracle Sales Compensation at the Line Level.

Receivables Source Table Receivables Source Column Name Not Applicable
RA_CUSTOMER_TRX_LINES LINE_TYPE  
Intermediate Sales Compensation Table Destination Intermediate Sales Compensation Table Column Destination Intermediate Sales Compensation Table User Name Column
CN_TRX_LINES ATTRIBUTE1 AR_LINE_TYPE
Destination Sales Compensation Table Destination Sales Compensation Table Column Name Destination Sales Compensation Table User Name Column
CN_COMMISSION_LINES ATTRIBUTE2 AR_LINE_TYPE

   To define direct mapping at the line level:

Attention: The name you type in the User Column Name field is your name for the column, and this name must NOT be the same as the system name for the column. If you are bringing in transaction information into the ATTRIBUTE1 field, then the name in the User Column Name field must NOT be ATTRIBUTE1.

   To collect the transaction data according to the mappings you just defined:

Note: For more information on running the Concurrent Manager, see the Oracle Applications User's Guide.


         Previous  Next          Contents  Index  Navigation    Library