Sie sind auf Seite 1von 10

SLA Supporting Reference

There is a business requirement to provide additional information from AR


module in GL JE Lines DFF fields. Following additional AR Information are
required in CCL JE Lines table.
Invoice Number
Invoice Line Number
Invoice Date
VAT Code
Customer Name
Customer Country Code
Customer Tax Registration Number
Transaction Account Class
Transaction Tax Rate
Transaction Type
Solution:

Oracle's SLA Supporting Reference functionality is used to capture


above information from AR transaction tables at the time of AR create
accounting is done.
A custom PL/SQL function named
"CCLAR_FUNCTIONS_PKG.get_trx_line_tax_code" is created, to be used
as a custom source to provide VAT code from AR tables to SLA table.
This custom source is used in SLA Supporting Reference setup.
A set of custom PL/SQL functions are created in a package called
"CCL_SLA_FUNCTIONS_PKG" to read the supporting information from
SLA tables for each GL JE line.
CCL_JOURNALS_V view is modified to expose above additional
information from SLA table in attribute columns of GL JE Lines, using
the custom functions.

CCL_JOURNALS_V attribute mapping will be done as follows same as SSSAP


mapping:
Name

Attribute

Custom Function

Transaction Number

ATTRIBUTE1

CCL_SLA_FUNCTIONS_PKG.get_supt_ref_trx_number

Transaction Line
Number

ATTRIBUTE2

CCL_SLA_FUNCTIONS_PKG.get_supt_ref_trx_line_nu
m

Transaction Date

ATTRIBUTE7

CCL_SLA_FUNCTIONS_PKG.get_supt_ref_trx_date

Transaction VAT Code

ATTRIBUTE6

CCL_SLA_FUNCTIONS_PKG.get_supt_ref_tax_code

Name

Attribute

Custom Function

Customer Name

ATTRIBUTE4

CCL_SLA_FUNCTIONS_PKG.get_supt_ref_customer_
name

Customer Country
Code

ATTRIBUTE1
4

CCL_SLA_FUNCTIONS_PKG.get_supt_ref_cust_count
ry

Customer Tax
Registration Number

ATTRIBUTE5

CCL_SLA_FUNCTIONS_PKG.get_supt_ref_trx_cust_ta
x_id

Transaction Account
Class (Not Used
anymore)

ATTRIBUTE1
6

CCL_SLA_FUNCTIONS_PKG.get_supt_ref_trx_accoun
t_class

Transaction Tax Rate

ATTRIBUTE3

CCL_SLA_FUNCTIONS_PKG.get_supt_ref_trx_line_tax
_rate

Transaction Type

ATTRIBUTE9

CCL_SLA_FUNCTIONS_PKG. get_supt_ref_trx_type

The Attributes of the Setup are:

Group Name

Detail Code

Attribute Name

CCL_AR_SUPPORTING
_REF_CM_GR1

CCL_AR_CM_TRX_N
UMBER

Transaction
Number

CCL_AR_SUPPORTING
_REF_CM_GR1

CCL_AR_CM_TRX_D
ATE

Transaction Date

CCL_AR_SUPPORTING
_REF_CM_GR1

CCL_AR_CM_CUST
OMER_NAME

Customer Name

CCL_AR_SUPPORTING
_REF_CM_GR1

CCL_AR_CM_CUST_
COUNTRY

Customer Country
Code

CCL_AR_SUPPORTING
_REF_CM_GR2

CCL_AR_CM_TRX_L
INE_NUMBER

Transaction Line
Number

CCL_AR_SUPPORTING
_REF_CM_GR2

CCL_AR_CM_TRX_T
AX_CODE

Transaction VAT
Code

CCL_AR_SUPPORTING
_REF_CM_GR03

CCL_AR_CM_CUST
OMER_TAX_ID

Customer Tax
Registration
Number

CCL_AR_SUPPORTING

CCL_AR_CM_TRX_T

Transaction Type

Event
Class
Credit
Memo
Credit
Memo
Credit
Memo

Credit
Memo

Credit
Memo
Credit
Memo
Credit
Memo

Credit
Memo

Source
Name
Credit Memo
Number
Credit Memo
Date
Credit Memo
Bill To
Customer
Name
Credit Memo
Bill To
Customer
Country
Credit Memo
Line Number
CCL_AR_TAX
_CODE
Credit Memo
Bill To
Customer
Site Use Tax
Reference
Credit Memo

Group Name

Detail Code

Attribute Name

Event
Class

Source
Name

_REF_CM_GR03

YPE

CCL_AR_SUPPORTING
_REF_CM_GR04

CCL_AR_CM_LINE_T
AX_RATE

Transaction Tax
Rate

CCL_AR_SUPPORTING
_REF_DM_GR1
CCL_AR_SUPPORTING
_REF_DM_GR1

CCL_AR_DM_TRX_
NUMBER

Transaction
Number

Debit Memo

Transaction
Number

CCL_AR_DM_TRX_
DATE

Transaction Date

Debit Memo

Transaction
Date

CCL_AR_DM_CUST
OMER_NAME

Customer Name

Debit Memo

Bill To
Customer
Name

CCL_AR_DM_CUST_
COUNTRY

Customer Country
Code

Debit Memo

Bill To
Customer
Country

CCL_AR_SUPPORTING
_REF_DM_GR2

CCL_AR_DM_TRX_L
INE_NUMBER

Transaction Line
Number

Debit Memo

Transaction
Line Number

CCL_AR_SUPPORTING
_REF_DM_GR2

CCL_AR_DM_TRX_T
AX_CODE

Transaction VAT
Code

Debit Memo

CCL_AR_TAX
_CODE

CCL_AR_SUPPORTING
_REF_DM_GR03

CCL_AR_DM_CUST
OMER_TAX_ID

Customer Tax
Registration
Number

Debit Memo

Bill To
Customer
Site Use Tax
Reference

CCL_AR_SUPPORTING
_REF_DM_GR03

CCL_AR_DM_TRX_T
YPE

Transaction Type

Debit Memo

Transaction
Type Name

CCL_AR_SUPPORTING
_REF_DM_GR04

CCL_AR_DM_LINE_
TAX_RATE

Transaction Tax
Rate

Debit Memo

CCL_AR_TAX
_RATE

CCL_AR_SUPPORTING
_REF_INV_GR1
CCL_AR_SUPPORTING
_REF_INV_GR1

CCL_AR_INV_TRX_
NUMBER

Transaction
Number

Invoice

Transaction
Number

CCL_AR_INV_TRX_
DATE

Transaction Date

CCL_AR_INV_CUST
OMER_NAME

Customer Name

CCL_AR_INV_CUST
_COUNTRY

Customer Country
Code

CCL_AR_SUPPORTING
_REF_INV_GR2

CCL_AR_INV_TRX_L
INE_NUMBER

Transaction Line
Number

CCL_AR_SUPPORTING

CCL_AR_INV_TRX_T

Transaction VAT

CCL_AR_SUPPORTING
_REF_DM_GR1
CCL_AR_SUPPORTING
_REF_DM_GR1

CCL_AR_SUPPORTING
_REF_INV_GR1
CCL_AR_SUPPORTING
_REF_INV_GR1

Transaction
Type Name
Credit
Memo

Invoice
Invoice

Invoice

Invoice
Invoice

CCL_AR_TAX
_RATE

Transaction
Date
Bill To
Customer
Name
Bill To
Customer
Country
Transaction
Line Number
CCL_AR_TAX

Group Name
_REF_INV_GR2

Detail Code
AX_CODE

Attribute Name

Event
Class

Code

CCL_AR_SUPPORTING
_REF_INV_GR03

CCL_AR_INV_CUST
OMER_TAX_ID

Customer Tax
Registration
Number

CCL_AR_SUPPORTING
_REF_INV_GR03

CCL_AR_INV_TRX_T
YPE

Transaction Type

CCL_AR_SUPPORTING
_REF_INV_GR04

CCL_AR_INV_LINE_
TAX_RATE

Transaction Tax
Rate

Source
Name
_CODE

Invoice

Invoice
Invoice

Bill To
Customer
Site Use Tax
Reference
Transaction
Type Name
CCL_AR_TAX
_RATE

Setup Steps: (Example)


1. Create the Custom Source for Tax code/rate
a. Navigation: Receivables (or other Subledger Responsibility) -> Setup
-> Accounting -> Accounting Methods Builder -> Sources -> Custom
Sources
b. The Function required for this custom source should already be
compiled in the environment.
c. The
function
used
in
our
case
is
CCLAR_FUNCTIONS_PKG.GET_TRX_LINE_TAX_CODE.

2. Create the Supporting Reference.


a. Navigation: Receivables (or other Subledger Responsibility) -> Setup
-> Accounting -> Accounting Methods Builder -> Journal Entry Setups
-> Supporting References
b. Enter Code, Name, Description, Detail Code, Detail name, etc. on the
screen.

c. To assign the source of the reference, click on Assign Sources.


d. Select the following details from LOV to identify the Source
i. Application = Receivables
ii. Event Class name = This will differ for each separate Event
class. E.g. it can be Invoice, Debit Memo, etc.
iii. Source Name = This will differ for each separate requirement,
such as Transaction Number, Transaction Date, etc.
e. Click on Apply to assign the source to the Supporting reference.

f.

To create the Supporting reference click on Apply on the next screen.

3. Assign the Supporting Reference to the Journal Line Definition


a. Navigation: Receivables (or other Subledger Responsibility) -> Setup
-> Accounting -> Accounting Methods Builder -> Methods and
Definitions -> Journal Line Definitions.
b. Select the Definition required to be assigned to and the Journal Line
Type.
c. Click on Support References tab and assign the References to the
Journal Line Types. Save the setup.

4. Validate the Application Accounting Definition


a. Navigation: Receivables (or other Subledger Responsibility) -> Setup
-> Accounting -> Accounting Methods Builder -> Methods and
Definitions -> Application Accounting Definition
b. The definition associated with the Journal Definition would be in Not
Validated status.
c. Click on the Validate button and validate the setup change.

Test Steps:
1. Create an AR transaction against the event class (selected during Supporting
Reference creation) and account it.
2. Check the GL Journal created against it.
3. Click on the Journal Line -> Click on Tools -> Click on Drilldown.
4. This can also be accessed from View Accounting option from the AR
transaction as well.

5. The drilldown screen opens with the SLA journal information. Click on the link
for Supporting reference.

6. The Supporting reference screen opens and shows the data.

Das könnte Ihnen auch gefallen