Académique Documents
Professionnel Documents
Culture Documents
Oracle® Brazil
DISCLAIMER:
Views
cll_f255_ap_invoices_ri_v
cll_f255_ap_taxes_withheld_v
cll_f255_gl_daily_book_v
cll_f255_gl_major_book_v
cll_f255_ri_invoice_items_v
cll_f255_ri_invoices_v
cll_f255_ar_total_inv_taxes_v
cll_f255_ri_freights_v
cll_f255_ap_invoices_v
cll_f255_ap_terms_v
cll_f255_ar_invoice_items_v
cll_f255_ar_invoices_v
cll_f255_ar_receivables_v
cll_f255_establishment_v
cll_f255_ar_customers_v
cll_f255_gl_acct_hierarchy_v
cll_f255_om_stock_v
cll_f255_pac_inventory_v
Packages
CLLTBEUS.pls
CLLUBEUB.pls
CLLUBEBB.pls
CLLUBEBS.pls
New views:
cll_f255_gl_seg_val_hierarch_v
cll_f255_opm_inventory_v
cll_f255_opm_stock_v
cll_f255_org_definitions_v
cll_f255_gl_segments_v
CLLUBEUB.pls
cll_f255_notifications,
cll_f255_per_all_people_f_t1,
cll_f255_establishment_v,
cll_f255_opm_inventory_v,
cll_f255_pac_inventory_v,
cll_f255_ar_invoices_v,
cll_f255_ar_invoice_items_v,
cll_f255_ar_nffs_request_v
2-dec-10 Luana Calazans 5 Update the contents of the objects
Views:
cll_f255_po_suppliers_v,
cll_f255_ri_invoice_items_v,
cll_f255_establishment_v,
cll_f255_ar_total_inv_taxes_v
9-dec-10 Luana Calazans 6 Update the contents of the objects
View:
cll_f255_ri_invoice_items_v.xdf
5-jan-11 Luana Calazans 7 Patch 10628504
cll_f255_ap_taxes_withheld_v
cll_f255_ri_freights_v
cll_f255_ri_invoice_items_v
cll_f255_ri_invoices_v
cll_f255_ri_ra_cust_trx_v
21-mar-11 Luana Calazans 9 Patch 11657360
cll_f255_ri_freights_v
cll_f255_ri_invoice_items_v
cll_f255_ri_invoices_v
Patch 11835255
cll_f255_ar_customers_v
cll_f255_ar_invoices_v
cll_f255_ar_nffs_request_v
cll_f255_ar_total_inv_taxes_v
cll_f255_cst_inventory_v
cll_f255_gl_acct_hierarchy_v
cll_f255_ri_ra_cust_trx_v
29-mar-11 Luana Calazans 10 Patch 11933884
cll_f255_ap_invoices_v
cll_f255_establishment_v
New Trigger
CLLBETST.sql
New Events
CLLMTLITEM_e.wfx
CLLMTLITEM_s.wfx
New Views:
cll_f255_fa_asset_fiscaldoc_v
cll_f255_fa_asset_invoices_v
20-jun-11 Luana Calazans 12 Patch: 12632835
New Triggers:
CLLBETJG.sql
CLLBETEP.sql
CLLBETEG.sql
CLLBETAG.sql
CLLBETEL.sql
CLLBETES.sql
28-jul-11 Luana Calazans 14 Patch: 12770363
Update the contents of the objects
cll_f255_gl_daily_book_v
cll_f255_gl_major_book_v
cll_f255_ar_total_inv_taxes_v
CLLBETPS.sql
27-set-11 Marcos Allonso 15 Patch: 12977903
Update views:
cll_f255_establishment_v
cll_f255_org_definitions_v
26-oct-11 Marcos Allonso 16 Patch 13096825
New trigger :
CLL_F255_JL_BR_CUSTOMER_TRX_T1
New concurrent:
CLL_F255_SYNC_BATCH_EVENTS_PKG
Update view:
cll_f255_ar_invoice_items_v
New view:
cll_f255_le_setup_v
15-mar-12 Marcos Allonso 18 Patch 13770277
cll_f255_bom_bill_of_mtls_v
cll_f255_bom_inv_components_v
14-oct-2013 Eduardo Leite 25 Patch 17567981
New views:
cll_f255_ar_invoice_ato_line_v
cll_f255_ar_invoice_ato_tax_v
cll_f255_ar_invoice_items_v
cll_f255_inv_category_items_v
cll_f255_opm_formula_items_v
cll_f255_wip_mat_components_v
cll_f255_wip_materials_v
cll_f255_wip_operations_v
13-mar-2014 Carlos Santos 26 Patch 18147253
Views
cll_f255_ri_freights_v
cll_f255_opm_inventory_v
14-Jul-14 Ricardo Cheachire 30 Patch 19211239
Update the contents of the objects
Views
cll_f255_ar_invoice_items_v
15-ago-14 Ricardo Cheachire 31 Patch 19357166
Updated content of the object
View:
cll_f255_ar_total_inv_taxes_v
15-ago-14 Ricardo Cheachire 32 Patch 19440612
Update the contents of the objects
Views
cll_f255_ar_customers_v
cll_f255_ar_invoices_v
18-ago-14 Ricardo Cheachire 33 Patch 19451056
New object created
View
cll_f255_ind_third_parties_v
28-ago-14 Ricardo Cheachire 34 Patch 19517845
Updated content of the object
View:
cll_f255_ar_invoice_items_v
cll_f255_establishment_v
cll_f255_le_setup_v
18-Sep-14 Ricardo Cheachire 35 Patch 19638840
Updated content of the object
View:
cll_f255_ar_invoice_items_v
cll_f255_ap_taxes_withheld_v
cll_f255_ri_invoice_items_v
09-Oct-14 Ricardo Cheachire 36 Patch 19790185
Updated content of the object
Trigger:
cll_f255_ap_terms_t1
30-Oct-14 Ricardo Cheachire 37 Patch 19881454
Updated content of objects
View:
cll_f255_ar_invoices_v
cll_f255_ar_invoice_items_v
Sequence:
cll_f255_iface_operation_id_s.xdf
12-Feb-15 Eduardo Leite 40 Patch 17627489 - R12.CLL ISV Integration Solution Pack 15
Updated content of the object
View:
cll_f255_cst_inventory_temp_v.xdf
Package:
cll_f255_cst_inventory_pub (CLLCSTIB.pls)
27-Feb-2015 Ricardo Cheachire 41 Patch 20616580 - R12.CLL ISV Integration Solution Pack 16
Updated content of the object
Package:
CLLUBEUB.pls
09-Mar-2015 Carlos Santos 42 Patch 20666670 - R12.CLL ISV Integration Solution Pack 17
Updated content of the objects
View:
cll_f255_ar_invoice_ato_line_v
cll_f255_ar_invoice_items_v
12-Mar-2015 Ricardo Cheachire 43 Patch 20679785 - R12.CLL ISV Integration Solution Pack 18
Updated content of the objects
View:
cll_f255_ar_invoice_items_v
31-Mar-2015 Carlos Santos 44 Patch 20666793 - R12.CLL ISV Integration Solution Pack 19
New objects
Packages:
CLLOFSSB.pls
CLLOFSS.pls
17-Apr-2015 Ricardo Cheachire 45 Patch 20895884 - R12.CLL ISV Integration Solution Pack 20
Updated content of the objects
Trigger:
CLLBETHC.sql
Triggers:
CLLBETHA.sql
CLLBETHN.sql
CLLBETHS.sql
CLLBETMM.sql
CLLBETMS.sql
CLLBETPI.sql
CLLBETRT.sql
CLLBETWC.sql
CLLBETWN.sql
Packages:
CLLTBEUS.pls
CLLUBEBB.pls
CLLUBEUB.pls
13-Aug-2015 Ricardo Cheachire 47 Patch 22179841- R12.CLL ISV Integration Solution Pack 22
Updated content of the objects
View:
cll_f255_ar_total_inv_taxes_v
01-Dec-2015 Ricardo Cheachire 48 Patch 22288009 - R12.CLL ISV Integration Solution Pack 23
New objects
View:
cll_f255_gme_matl_v
02-Dec-2015 Ricardo Cheachire 49 Patch 22300759 - R12.CLL ISV Integration Solution Pack 24
Updated content of the objects
View:
cll_f255_establishment_v
Profile:
CLLBEPRO.ldt
23-Fev-2016 Ricardo Cheachire 50 Patch 22813717 - R12.CLL ISV Integration Solution Pack 25
Updated content of the objects
View:
cll_f255_ar_invoice_items_v
17-Mar-2016 Ricardo Cheachire 51 Patch 22959707 - R12.CLL ISV Integration Solution Pack 26
Updated content of the objects
Views:
cll_f255_ri_invoice_items_v
cll_f255_ri_invoices_v
Triggers:
CLLBETIL
CLLBETIT
Views:
cll_f255_ar_invoice_items_v
cll_f255_ri_invoice_items_v
27-May-2016 Ricardo Cheachire 53 Patch 23338317 - R12.CLL ISV Integration - Branch Pack 2
Updated content of the objects
Views:
cll_f255_ar_invoice_items_v
cll_f255_ri_invoice_items_v
14-Apr-2016 Ricardo Cheachire 54 Patch 23106589 - R12.CLL ISV Integration Solution Pack 28
Updated content of the objects
Views:
cll_f255_establishment_v
cll_f255_ri_invoice_items_v
27-Mai-2016 Ricardo Cheachire 55 Patch 23329410 - R12.CLL ISV Integration Solution Pack 29
Updated content of the objects
Views:
cll_f255_ar_invoice_items_v
cll_f255_ri_invoice_items_v
23-Jun-2016 Ricardo Cheachire 56 Patch 23627050 - R12.CLL ISV Integration - Branch Pack 3
Updated version of the objects
Views:
cll_f255_ar_invoice_items_v
cll_f255_ri_invoice_items_v
26-Jul-2016 Ricardo Cheachire 57 Patch 23329410 - R12.CLL ISV Integration Solution Pack 30
Updated content of the objects
Trigger:
CLL_F255_PO_RELEASES_T1
26-Oct-2016 Ricardo Cheachire 58 Patch 24948904 - R12.CLL ISV Integration Solution Pack 31
Updated content of the objects
Views:
cll_f255_wip_materials_v
cll_f255_gme_matl_v
Lookup:
CLLBELKP
11-Jan-2017 Ricardo Cheachire 59 Patch 25380269 - R12.CLL ISV Integration Solution Pack 32
New objects
View:
cll_f255_opm_third_parties_v
11-May-2017 Ricardo Cheachire 60 Patch 26043628 - R12.CLL ISV Integration Solution Pack 33
Updated content of the objects
Views:
cll_f255_ar_customers_v
cll_f255_opm_inventory_v2
cll_f255_ri_invoices_v
Views:
cll_f255_fm_ar_processes_v
cll_f255_fm_cno_profiles_v
cll_f255_fm_contacts_v
cll_f255_fm_entity_profiles_v
cll_f255_fm_processes_v
cll_f255_fm_ri_processes_v
cll_f255_fm_software_house_v
Views:
cll_f255_ar_customers_v
cll_f255_ar_invoice_items_v
cll_f255_ar_invoices_v
cll_f255_ar_total_inv_taxes_v
cll_f255_ri_invoice_items_v
cll_f255_ri_invoices_v
05-mar-2018 Elton Gini 62 Patch 27500969: R12.CLL ISV Integration Solution Pack 37
Views:
cll_f255_tpa_renewal_remit_v
Reviewers
Name Function
Distribution
T his chapter will show the High Level Design of the ISV Integration Solution, according
to the requirements of the Strategy and Analysis development phase. A general view of
the application and diagrams of the tables and the main functions of the ISV Integration
Solution, list of tables, views and modules will be presented
The components of the application (tables, views and modules) were defined during the
High Level Design phase created to satisfy the Brazilian requirements.
This chapter is a quick reference of the tables, views and modules, which form part of the
Brazilian localization ISV Integration Solution.
Table Diagram
Graphically represents all the tables and foreign keys (relationship), grouped with the ISV
Integration Solution primary business functions. Examine the Table Definition section for
more information.
List of Tables
List of Tables briefly describes each table contained in the ISV Integration Solution.
List of Views
List of Views briefly describes each view in ISV Integration Solution. The View Definition
in the Detailed Design section, chapter 2 provides more information.
List of Modules
List of Modules briefly describes each module in ISV Integration Solution. Examine the
Module Definition in the Detailed Design section in chapter 2 for more information
Through the Entity Relationship Diagram it is possible to have a graphical view of the
entities that are part of the application and the relationship between them. This diagram
was prepared to describe, at a conceptual level, the key information that the ISV
Integration Solution depends on.
See the Oracle Financials Release 12 for Brazil - Technical Reference Manual for more
information
To better understand the diagram, some rules where standardized for the better
understanding of the design:
Figure 1-1
Option
_______
s Obligatory Relationship
------- Opcional Relationship
Type of Relationship
A B
A B
This section graphically represents all the tables and the foreign keys (relationship at a
conceptual level) grouped by the main business functionalities in ISV Integration Solution.
This section should be used to rapidly learn what tables are part of the main business
functions in do ISV Integration Solution e how they communicate. Read the Definitions of
Views and Definition of Tables sections in chapter 2 for further information of each of these
tables.
Figure 1-2:
Option
_______
s Obligatory Relationship
------- Opcional Relationship
Type of Relationship
A B
A B
This section lists the tables of ISV Integration Solution with a brief description of each
one.
External Tables
External Views
View Name Description
GL_SETS_OF_BOOKS stores information about the ledgers
GL_SETS_OF_BOOKS
in the Oracle General Ledger
GL_LEDGERS stores information about the ledgers defined
GL_LEDGER_LE_V in the Accounting Setup Manager and the ledger sets defined
in the Ledge
MTL_CATEGORIES_B is the code combinations table for
item categories.
MTL_CATEGORIES_B_KFV Items are grouped into categories within the context of a
category set
to provide flexible grouping schemes.
MTL_SYSTEM_ITEMS_B is the definition table for items.
This table holds
the definitions for inventory items, engineering items, and
purchasing
items. You can specify item-related information in fields
MTL_SYSTEM_ITEMS_B_KFV
such as:
Bill of Material, Costing, Purchasing, Receiving, Inventory,
Physical attributes, General Planning, MPS/MRP Planning,
Lead times, Work in Process, Order Management, and
Invoicing.
XLE_ESTABLISHMENT_V view provides the user with
information related to Establishments related to Legal
Entities. The view encompasses both First Party and Third
XLE_ESTABLISHMENT_V
Party LEs. End Dates are not discriminated and hence, user
has the access to Inactive Legal Entities and Establishments
as well.
XLE_JURISDICTIONS_VL XLE_JURISDICTIONS_TL, XLE_JURISDICTIONS_B view
retrieves the translated jurisdictions.
MTL_CATEGORIES_VL Multilingual view (a language
MTL_CATEGORIES
resolved view of the data.)
Categories multilingual view.
CLL_F255_TPA_RENEWAL_REMIT_V All executions will return outbound invoices who are past
due or are about expire according the setup performed in
the CLL F513 Third Party Material Governance.
Triggers
Trigger Description Name
Transactions Insert, Update or Delete the
CLLBETAC table AR_CASH_RECEIPTS_ALL is used to CLL_F255_AR_CASH_RECEIPTS_T1
insert CLL table notification.
Transactions Insert, Update or Delete the
CLLBETAE table AP_TERMS_TL is used to insert CLL CLL_F255_AP_TERMS_T1
table notification.
Transactions Insert or Update the table
CLLBETAI AP_INVOICES_ALL is used to insert CLL CLL_F255_AP_INVOICES_T1
table notification.
Transactions Insert or Update the table
CLLBETAP AP_INVOICE_PAYMENTS_ALL is used to CLL_F255_AP_INV_PAYMENTS_T1
insert CLL table notification.
Transactions Insert or Update the table
CLLBETAR AR_RECEIVABLE_APPLICATIONS_ALL CLL_F255_AR_RECEIVEBLE_APPL_T1
is used to insert CLL table notification.
Transactions Insert or Update the table
CLLBETAS AP_SUPPLIERS is used to insert CLL table CLL_F255_AP_SUPPLIERS_T1
notification.
Transactions Insert, Update or Delete the
CLLBETAT table AP_TERMS_LINES is used to insert CLL_F255_AP_TERMS_LINES_T1
CLL table notification.
Transactions Insert or Update the table
CLLBETBD CLL_F038_BEN_DEPEN is used to insert CLL_F255_BEN_DEPEN_T1
CLL table notification.
Transactions Insert, Update or Delete the
CLLBETBV table CLL_F189_BUSINESS_VENDORS is CLL_F255_BUSINESS_VENDORS_T1
used to insert CLL table notification.
Transactions Insert, Update or Delete the
CLLBETCD table CLL_F038_CONTRACT_DATA is CLL_F255_CONTRACT_DATA_T1
used to insert CLL table notification.
Transactions Insert or Update the table
CLLBETEO CLL_F189_ENTRY_OPERATIONS is used CLL_F255_ENTRY_OPERATIONS_T1
to insert CLL table notification.
Transactions Insert, Update or Delete the
CLLBETER table CLL_F031_ELECTRONIC_RET_ALL CLL_F255_ELECTRONIC_RET_T1
is used to insert CLL table notification.
Packages
Package Package Name Procedure Description
CLL_F255_NOTIFICATIONS_GRP
CLL_F255_NOTIFICATIONS_GRP
CLLGBENS
API to ISV mark or delete transactions in the
UPDATE_ROW table cll_f255_notifications
CLLGBENB
DELETE_ROW
AR_RECEIPT_ACTIVITY_APPL
AR_RECEIPT_APPLY
AR_RECEIPT_CREATE_CASH
AR_RECEIPT_CREATE_MISC
BALANCING_SEGMENT_VALUE
CHECK_DUPLICITY
GET_BALANCING_SEGMENT
CLLTBEUS
GET_CONCAT_SEGMENTS
Package util for ISV Integration Solution
GET_JURISDICTION
CLLUBEUB
GET_QUANTITY_MTL
GET_SEGMENT_COMPANY_VALUE
GET_SEGMENT_VALUE
INSERT_EVENT
NOTIFICATION_PURGE
SUM_PISCOFINS_RI_LINES
GET_INTERF_OPERATION_ID_PUB
GET_ATO_ITEM_DESCRIPTION
GET_MAX_CST_TRANSACTION
CLL_F255_BUSINESS_EVENTS_PKG
CLLUBEBS
BES_RAISE Raise a business events
CLLUBEBB EXIST_SUBSCRIPTION
RAISE
Use that package for populate the
view with records of every material
transaction or cost update performed in
Inventory.
calculate_inventoryvalue –
Calculate the inventory cost
values.
create_file
create_file_apps
CLLOFSSB add_style_definition
close_file
CLLOFSSB
add_worksheet
write_cell_value
set_row_height
set_column_width
get_file_f
2 Detailed Design
T his chapter presents a detailed design used during the ISV Integration Solution
implementation. Here you will find detailed table definitions, views and modules,
together with object description used in ISV Integration Solution, like quick codes.
During the Detailed Design phase, each of the application’s components has its
functionality detailed.
This chapter permits the understanding of the detailed structure and information flow of
ISV Integration Solution.
Table Definition
The section Table Definition contains the detailed definition of the ISV Integration Solution
tables. The following information is available for each table: objective, column description,
primary key, unique key, check constraints, foreign key, quick codes, sequences, module
access and database triggers.
Module Definition
This section provides detailed information about each module in the ISV Integration
Solution application. Use this section to better understand the details of what each module
ISV Integration Solution contains, and how these functionalities are implemented.
Quick Codes
The Table Definition section contains a detailed definition of each table in the ISV
Integration Solution. For each table, the following information is available:
Objective;
Column Description;
Primary Key;
Other Unique Keys;
Check Constraints;
Foreign Key;
Indexes;
Quick Codes;
Sequences;
This section only documents the tables created for the ISV Integration Solution. To obtain
further information about the details of the tables and external views used, see the
application manual to which it is component of.
Objective
Column Description
This topic states the primary characteristics of the column or view. These characteristics
are included if the ISV Integration Solution needs a value for this column and what type
of data this is, together with a brief description on how ISV Integration Solution uses this
column .
Once every line in this table contains the additional Standard Who Columns with various
Foreign Keys corresponding to the FND_USERS e FND_LOGINS tables, you then should
not include LAST_UPDATED_BY, CREATED_BY, or LAST_UPDATE_LOGIN columns
in the Foreign Keys list of the table.
Standard Columns about the Who (additionally needed for concurrent programs)
Various tables in the ISV Integration Solution application possess standard columns about
the user , to distinguish changes made by each user in the forms or in concurrent programs.
When a concurrent program inserts or updates lines in a table, the same updates the
following additional columns about the user responsible:
Once every table contains these additional Standard Who Columns with the various
Foreign Keys corresponding to the FND_CONCURRENT_REQUESTS,
FND_APPLICATION, FND_CONCURRENT_PROGRAM tables, you then should not
include the REQUEST_ID, PROGRAM_APPLICATION_ID, or PROGRAM_ID columns
in the Foreign Keys list of the table.
Primary Key
In this topic you can identify the columns that compose the primary key of this table.
Check Constraints
In this topic you can identify validation rules that have to be respected during the
corresponding update or creation of the column..
Foreign Key
This topic explains the relationship between the tables and list all the Foreign Keys
associated to each table. For each Foreign Key a list of the Table Name of the Primary
Key (Table in which the Foreign Key refers to), the corresponding Primary Key Table
Column, and the Foreign Key Column that is available that refers to the Primary Key
Column.
When the Primary Key Table possesses a composite Primary Key, each column in the
composite key is sequenced.
If the table contains two or more distinct Foreign Keys that refer to the same Primary Key
table, then the Table Name of the Primary Key is repeated and then a separate is shown
of the Foreign Keys
Quick Codes
In this topic, we identify every type of Quick Code that will eventually be associated with
a column in the table. Read the Quick Code Section to obtain a complete list of the Quick
code values and there meaning.
Sequence
In this topic you will be able to identify the sequences related to the corresponding table.
If any column of the table obtains its value from a sequence, the sequence names are then
listed and the name of the columns is stores the whole number generated.
The Table Definition section contains a detailed definition of each table in ISV Integration
Solution. For each table, the following information are available: objective, column
description, primary key, unique key, check constraints, foreign key, indexes, quick
codes, sequences and database triggers.
CLL_F255_NOTIFICATIONS
Null /
Column Type of Data Description
Not Null
NOTIFICATION_ID NOT NULL NUMBER Notification Id
ISV_NAME NOT NULL VARCHAR2(30) ISV Name
EVENT_KEY NOT NULL VARCHAR2(240) Event Key
EVENT_NAME NOT NULL VARCHAR2(240) Event Name
TRANSACTION_TYPE NOT NULL VARCHAR2(10) Transaction Type
CREATION_DATE NOT NULL DATE Standard Who Column
CREATED_BY NOT NULL NUMBER Standard Who Column
LAST_UPDATE_DATE NOT NULL DATE Standard Who Column
LAST_UPDATED_BY NULL NUMBER Standard Who Column
LAST_UPDATE_LOGI
NULL NUMBER Standard Who Column
N
The concurrent
requisition ID that
REQUEST_ID NULL NUMBER
performed the last
update in this line
PROGRAM_APPLICA The application ID that
NULL NUMBER
TION_ID last updated this line
The program ID that last
PROGRAM_ID NULL NUMBER performed an update in
this line
Date in which the last
PROGRAM_UPDATE_
NULL DATE update of this line was
DATE
performed
indicates record status:
1 - Ready (Default)
2 - Processed
EXPORT_STATUS NULL NUMBER
3 - In-Process
4 – Error
5 - Hook
Primary Key
Name Column
CLL_F255_NOTIFICATIONS_PK NOTIFICATION_ID
Check Constraints
Name Validation clause
CLL_F255_NOTIFICATIONS_C1 export_status IN (1,2,3,4,5)
Foreign Keys
Name Validation clause
Indexes
Name Type Sequence Name of the Column
NOT
CLL_F255_NOTIFICATIONS_N1 1 ISV_NAME
UNIQUE
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
29
2 EVENT_NAME
3 EVENT_KEY
4 TRANSACTION_TYPE
5 EXPORT_STATUS
REGEXP_SUBSTR
NOT ("EVENT_KEY",'.*[0-
CLL_F255_NOTIFICATIONS_N2 1
UNIQUE 9][0-9]-[0-9][0-9]-[0-9][0-
9][0-9][0-9]')
Quick Codes
Column Type do Quick Code Table do Quick Code
Sequences
Sequence Column Derived
CLL_F255_NOTIFICATIONS_S NOTIFICATION_ID
Database Triggers
Not required
The section View Definition contains the detailed definition of each view in ISV
Integration Solution. For each view the following information are available: objective,
definition and column description.
CLL_F255_AP_BANKS_V
SELECT acct.bank_id
, acct.bank_account_id
, acct.bank_account_name
, acct.bank_account_num
, acct.check_digits
, branch.party_id branch_id
, branch.party_name branch_name
, branchinfo.bank_or_branch_number branch_number
, bank.party_name bank_name
, bankinfo.bank_or_branch_number bank_number
, acct.attribute1
, acct.attribute2
, acct.attribute3
, acct.attribute4
, acct.attribute5
, acct.attribute6
, acct.attribute7
, acct.attribute8
, acct.attribute9
, acct.attribute10
, acct.attribute11
, acct.attribute12
, acct.attribute13
, acct.attribute14
, acct.attribute15
FROM hz_organization_profiles bankinfo
, hz_parties bank
, hz_organization_profiles branchinfo
, hz_parties branch
, ce_bank_accounts acct
WHERE bankinfo.party_id = bank.party_id
AND bank.party_id = acct.bank_id
AND branchinfo.party_id = branch.party_id
AND branch.party_id = acct.bank_branch_id
UNION
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
31
SELECT acct.bank_id
, acct.ext_bank_account_id
, acct.bank_account_name
, acct.bank_account_num
, acct.check_digits
, branch.party_id branch_id
, branch.party_name branch_name
, branchinfo.bank_or_branch_number branch_number
, bank.party_name bank_name
, bankinfo.bank_or_branch_number bank_number
, acct.attribute1
, acct.attribute2
, acct.attribute3
, acct.attribute4
, acct.attribute5
, acct.attribute6
, acct.attribute7
, acct.attribute8
, acct.attribute9
, acct.attribute10
, acct.attribute11
, acct.attribute12
, acct.attribute13
, acct.attribute14
, acct.attribute15
FROM hz_organization_profiles bankinfo
, hz_parties bank
, hz_organization_profiles branchinfo
, hz_parties branch
, iby_ext_bank_accounts acct
WHERE bankinfo.party_id = bank.party_id
AND bank.party_id = acct.bank_id
AND branchinfo.party_id = branch.party_id
AND branch.party_id = acct.branch_id;
Null /
Column Type of Data Description
Not Null
BANK_ID NUMBER(15,0) Party identifier
Unique internal
Identifier for this record.
BANK_ACCOUNT_ID NUMBER(15,0)
Generated using a
database sequence
BANK_ACCOUNT_NA The name of the bank
VARCHAR2(100)
ME account
BANK_ACCOUNT_NU
VARCHAR2(100) Account number
M
Bank account check digit
CHECK_DIGITS VARCHAR2(30)
value as entered
SELECT
ai.org_id,
hou.name,
cll_f255_utils_pkg.get_jurisdiction(hou.location_id, ood.legal_entity, 'FEDERAL_TAX')
ou_cnpj,
cll_f255_utils_pkg.get_jurisdiction(hou.location_id, ood.legal_entity, 'INCOME_TAX')
ou_ie,
ai.invoice_id ap_invoice_id,
ai.invoice_num,
/* cll_f255_utils_pkg.get_jurisdiction(cfi.location_id,
(SELECT legal_entity FROM org_organization_definitions WHERE
organization_id = cfi.organization_id),
'FEDERAL_TAX') document_number,*/ --BUG 9702059
cll_f255_utils_pkg.get_jurisdiction(cfi.location_id, --BUG 9702059
ood.legal_entity,
'FEDERAL_TAX') document_number,
cfi.organization_id,
cfi.location_id,
cfi.invoice_id,
cfi.operation_id,
cfi.series,
ai.set_of_books_id,
ai.invoice_currency_code,
ai.payment_currency_code,
ai.last_update_date,
cfi.invoice_date,
ai.source,
cfi.fiscal_document_model,
'PURCHASES' operation_type,
ai.description,
ai.vendor_id,
ai.vendor_site_id,
NVL(cfi.gross_total_amount,cfi.invoice_amount) value,
ai.amount_paid,
ai.discount_amount_taken,
ai.terms_date,
ai.payment_method_lookup_code,
ai.pay_group_lookup_code,
ai.accts_pay_code_combination_id,
ai.payment_status_flag,
ai.creation_date,
Null /
Column Type of Data Description
Not Null
Unique internal
identifier of the
ORG_ID NUMBER(15,0) Operating Unit to
which the invoice
belongs
Name of the
NAME NOT NULL VARCHAR2(240)
organization
VARCHAR2(4000 CNPJ of the
OU_CNPJ
) organization
VARCHAR2(4000
OU_IE IE of the organization
)
Unique internal
Identifier for this
AP_INVOICE_ID NOT NULL NUMBER(15,0) record. Generated
using a database
sequence
Invoice number for an
invoice. This number
INVOICE_NUM NOT NULL VARCHAR2(50) entered will be unique
per supplier and
operating unit
DOCUMENT_NUMBE Ledger unique
VARCHAR2(30)
R identifier
Inventory
ORGANIZATION_ID NUMBER(15,0) organization foreign
key
System-generated
LOCATION_ID NOT NULL NUMBER(15,0)
primary key column
Unique internal
Identifier for this
INVOICE_ID NOT NULL NUMBER record. Generated
using a database
sequence
OPERATION_ID NOT NULL NUMBER Receiving identifier
SERIES NOT NULL VARCHAR2(30) Invoice series
Ledger unique
SET_OF_BOOKS_ID NOT NULL NUMBER(15,0)
identifier
Currency code of the
INVOICE_CURRENCY
NOT NULL VARCHAR2(15) invoice. Foreign key to
_CODE
the
CLL_F255_AP_INVOICES_V
View definition
Null /
Column Type of Data Description
Not Null
Unique internal
identifier of the
ORG_ID NUMBER(15,0) Operating Unit to
which the invoice
belongs
Name of the
NAME NOT NULL VARCHAR2(240)
organization
VARCHAR2(400 CNPJ of the
OU_CNPJ
0) organization
VARCHAR2(400
OU_IE IE of the organization
0)
Unique internal
Identifier for this
INVOICE_ID NOT NULL NUMBER(15,0) record. Generated
using a database
sequence
Invoice number for an
INVOICE_NUM NOT NULL VARCHAR2(50) invoice. This number
entered will be unique
CLL_F255_AP_IRRF_V
Selects the information in the CLL_F255_AP_IRRF_V view together with other columns
that are referred to
SELECT api.invoice_id,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
58
api.vendor_id,
'NFF' docment_type,
api.invoice_num,
api.invoice_date,
api.terms_date,
api.invoice_amount,
aatr.tax_rate,
aip.amount ,
aip.dist_code_combination_id,
aip.org_id ,
cfat.attribute1 enabled_brazilian_wt,
cfat.attribute2 dependant_reduction,
cfat.attribute3 minimum_wt_amount_use,
cfat.attribute4 minimum_wt_amount,
aip.attribute1,
aip.attribute2,
aip.attribute3,
aip.attribute4,
aip.attribute5,
aip.attribute6,
aip.attribute7,
aip.attribute8,
aip.attribute9,
aip.attribute10,
aip.attribute11,
aip.attribute12,
aip.attribute13,
aip.attribute14,
aip.attribute15,
aip.attribute_category ,
aip.global_attribute_category,
aip.global_attribute1,
aip.global_attribute2,
aip.global_attribute3,
aip.global_attribute4,
aip.global_attribute5,
aip.global_attribute6,
aip.global_attribute7,
aip.global_attribute8,
aip.global_attribute9,
aip.global_attribute10,
aip.global_attribute11,
aip.global_attribute12,
aip.global_attribute13,
aip.global_attribute14,
aip.global_attribute15,
aip.global_attribute16,
aip.global_attribute17,
aip.global_attribute18,
aip.global_attribute19,
aip.global_attribute20
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
59
FROM ap_invoice_distributions_all aip,
ap_invoices_all api,
ap_awt_tax_rates_all aatr,
cll_f036_ap_tax_codes_ext cfat
WHERE cfat.tax_id (+) = aip.tax_code_id
and aatr.tax_rate_id = aip.awt_tax_rate_id
and aip.amount <> 0
and aatr.tax_name like '%IR%'
and aip.invoice_id = api.invoice_id;
Null /
Column Type of Data Description
Not Null
Unique internal
identifier for the
invoice line of the
INVOICE_ID NOT NJLL NUMBER(15,0) associated Invoice.
Foreign key to the
AP_INVOICES_ALL
table
The unique internal
identifier of the
supplier to which the
VENDOR_ID NUMBER(15,0)
invoice belongs.
Foreign key to the
AP_SUPPLIERS table
Document Type –
DOCMENT_TYPE CHAR(3)
Default ‘NFF’
Invoice number for an
invoice. This number
INVOICE_NUM NOT NULL VARCHAR2(50) entered will be unique
per supplier and
operating unit
INVOICE_DATE DATE Invoice Date
Date used with
payment terms to
calculate scheduled
payment of an invoice.
This date will be
defaulted from one of
TERMS_DATE DATE the following Payables
System Setup option
defined for Term Date
Basis:· System Date·
Goods Received Date·
Invoice Date· Invoice
Received Date
Invoice amount in the
INVOICE_AMOUNT NUMBER
payment currency
SELECT
api.invoice_id ,
api.invoice_num ,
api.set_of_books_id ,
api.invoice_currency_code currency_code, --cod_moeda
api.payment_currency_code payment_currency_code, --moeda_pagto
api.last_update_date last_update_date, --dt_invoice
api.source source, --origem
api.invoice_type_lookup_code document_code, --cod_docto
api.description description_distribution, --descr_invoice
api.vendor_id ,
api.vendor_site_id ,
aid.org_id ,
aid.accounting_date , --dt_movto
aid.distribution_line_number , --nr_linha
aid.dist_code_combination_id , --id_cta
aid.line_type_lookup_code , --tp_linha
aid.period_name , --period_name
aid.po_distribution_id ,
--aid.accts_pay_code_combination_id pay_code_combination_id, --no longer user
aid.description description_invoice, --description
aid.amount , --valor
decode(sign(aid.amount),-1,'d','c') ind_dc,
aid.base_amount , --vlr_base
aid.base_invoice_price_variance , --vlr_base_variacao
aid.creation_date , --dt_criacao
aid.description , --descricao
aid.invoice_price_variance , --vlr_variacao
aid.posted_flag , --postado
aid.quantity_invoiced , --quantidade
aid.rate_var_code_combination_id , --id_cta_variacao
aid.reversal_flag , --reversao
aid.unit_price , --preco_unitario
aid.amount_encumbered , --vlr_empenho
aid.base_amount_encumbered , --vlr_base_empenho
aid.encumbered_flag , --empenho
aid.price_adjustment_flag , --ajuste_preco
aid.price_var_code_combination_id , --id_cta_var_preco
Null /
Column Type of Data Description
Not Null
Unique internal
Identifier for this
INVOICE_ID NOT NULL NUMBER(15,0) record. Generated
using a database
sequence
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
65
Invoice number for an
invoice. This number
INVOICE_NUM NOT NULL VARCHAR2(50) entered will be unique
per supplier and
operating unit
Ledger unique
SET_OF_BOOKS_ID NOT NULL NUMBER(15,0)
identifier
Currency code of the
invoice. Foreign key to
CURRENCY_CODE NOT NULL VARCHAR2(15) the
FND_CURRENCIES
table
Currency code of
payment. If the Invoice
Currency is not a fixed-
rate currency, then the
Payment Currency
will be the same as the
PAYMENT_CURRENC INVOICE_CURRENC
NOT NULL VARCHAR2(15)
Y_CODE Y_CODE. For fixed-
rate currency such as
euro or another EMU
currency it can be
different to
INVOICE_CURRENC
Y_CODE
Standard Who column
LAST_UPDATE_DATE NOT NULL DATE - date when a user last
updated this row
SOURCE VARCHAR2(25) Source
Defines the source of
the invoice. Possible
values for this column
DOCUMENT_CODE VARCHAR2(25) are derived from
FND_LOOKUP_VAL
UES for lookup_type
'INVOICE TYPE'
Description of the
DESCRIPTION_DISTRI invoice. This column is
VARCHAR2(240)
BUTION a free form text field in
Invoice workbench.
The unique internal
identifier of the
supplier to which the
VENDOR_ID NUMBER(15,0)
invoice belongs.
Foreign key to the
AP_SUPPLIERS table
The unique internal
VENDOR_SITE_ID NUMBER(15,0) identifier for the
payment site of the
CLL_F255_AP_PAYMENTS_V
Selects the information in the CLL_F255_AP_PAYMENTS_V view together with other
columns that are referred to
SELECT
aip.org_id,
api.invoice_num,
api.invoice_currency_code,
api.payment_currency_code,
api.invoice_date,
api.source,
api.description,
Null /
Column Type of Data Description
Not Null
Unique internal
identifier of the
ORG_ID NOT NULL NUMBER(15,0) Operating Unit to
which the invoice
belongs
Invoice number for an
invoice. This number
INVOICE_NUM NOT NULL VARCHAR2(50) entered will be unique
per supplier and
operating unit
Currency code of the
invoice. Foreign key to
INVOICE_CURRENCY
NOT NULL VARCHAR2(15) the
_CODE
FND_CURRENCIES
table
Currency code of
PAYMENT_CURRENC
VARCHAR2(15) payment. If the Invoice
Y_CODE
Currency is not a fixed-
CLL_F255_AP_TAXES_V
Selects the information in the CLL_F255_AP_TAXES_V view together with other
columns that are referred to
SELECT api.org_id,
api.invoice_id,
api.invoice_num,
api.invoice_amount,
api.invoice_date,
Null /
Column Type of Data Description
Not Null
Unique internal
identifier of the
ORG_ID NUMBER(15,0) Operating Unit to
which the invoice
belongs
Unique internal
Identifier for this
INVOICE_ID NOT NULL NUMBER(15,0) record. Generated
using a database
sequence
Invoice number for an
invoice. This number
INVOICE_NUM NOT NULL VARCHAR2(50) entered will be unique
per supplier and
operating unit
Total amount of the
invoice. This amount
can be negative for
following types of
INVOICE_AMOUNT NUMBER invoices:· Credit
Memo· Debit Memo·
Mixed· Automatic
Withholding· Expense
Reports
INVOICE_DATE DATE Invoice date
The unique internal
VENDOR_ID NUMBER(15,0) identifier of the
supplier to which the
CLL_F255_AP_TAXES_WITHHELD_V
SELECT
aia.org_id ,
aia.invoice_id ,
aip.invoice_payment_id ,
aia.invoice_date ,
aia.terms_date ,
aia.invoice_num ,
aia.invoice_amount ,
atc.global_attribute1 ,
atc.global_attribute2 ,
aatra.tax_name ,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
88
baptce.attribute1 tax_income_code ,
--aatra.tax_rate , --BUG 9724704
DECODE(aida.awt_invoice_payment_id,NULL,DECODE(aps.payment_status_flag,'Y',0),
aatra.tax_rate) tax_rate , --BUG 9724704
aip.amount ,
aia.vendor_id ,
asu.vendor_name , --BUG 9724704
aida.dist_code_combination_id ,
aida.invoice_line_number , --BUG 19387147
aida.distribution_line_number , --BUG
19387147
aida.reversal_flag ,
aip.payment_num payment_number , --BUG
9724704
aps.due_date , --BUG 9724704
apc.check_date , --BUG 9724704
aip.reversal_inv_pmt_id , --BUG 9724704
DECODE(aida.awt_invoice_payment_id,NULL,DECODE(aps.payment_status_flag,'Y',N
ULL),aab.tax_name) bucket_tax_name, --BUG 9724704
DECODE(aida.awt_invoice_payment_id,NULL,DECODE(aps.payment_status_flag,'Y',0),
aida.awt_gross_amount) awt_gross_amount, --BUG 9724704
DECODE(aida.awt_invoice_payment_id,NULL,DECODE(aps.payment_status_flag,'Y',0),
aida.amount) distribution_amount, --BUG 9724704
DECODE(aida.awt_invoice_payment_id,NULL,DECODE(aps.payment_status_flag,'Y',0),
aab.gross_amount_to_date) gross_amount_to_date, --BUG 9724704
DECODE(aida.awt_invoice_payment_id,NULL,DECODE(aps.payment_status_flag,'Y',0),
aab.withheld_amount_to_date) withheld_amount_to_date, --BUG 9724704
aip.period_name , --BUG 9724704
aia.source , --BUG 9724704
aps.payment_num , --BUG 9724704
aip.discount_taken , --BUG 9724704
DECODE(aip.reversal_flag, 'Y', 'Reverse', 'Confirmed') payment_status,
--BUG 9724704
DECODE(aida.awt_invoice_payment_id,NULL,'At Invoice Validation Time', 'At
Payment Time') withholding_tax --BUG 9724704
FROM ap_awt_buckets_all aab,
ap_other_periods aop,
ap_suppliers asu,
ap_awt_tax_rates_all aatra,
ap_checks_all apc,
ap_invoice_payments_all aip,
ap_tax_codes_all atc,
ap_payment_schedules_all aps,
ap_invoice_distributions_all aida,
ap_invoices_all aia,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
89
cll_f037_ap_tax_codes_ext baptce
WHERE baptce.tax_id (+) = aida.withholding_tax_code_id -- aida.tax_code_id
AND aida.invoice_id = aia.invoice_id
AND aida.awt_flag = 'A'
AND aip.invoice_id = aia.invoice_id
AND (aida.awt_invoice_payment_id IS NULL OR aip.invoice_payment_id =
aida.awt_invoice_payment_id)
AND aps.invoice_id = aia.invoice_id
AND aps.payment_num = aip.payment_num
AND apc.check_id = aip.check_id
AND atc.tax_id = aida.withholding_tax_code_id --aida.tax_code_id
AND aab.vendor_id = aia.vendor_id
AND aop.application_id = 200
AND aop.module = 'AWT'
AND aop.period_type = atc.awt_period_type
AND aab.period_name = aop.period_name
AND aab.tax_name = atc.name
AND aab.org_id = aia.org_id
AND aida.accounting_date BETWEEN aop.start_date
AND aop.end_date
AND aatra.tax_rate_id (+) = aida.awt_tax_rate_id
AND aab.period_name = aop.period_name
AND asu.vendor_id = aia.vendor_id
UNION ALL --BUG 11718558
--BUG 9724704
SELECT
aia.org_id ,
aia.invoice_id ,
NULL invoice_payment_id ,
aia.invoice_date ,
aia.terms_date ,
aia.invoice_num ,
aia.invoice_amount ,
atc.global_attribute1 ,
atc.global_attribute2 ,
aatra.tax_name ,
baptce.attribute1 tax_income_code ,
aatra.tax_rate ,
NULL amount ,
aia.vendor_id ,
asu.vendor_name ,
aida.dist_code_combination_id ,
aida.invoice_line_number , --BUG 19387147
aida.distribution_line_number , --BUG 19387147
aida.reversal_flag ,
NULL payment_number ,
NULL due_date ,
NULL check_date ,
NULL reversal_inv_pmt_id ,
aab.tax_name bucket_tax_name ,
aida.awt_gross_amount ,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
90
aida.amount distribution_amount ,
aab.gross_amount_to_date ,
aab.withheld_amount_to_date ,
aida.period_name ,
aia.source ,
NULL payment_num ,
NULL discount_taken ,
'Open/Validation' payment_status ,
'At Invoice Validation Time' withholding_tax
FROM ap_awt_buckets_all aab,
ap_other_periods aop,
ap_suppliers asu,
ap_awt_tax_rates_all aatra,
ap_tax_codes_all atc,
ap_invoice_distributions_all aida,
ap_invoices_all aia,
cll_f037_ap_tax_codes_ext baptce
WHERE baptce.tax_id (+) = aida.withholding_tax_code_id -- aida.tax_code_id
AND aida.invoice_id = aia.invoice_id
AND aida.awt_flag = 'A'
AND aida.awt_invoice_payment_id IS NULL
AND atc.tax_id = aida.withholding_tax_code_id --aida.tax_code_id
AND aab.vendor_id = aia.vendor_id
AND aop.application_id = 200
AND aop.module = 'AWT'
AND aop.period_type = atc.awt_period_type
AND aab.period_name = aop.period_name
AND aab.tax_name = atc.name
AND aab.org_id = aia.org_id
AND aida.accounting_date BETWEEN aop.start_date
AND aop.end_date
AND aatra.tax_rate_id (+) = aida.awt_tax_rate_id
AND asu.vendor_id = aia.vendor_id;
Null /
Column Type of Data Description
Not Null
Unique internal
identifier of the
ORG_ID NUMBER(15,0) Operating Unit to
which the invoice
belongs
Unique internal
Identifier for this
INVOICE_ID NOT NULL NUMBER(15,0) record. Generated
using a database
sequence
This is the unique
INVOICE_PAYMENT_
NOT NULL NUMBER(15,0) identifier to identify
ID
the payment on the
SELECT
apt.term_id ,
apt.last_update_date , --dt_atualizacao
apt.creation_date , --dt_criacao
apt.name , --nome
apt.enabled_flag , --habilitado
apt.description , --descricao
apt.type , --tp_termo
apt.start_date_active , --dt_ativacao
apt.end_date_active , --dt_inativacao
apt.rank ,
apt.attribute_category ,
apt.attribute1 ,
apt.attribute2 ,
apt.attribute3 ,
apt.attribute4 ,
apt.attribute5 ,
apt.attribute6 ,
apt.attribute7 ,
apt.attribute8 ,
apt.attribute9 ,
apt.attribute10 ,
apt.attribute11 ,
apt.attribute12 ,
apt.attribute13 ,
apt.attribute14 ,
apt.attribute15 ,
atl.sequence_num ,
atl.due_percent , --percentual
atl.due_amount , --valor
atl.due_days , --dias
atl.due_day_of_month , --dias_mes
atl.due_months_forward , --meses
atl.discount_percent , --perc_desc
atl.discount_days , --dias_desc
atl.discount_day_of_month , --dias_mes_desc
atl.discount_months_forward, --meses_desc
atl.fixed_date,
apt.language --bug 9702059
FROM ap_terms_lines atl,
ap_terms_tl apt
WHERE atl.term_id = apt.term_id;
SELECT rct.org_id,
rctl.customer_trx_id,
rctl.memo_line_id,
rctl.customer_trx_line_id,
rctl.inventory_item_id rctl_inventory_item_id, --BUG 18147253
rctl.description rctl_description, --BUG 18147253
rctl.line_number,
rct.trx_number, --num_docfis
rct.trx_date, --dt_emissao
rctl.set_of_books_id,
oolaconf.inventory_item_id, --BUG 18147253 It
will be shown the Start Item Id
oolaconf.ordered_item description, --BUG 18147253 It
will be shown the Start Item Description
rctl.quantity_invoiced, --quantidade
NVL(rctl.gross_unit_selling_price,rctl.unit_selling_price ) unit_price, --
preco_unitario
NVL(rctl.gross_unit_selling_price,rctl.unit_selling_price) *
NVL(rctl.quantity_invoiced,0) total_price, --preco_total
(SELECT SUM(acctd_amount)
FROM ra_cust_trx_line_gl_dist_all
WHERE customer_trx_id = rct.customer_trx_id
AND account_class = 'REC'
) total_invoice_funct_curr_amt, --BUG 18289198
rctl.sales_order,
rctl.sales_order_revision,
rctl.sales_order_line,
rctl.sales_order_date,
rctl.line_type,
rctl.extended_amount item_total_value, --valor_total_item
rctl.revenue_amount,
rctl.link_to_cust_trx_line_id, --id_item_origem
rctl.uom_code, --cod_medida
rctl.vat_tax_id,
rctl.reason_code,
NVL(rctl.gross_extended_amount,rctl.extended_amount) vl_item, --
valor_item
rctl.taxable_amount, --valor_base
rctl.amount_includes_tax_flag includes_tax_value, --vlr_inclui_imposto
oola.ato_line_id,
rctlato.customer_trx_line_id ato_customer_trx_line_id
FROM ra_customer_trx_lines_all rctl,
ra_customer_trx_all rct,
oe_order_lines_all oola,
--
oe_order_lines_all oolato,
ra_customer_trx_lines_all rctlato,
oe_order_lines_all oolaconf --BUG 18147253
--
WHERE rct.customer_trx_id = rctl.customer_trx_id
AND rct.org_id = rctl.org_id
AND rct.complete_flag = 'Y'
AND rctl.line_type = 'LINE'
AND rctl.interface_line_context = 'ORDER ENTRY'
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
97
AND rctlato.interface_line_context = 'ORDER ENTRY'
--
AND TO_NUMBER(rctl.interface_line_attribute6) = oola.line_id
AND oola.header_id = oolato.header_id
AND rctlato.inventory_item_id = oolato.inventory_item_id
AND oola.ato_line_id = oolato.line_id
AND rctl.customer_trx_id = rctlato.customer_trx_id
AND TO_NUMBER(rctlato.interface_line_attribute6) = oolato.ato_line_id --BUG
18147253
AND oolaconf.header_id = oola.header_id --BUG 18147253
AND oolaconf.item_type_code = 'CONFIG' --BUG 18147253
AND oolaconf.ato_line_id = oola.ato_line_id --BUG 18147253
AND oolato.open_flag = 'N'
Null /
Column Type of Data Description
Not Null
ORG_ID NOT NULL NUMBER Organization identifier
CUSTOMER_TRX_ID NUMBER This is the unique
NOT NULL
identifier for the invoice.
MEMO_LINE_ID NUMBER Reference with credit
memo line.
CUSTOMER_TRX_LIN This is the unique
E_ID NOT NULL NUMBER identifier for the line
invoice.
RCTL_INVENTORY_IT
EM_ID NOT NULL NUMBER Inventory item identifier.
RCTL_DESCRIPTION
Line description
LINE_NUMBER This is the line number
NOT NULL NUMBER
for the invoice.
TRX_NUMBER This is the transaction
NOT NULL VARCHAR2(20)
number for the invoice.
TRX_DATE This is the transaction
NOT NULL DATE
date for the invoice.
SET_OF_BOOKS_ID This is the ledger ID for
this transaction. If no
value exists, then
NOT NULL NUMBER
Receivables defaults
the ledger from the
System Options.
INVENTORY_ITEM_ID Inventory item identifier
NOT NULL NUMBER to ATO Main(Config)
item.
DESCRIPTION Line description to ATO
VARCHAR2(240)
Main(Config) item.
QUANTITY_INVOICED Quantity of invoice line.
NOT NULL NUMBER
Required for Invoices.
UNIT_PRICE NOT NULL NUMBER List price per unit.
TOTAL_PRICE NOT NULL NUMBER Transaction line amount.
TOTAL_INVOICE_FUN Total Invoice Amount in
CT_CURR_AMT NOT NULL NUMBER the Funcional Currency
Code
SALES_ORDER VARCHAR2(50) Sales order number for
this transaction.
Default: None
Validation: Must be
defined under AR
lookup
type
'REV_ADJ_REASON'
VL_ITEM NUMBER Transaction line amount.
TAXABLE_AMOUNT NUMBER Total tax line.
INCLUDES_TAX_VAL VARCHAR2(1) If this lines includes
UE tax values.
Values: Yes/No
ATO_LINE_ID NUMBER This column pointing
to its ATO Model line.
ATO_CUSTOMER_TRX NUMBER This column pointing
_LINE_ID to main line of the
invoice ATO line.
CLL_F255_AR_INVOICE_ATO_TAX_V
Selects the information in the CLL_F255_AR_INVOICE_ATO_TAX_V view together with
other columns that are referred to
SELECT cfaialv.org_id,
rctlatotax.customer_trx_id,
rctlatotax.memo_line_id,
Null /
Column Type of Data Description
Not Null
ORG_ID NOT NULL NUMBER Organization identifier
CUSTOMER_TRX_ID NUMBER This is the unique
NOT NULL
identifier for the invoice.
MEMO_LINE_ID NUMBER Reference with credit
memo line.
CUSTOMER_TRX_LIN NUMBER This is the unique
E_ID NOT NULL identifier for the line
invoice.
LINE_NUMBER NUMBER This is the line number
NOT NULL
for the invoice.
TRX_NUMBER VARCHAR2(20) This is the transaction
NOT NULL
number for the invoice.
TRX_DATE DATE This is the transaction
NOT NULL
date for the invoice.
SET_OF_BOOKS_ID NUMBER This is the ledger ID for
this transaction. If no
value exists, then
Receivables defaults the
ledger from the System
Options.
INVENTORY_ITEM_ID NUMBER Inventory item identifier.
DESCRIPTION VARCHAR2(240) Line description.
Default: None
Validation: Must be
defined under AR
lookup
type
'REV_ADJ_REASON'
VL_ITEM NUMBER Transaction line amount.
TAXABLE_AMOUNT NUMBER Total tax line.
INCLUDES_TAX_VAL VARCHAR2(1) If this lines includes tax
UE values.
Values: Yes/No
ATO_LINE_ID NUMBER This column pointing to
its ATO Model line.
ATO_CUSTOMER_TRX NUMBER This column pointing to
_LINE_ID main line of the invoice
ATO line.
ATTRIBUTE1 VARCHAR2(150) Descriptive flexfield
segment
ATTRIBUTE2 VARCHAR2(150) Descriptive flexfield
segment
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
102
ATTRIBUTE3 VARCHAR2(150) Descriptive flexfield
segment
ATTRIBUTE4 VARCHAR2(150) Descriptive flexfield
segment
ATTRIBUTE5 VARCHAR2(150) Descriptive flexfield
segment
ATTRIBUTE6 VARCHAR2(150) Descriptive flexfield
segment
ATTRIBUTE7 VARCHAR2(150) Descriptive flexfield
segment
ATTRIBUTE8 VARCHAR2(150) Descriptive flexfield
segment
ATTRIBUTE9 VARCHAR2(150) Descriptive flexfield
segment
ATTRIBUTE10 VARCHAR2(150) Descriptive flexfield
segment
ATTRIBUTE11 VARCHAR2(150) Descriptive flexfield
segment
ATTRIBUTE12 VARCHAR2(150) Descriptive flexfield
segment
ATTRIBUTE13 VARCHAR2(150) Descriptive flexfield
segment
ATTRIBUTE14 VARCHAR2(150) Descriptive flexfield
segment
ATTRIBUTE15 VARCHAR2(150) Descriptive flexfield
segment
GLOBAL_ATTRIBUTE1 VARCHAR2(150) Reserved For
Globalization
Functionality
GLOBAL_ATTRIBUTE2 VARCHAR2(150) Reserved For
Globalization
Functionality
GLOBAL_ATTRIBUTE3 VARCHAR2(150) Reserved For
Globalization
Functionality
GLOBAL_ATTRIBUTE4 VARCHAR2(150) Reserved For
Globalization
Functionality
GLOBAL_ATTRIBUTE5 VARCHAR2(150) Reserved For
Globalization
Functionality
GLOBAL_ATTRIBUTE6 VARCHAR2(150) Reserved For
Globalization
Functionality
GLOBAL_ATTRIBUTE7 VARCHAR2(150) Reserved For
Globalization
Functionality
GLOBAL_ATTRIBUTE8 VARCHAR2(150) Reserved For
Globalization
Functionality
GLOBAL_ATTRIBUTE9 VARCHAR2(150) Reserved For
Globalization
Functionality
CLL_F255_AR_CASH_RECEIPTS_V
Selects the information in the CLL_F255_AR_CASH_RECEIPTS_V view together with
other columns that are referred to
SELECT
ara.org_id,
ara.receivable_application_id,
acr.receipt_number,
acr.type,
acr.status,
acr.currency_code,
acr.pay_from_customer,
acr.customer_site_use_id,
acr.customer_bank_account_id,
acr.customer_bank_branch_id,
acr.remittance_bank_account_id,
CLL_F255_AR_CUSTOMERS_V
Selects the information in the CLL_F255_AR_CUSTOMERS_V view together with other
columns that are referred to
SELECT
hcas.org_id,
hcas.cust_account_id customer_id,
hcas.cust_acct_site_id address_id ,
hcas.party_site_id ,
DECODE(hcas.global_attribute2,'2',DECODE(LENGTH(LTRIM(RTRIM(hcas.global_attri
bute3))),9,
SUBSTR(hcas.global_attribute3,2,8),
SUBSTR(hcas.global_attribute3,1,8)) ||
SUBSTR(hcas.global_attribute4,1,4) ||
SUBSTR(hcas.global_attribute5,1,2),'1',SUBSTR(hcas.global_attribute3,1,9) ||
SUBSTR(LTRIM(hcas.global_attribute5),1,2),
SUBSTR(hcas.global_attribute3,1,14)) document_number,
DECODE(hcas.global_attribute2,'2','CNPJ','1','CPF','OUTROS') document_type,
hcas.global_attribute6 ie,
hcas.global_attribute7 municipal_inscription,
hcas.global_attribute8 establishment,
hcas.bill_to_flag,
hcas.market_flag,
hcas.ship_to_flag,
hcas.territory,
loc.location_id,
hcas.attribute1,
hcas.attribute2,
hcas.attribute3,
hcas.attribute4,
hcas.attribute5,
hcas.attribute6 ,
hcas.attribute7 ,
hcas.attribute8 ,
hcas.attribute9 ,
hcas.attribute10 ,
hcas.attribute11 ,
hcas.attribute12 ,
hcas.attribute13 ,
hcas.attribute14 ,
hcas.attribute15 ,
hcas.global_attribute1 ,
hcas.global_attribute2 ,
hcas.global_attribute3 ,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
110
hcas.global_attribute4 ,
hcas.global_attribute5 ,
hcas.global_attribute6 ,
hcas.global_attribute7 ,
hcas.global_attribute8 ,
hcas.global_attribute9 ,
hcas.global_attribute10 ,
hcas.global_attribute11 , -----ENH 11795659 - Withholding Nature Indicator
hcas.global_attribute12 ,
hcas.global_attribute13 ,
hcas.global_attribute14 ,
hcas.global_attribute15 ,
hcas.global_attribute16 ,
hcas.global_attribute17 ,
hcas.global_attribute18 ,
hcas.global_attribute19 ,
hcas.global_attribute20 ,
ac.sales_channel_code,
ac.customer_category_code,
ac.customer_key,
ac.freight_term,
ac.ship_partial,
ac.ship_via,
ac.global_attribute1 cust_global_attribute1,
ac.global_attribute2 cust_global_attribute2,
ac.global_attribute3 cust_global_attribute3,
ac.global_attribute4 cust_global_attribute4,
ac.global_attribute5 cust_global_attribute5,
ac.global_attribute6 cust_global_attribute6,
ac.global_attribute7 cust_global_attribute7,
ac.global_attribute8 cust_global_attribute8,
ac.global_attribute9 cust_global_attribute9,
ac.global_attribute10 cust_global_attribute10,
ac.global_attribute11 cust_global_attribute11,
ac.global_attribute12 cust_global_attribute12,
ac.global_attribute13 cust_global_attribute13,
ac.global_attribute14 cust_global_attribute14,
ac.global_attribute15 cust_global_attribute15,
ac.global_attribute16 cust_global_attribute16,
ac.global_attribute17 cust_global_attribute17,
ac.global_attribute18 cust_global_attribute18,
ac.global_attribute19 cust_global_attribute19,
ac.global_attribute20 cust_global_attribute20,
hcsu.site_use_id ,
hcsu.site_use_code ,
hcsu.primary_flag ,
hcsu.status ,
hcsu.location ,
hcsu.bill_to_site_use_id ,
hcsu.fob_point ,
hcsu.warehouse_id ,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
111
hcsu.territory_id ,
hcsu.sic_code ,
hcsu.gl_id_rec ,
hcsu.gl_id_rev ,
hcsu.gl_id_tax ,
hcsu.gl_id_freight ,
hcsu.gl_id_clearing ,
hcsu.gl_id_unbilled ,
hcsu.gl_id_unearned ,
hcsu.attribute1 site_attribute1,
hcsu.attribute2 site_attribute2,
hcsu.attribute3 site_attribute3,
hcsu.attribute4 site_attribute4,
hcsu.attribute5 site_attribute5,
hcsu.attribute6 site_attribute6,
hcsu.attribute7 site_attribute7,
hcsu.attribute8 site_attribute8,
hcsu.attribute9 site_attribute9,
hcsu.attribute10 site_attribute10,
hcsu.attribute11 site_attribute11,
hcsu.attribute12 site_attribute12,
hcsu.attribute13 site_attribute13,
hcsu.attribute14 site_attribute14,
hcsu.attribute15 site_attribute15,
hcsu.attribute16 site_attribute16,
hcsu.attribute17 site_attribute17,
hcsu.attribute18 site_attribute18,
hcsu.attribute19 site_attribute19,
hcsu.attribute20 site_attribute20,
hcsu.attribute21 site_attribute21,
hcsu.attribute22 site_attribute22,
hcsu.attribute23 site_attribute23,
hcsu.attribute24 site_attribute24,
hcsu.attribute25 site_attribute25,
hcsu.global_attribute1 site_global_attribute1,
hcsu.global_attribute2 site_global_attribute2,
hcsu.global_attribute3 site_global_attribute3,
hcsu.global_attribute4 site_global_attribute4,
hcsu.global_attribute5 site_global_attribute5,
hcsu.global_attribute6 site_global_attribute6,
hcsu.global_attribute7 site_global_attribute7,
hcsu.global_attribute8 site_global_attribute8,
hcsu.global_attribute9 site_global_attribute9,
hcsu.global_attribute10 site_global_attribute10,
hcsu.global_attribute11 site_global_attribute11,
hcsu.global_attribute12 site_global_attribute12,
hcsu.global_attribute13 site_global_attribute13,
hcsu.global_attribute14 site_global_attribute14,
hcsu.global_attribute15 site_global_attribute15,
hcsu.global_attribute16 site_global_attribute16,
hcsu.global_attribute17 site_global_attribute17,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
112
hcsu.global_attribute18 site_global_attribute18,
hcsu.global_attribute19 site_global_attribute19,
hcsu.global_attribute20 site_global_attribute20,
hcp.email_address email_party_site,
hcp.contact_point_type,
loc.province, --BUG 17177951
loc.county, --BUG 17177951
hca.global_attribute1 hca_global_attribute1, -- BUG 19440714 - R12.CLL -
BRAZILIAN ELECTRONIC INVOICE - NFE 3.01
hca.global_attribute2 hca_global_attribute2, -- BUG 19440714 - R12.CLL -
BRAZILIAN ELECTRONIC INVOICE - NFE 3.01
hca.global_attribute3 hca_global_attribute3, -- BUG 19440714 - R12.CLL -
BRAZILIAN ELECTRONIC INVOICE - NFE 3.01
hca.global_attribute4 hca_global_attribute4, -- BUG 19440714 - R12.CLL -
BRAZILIAN ELECTRONIC INVOICE - NFE 3.01
hca.global_attribute5 hca_global_attribute5, -- BUG 19440714 - R12.CLL -
BRAZILIAN ELECTRONIC INVOICE - NFE 3.01
hca.global_attribute6 hca_global_attribute6, -- BUG 19440714 - R12.CLL -
BRAZILIAN ELECTRONIC INVOICE - NFE 3.01
hca.global_attribute7 hca_global_attribute7, -- BUG 19440714 - R12.CLL -
BRAZILIAN ELECTRONIC INVOICE - NFE 3.01
hca.global_attribute8 hca_global_attribute8, -- BUG 19440714 - R12.CLL -
BRAZILIAN ELECTRONIC INVOICE - NFE 3.01
hca.global_attribute9 hca_global_attribute9, -- BUG 19440714 - R12.CLL -
BRAZILIAN ELECTRONIC INVOICE - NFE 3.01
hca.global_attribute10 hca_global_attribute10, -- BUG 19440714 - R12.CLL -
BRAZILIAN ELECTRONIC INVOICE - NFE 3.01
hca.global_attribute11 hca_global_attribute11, -- BUG 19440714 - R12.CLL -
BRAZILIAN ELECTRONIC INVOICE - NFE 3.01
hca.global_attribute12 hca_global_attribute12, -- BUG 19440714 - R12.CLL -
BRAZILIAN ELECTRONIC INVOICE - NFE 3.01
hca.global_attribute13 hca_global_attribute13, -- BUG 19440714 - R12.CLL -
BRAZILIAN ELECTRONIC INVOICE - NFE 3.01
hca.global_attribute14 hca_global_attribute14, -- BUG 19440714 - R12.CLL -
BRAZILIAN ELECTRONIC INVOICE - NFE 3.01
hca.global_attribute15 hca_global_attribute15, -- BUG 19440714 - R12.CLL -
BRAZILIAN ELECTRONIC INVOICE - NFE 3.01
hca.global_attribute16 hca_global_attribute16, -- BUG 19440714 - R12.CLL -
BRAZILIAN ELECTRONIC INVOICE - NFE 3.01
hca.global_attribute17 hca_global_attribute17, -- BUG 19440714 - R12.CLL -
BRAZILIAN ELECTRONIC INVOICE - NFE 3.01
hca.global_attribute18 hca_global_attribute18, -- BUG 19440714 - R12.CLL -
BRAZILIAN ELECTRONIC INVOICE - NFE 3.01
hca.global_attribute19 hca_global_attribute19, -- BUG 19440714 - R12.CLL -
BRAZILIAN ELECTRONIC INVOICE - NFE 3.01
hca.global_attribute20 hca_global_attribute20 -- BUG 19440714 - R12.CLL -
BRAZILIAN ELECTRONIC INVOICE - NFE 3.01
FROM hz_cust_acct_sites_all hcas,
hz_cust_accounts hca,
hz_cust_site_uses_all hcsu,
hz_contact_points hcp,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
113
hz_party_sites hps,
hz_locations loc,
ar_customers ac
WHERE ac.customer_id = hcas.cust_account_id
AND hcas.cust_acct_site_id = hcsu.cust_acct_site_id
AND hca.cust_account_id = hcas.cust_account_id
AND hcas.party_site_id = hps.party_site_id
AND hps.location_id = loc.location_id
AND hcp.owner_table_id (+) = hps.party_site_id
AND hcp.primary_flag (+) = 'Y'
AND hcp.owner_table_name (+) = 'HZ_PARTY_SITES';
Null /
Column Type of Data Description
Not Null
ORG_ID NUMBER(15,0) Organization identifier
Identifier for a
customer account.
CUSTOMER_ID NOT NULL NUMBER(15,0) Foreign key to the
HZ_CUST_ACCOUN
TS table
Customer site
ADDRESS_ID NOT NULL NUMBER(15,0)
identifier
Identifier for a party
site. Foreign key to the
PARTY_SITE_ID NOT NULL NUMBER(15,0)
HZ_PARTY_SITES
table
Identifier for the party.
PARTY_ID NOT NULL NUMBER(15,0) Foreign key to the
HZ_PARTIES table
User-defined name for
PARTY_SITE_NAME VARCHAR2(240)
the site
CUSTOMER_NAME VARCHAR2(50) Customer Name
CUSTOMER_NUMBER NOT NULL VARCHAR2(30) Customer Number
CUSTOMER_TYPE VARCHAR2(30) Customer Type
ADDRESS1 NOT NULL VARCHAR2(240) First line for address
ADDRESS2 VARCHAR2(240) Second line for address
ADDRESS3 VARCHAR2(240) Third line for address
ADDRESS4 VARCHAR2(240) Fourth line for address
Country code from the
TERRITORY_CODE
COUNTRY NOT NULL VARCHAR2(60) column in the
FND_TERRITORY
table
CITY VARCHAR2(60) City
STATE VARCHAR2(60) State
POSTAL_CODE VARCHAR2(60) Postal Code
CLL_F255_AR_INVOICE_ITEMS_GL_V
Selects the information in the CLL_F255_AR_INVOICE_ITEMS_GL_V view together
with other columns that are referred to
SELECT
rctl.org_id,
rct.trx_number,
nvl(rct.printing_last_printed,rct.trx_date) trx_date,
rct.invoice_currency_code,
rct.term_due_date ,
nvl(rctt.global_attribute1,'NFF') document_code,
rctt.name nature_operation_code,
rctt.set_of_books_id,
rctt.global_attribute2 movement_in_out,
rctt.global_attribute3 code_cfop,
rctl.account_set_flag,
decode(rctl.account_class, 'REC' ,'NF',
'REV' , 'ITEM',
'TAX' , 'TAX' ,
'CHARGES','CHARGES' ) line_type,
rctl.customer_trx_id ,
rctl.customer_trx_line_id ,
rctl.code_combination_id,
rctl.gl_date ,
rctl.gl_posted_date,
rctl.amount,
rct.receipt_method_id,
rctl.attribute_category ,
rctl.attribute1,
rctl.attribute2,
rctl.attribute3,
rctl.attribute4,
Null /
Column Type of Data Description
Not Null
ORG_ID NUMBER(15,0) Organization identifier
TRX_NUMBER NOT NULL VARCHAR2(20) Trx Number
TRX_DATE DATE Trx Date
INVOICE_CURRENCY
VARCHAR2(15) Invoice Currency Code
_CODE
TERM_DUE_DATE DATE Term Due Date
Reserved for country-
DOCUMENT_CODE VARCHAR2(150) specific functionality –
Default: NFF
NATURE_OPERATIO
VARCHAR2(20) Transaction type name
N_CODE
SET_OF_BOOKS_ID NUMBER(15,0) Set Of Books
Reserved for country-
MOVEMENT_IN_OUT VARCHAR2(150)
specific functionality
Reserved for country-
CODE_CFOP VARCHAR2(150)
specific functionality
ACCOUNT_SET_FLA
NOT NULL VARCHAR2(1) Account Set flag
G
LINE_TYPE VARCHAR2(7) Line Type
CUSTOMER_TRX_ID NOT NULL NUMBER(15,0) Customer TRX Id
CUSTOMER_TRX_LIN
NUMBER(15,0) Customer TRX Line Id
E_ID
CODE_COMBINATIO
NOT NULL NUMBER(15,0) Code Combination Id
N_ID
GL_DATE DATE GL Date
GL_POSTED_DATE DATE GL Posted Date
AMOUNT NUMBER Amount
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
122
RECEIPT_METHOD_I
NUMBER(15,0) Receipt Method Id
D
Descriptive flexfield
ATTRIBUTE_CATEGO
VARCHAR2(30) structure definition
RY
column
Descriptive flexfield
ATTRIBUTE1 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE2 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE3 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE4 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE5 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE6 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE7 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE8 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE9 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE10 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE11 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE12 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE13 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE14 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE15 VARCHAR2(150)
segment
CLL_F255_AR_INVOICE_ITEMS_V
SELECT rct.org_id,
rctl.customer_trx_id,
rctl.memo_line_id,
rctl.customer_trx_line_id ,
rctl.line_number ,
Null /
Column Type of Data Description
Not Null
ORG_ID NUMBER(15,0) Organization identifier
CUSTOMER_TRX_ID NOT NULL NUMBER(15,0) Trx Number
MEMO_LINE_ID NUMBER(15,0) Memo Line Id
CUSTOMER_TRX_LIN
NOT NULL NUMBER(15,0) Customer Trx Line Id
E_ID
LINE_NUMBER NOT NULL NUMBER Line Number
TRX_NUMBER NOT NULL VARCHAR2(20) Trx Number
TRX_DATE NOT NULL DATE Trx Date
SET_OF_BOOKS_ID NOT NULL NUMBER(15,0) Set of Books Id
INVENTORY_ITEM_I
NUMBER(15,0) Inventory Item Id
D
DESCRIPTION VARCHAR2(240) Description
QUANTITY_INVOICE
NUMBER Quantity Invoiced
D
UNIT_PRICE NUMBER Unit Price
TOTAL_PRICE NUMBER Total Price
TOTAL_INVOICE_FUN Total Invoice Amount in
CT_CURR_AMT NOT NULL NUMBER the Funcional Currency
Code
SALES_ORDER VARCHAR2(50) Sales Order
SALES_ORDER_REVIS
NUMBER Sales Order Revision
ION
SALES_ORDER_LINE VARCHAR2(30) Sales Order Line
SALES_ORDER_DATE DATE Sales Order Date
LINE_TYPE NOT NULL VARCHAR2(20) Line Type
ITEM_TOTAL_VALUE NOT NULL NUMBER Item Total Value
REVENUE_AMOUNT NUMBER Revenue Amount
LINK_TO_CUST_TRX_ Link To Cust Trx Line
NUMBER(15,0)
LINE_ID Id
UOM_CODE VARCHAR2(3) Uom Code
VAT_TAX_ID NUMBER(15,0) Val Tax Id
REASON_CODE VARCHAR2(30) Reason Code
VL_ITEM NUMBER Value Item
TAXABLE_AMOUNT NUMBER Taxable Amount
INCLUDES_TAX_VAL
VARCHAR2(1) Includes tax value
UE
CODE_CFO VARCHAR2(150) Code CFO
CODE_NBM VARCHAR2(150) Code NBM
TAXE_CODE VARCHAR2(150) Taxe Code
TYPE_ITEM_ORIGIN VARCHAR2(150) Type Item Origin
TAX_TYPE_ITEM VARCHAR2(150) Tax Type Item
STATE_FEDERAL_TA State Federal Tax
VARCHAR2(150)
X_CODE Code
STATE_STATE_TAX_C
VARCHAR2(150) State State Tax Code
ODE
MESSAGE_1 VARCHAR2(150) Message 1
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
135
MESSAGE_2 VARCHAR2(150) Message 2
MESSAGE_3 VARCHAR2(150) Message 3
VL_BASE VARCHAR2(150) Rate Deduction
RATE_REDUCTION VARCHAR2(150) Value Base
NATURE_OPERATIO Nature Operation
VARCHAR2(150)
N_CODE Code
Reserved For
GLOBAL_ATTRIBUTE
VARCHAR2(150) Globalization
13
Functionality
Reserved For
GLOBAL_ATTRIBUTE
VARCHAR2(150) Globalization
14
Functionality
Reserved For
GLOBAL_ATTRIBUTE
VARCHAR2(150) Globalization
15
Functionality
Reserved For
GLOBAL_ATTRIBUTE
VARCHAR2(150) Globalization
16
Functionality
Reserved For
GLOBAL_ATTRIBUTE
VARCHAR2(150) Globalization
17
Functionality
Reserved For
GLOBAL_ATTRIBUTE
VARCHAR2(150) Globalization
18
Functionality
Reserved For
GLOBAL_ATTRIBUTE
VARCHAR2(150) Globalization
19
Functionality
Reserved For
GLOBAL_ATTRIBUTE
VARCHAR2(150) Globalization
20
Functionality
INTERFACE_LINE_CO
VARCHAR2(30) Interface Line Context
NTEXT
INTERFACE_LINE_AT
VARCHAR2(30) Interface Line Context
TRIBUTE1
INTERFACE_LINE_AT
VARCHAR2(30) Interface Line Context
TRIBUTE2
INTERFACE_LINE_AT
VARCHAR2(30) Interface Line Context
TRIBUTE3
INTERFACE_LINE_AT
VARCHAR2(30) Interface Line Context
TRIBUTE4
INTERFACE_LINE_AT
VARCHAR2(30) Interface Line Context
TRIBUTE5
INTERFACE_LINE_AT
VARCHAR2(30) Interface Line Context
TRIBUTE6
INTERFACE_LINE_AT
VARCHAR2(30) Interface Line Context
TRIBUTE7
INTERFACE_LINE_AT
VARCHAR2(30) Interface Line Context
TRIBUTE8
INTERFACE_LINE_AT
VARCHAR2(30) Interface Line Context
TRIBUTE9
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
136
INTERFACE_LINE_AT
VARCHAR2(30) Interface Line Context
TRIBUTE10
INTERFACE_LINE_AT
VARCHAR2(30) Interface Line Context
TRIBUTE11
INTERFACE_LINE_AT
VARCHAR2(30) Interface Line Context
TRIBUTE12
INTERFACE_LINE_AT
VARCHAR2(30) Interface Line Context
TRIBUTE13
INTERFACE_LINE_AT
VARCHAR2(30) Interface Line Context
TRIBUTE14
INTERFACE_LINE_AT
VARCHAR2(30) Interface Line Context
TRIBUTE15
WAREHOUSE VARCHAR2(40) Warehouse
Organization
ORGANIZATION_ID NUMBER(15,0)
identifier
VARCHAR2(400
WAREHOUSE_CNPJ Warehouse CNPJ
0)
VARCHAR2(400
WAREHOUSE_IE Warehouse IE
0)
Descriptive flexfield
ATTRIBUTE1 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE2 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE3 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE4 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE5 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE6 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE7 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE8 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE9 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE10 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE11 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE12 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE13 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE14 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE15 VARCHAR2(150)
segment
CLL_F255_AR_INVOICE_PARENTS_V
Selects the information in the CLL_F255_AR_INVOICE_PARENTS_V view together with
other columns that are referred to
SELECT
rac.org_id ,
rct.customer_trx_id parent_customer_trx_id ,
rct.trx_number,
rct.trx_date,
substr(rbs.global_attribute1,1,1) series,
substr(rbs.global_attribute1,2,5) sub_series,
rac.customer_trx_id ,
rac.trx_number parent_trx_number,
rac.trx_date parent_trx_date,
rct.global_attribute1 rct_global_attribute1,
rct.global_attribute2 rct_global_attribute2,
rct.global_attribute3 rct_global_attribute3,
rct.global_attribute4 rct_global_attribute4,
rct.global_attribute5 rct_global_attribute5,
rct.global_attribute6 rct_global_attribute6,
rct.global_attribute7 rct_global_attribute7,
rct.global_attribute8 rct_global_attribute8,
rct.global_attribute9 rct_global_attribute9,
rct.global_attribute10 rct_global_attribute10,
rct.global_attribute11 rct_global_attribute11,
rct.global_attribute12 rct_global_attribute12,
rct.global_attribute13 rct_global_attribute13,
rct.global_attribute14 rct_global_attribute14,
rct.global_attribute15 rct_global_attribute15,
rct.global_attribute16 rct_global_attribute16,
rct.global_attribute17 rct_global_attribute17,
rct.global_attribute18 rct_global_attribute18,
rct.global_attribute19 rct_global_attribute19,
rct.global_attribute20 rct_global_attribute20,
rct.global_attribute_category rct_global_attribute_category,
rct.global_attribute21 rct_global_attribute21,
rct.global_attribute22 rct_global_attribute22,
rct.global_attribute23 rct_global_attribute23,
rct.global_attribute24 rct_global_attribute24,
rct.global_attribute25 rct_global_attribute25,
rct.global_attribute26 rct_global_attribute26,
rct.global_attribute27 rct_global_attribute27,
Null /
Column Type of Data Description
Not Null
ORG_ID NUMBER(15,0) Organization identifier
ID_INVOICE_PARENT NOT NULL NUMBER(15,0) Invoice Parent
TRX_NUMBER NOT NULL VARCHAR2(20) Trx Number
TRX_DATE NOT NULL DATE Trx Date
SERIES VARCHAR2(3) Series
SUB_SERIES VARCHAR2(15) Sub Series
CUSTOMER_TRX_ID NOT NULL NUMBER(15,0) Customer Trx Id
NUM_DOCFIS NOT NULL VARCHAR2(20) Num Docfis
DT_NF NOT NULL DATE Dt Nf
Reserved For
RCT_GLOBAL_ATTRI
VARCHAR2(150) Globalization
BUTE1
Functionality
Reserved For
RCT_GLOBAL_ATTRI
VARCHAR2(150) Globalization
BUTE2
Functionality
Reserved For
RCT_GLOBAL_ATTRI
VARCHAR2(150) Globalization
BUTE3
Functionality
Reserved For
RCT_GLOBAL_ATTRI
VARCHAR2(150) Globalization
BUTE4
Functionality
Reserved For
RCT_GLOBAL_ATTRI
VARCHAR2(150) Globalization
BUTE5
Functionality
Reserved For
RCT_GLOBAL_ATTRI
VARCHAR2(150) Globalization
BUTE6
Functionality
Reserved For
RCT_GLOBAL_ATTRI
VARCHAR2(150) Globalization
BUTE7
Functionality
Reserved For
RCT_GLOBAL_ATTRI
VARCHAR2(150) Globalization
BUTE8
Functionality
CLL_F255_AR_INVOICES_V
Selects the information in the CLL_F255_AR_INVOICES_V view together with other
columns that are referred to
SELECT DISTINCT
rct.org_id,
hou.name,
-- cll_f255_utils_pkg.get_jurisdiction(hou.location_id, ood.legal_entity, 'FEDERAL_TAX') ou_cnpj, --BUG 9710872
-- cll_f255_utils_pkg.get_jurisdiction(hou.location_id, ood.legal_entity, 'INCOME_TAX') ou_ie, --BUG 9710872
cll_f255_utils_pkg.get_jurisdiction(hou.location_id, rct.legal_entity_id, 'FEDERAL_TAX') ou_cnpj,
cll_f255_utils_pkg.get_jurisdiction(hou.location_id, rct.legal_entity_id, 'INCOME_TAX') ou_ie,
rct.customer_trx_id ,
rct.trx_number , --num_docfis
rbs.global_attribute3 series, --serie
rbs.global_attribute4 sub_series,
nvl(rbs.global_attribute2,rct.org_id) company, --empresa
rct.trx_date , --data_emissao
rct.ship_to_site_use_id ,
rct.bill_to_site_use_id ,
rct.sold_to_site_use_id ,
rct.remit_to_address_id ,
rct.global_attribute1 interest_type, --tp_interesse
rct.global_attribute2 vl_interest, --vlr_interesse
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
143
rct.global_attribute3 period_days, --periodo_dias
rct.global_attribute4 interest_form, --form_interesse
rct.global_attribute5 free_days, --dias_graca
rct.global_attribute6 penalty, --penalidade
rct.global_attribute7 vl_penalty, --vlr_penalidade
rct.global_attribute8 departure_date, --data_saida_rec
rct.global_attribute9 vl_freight, --vlr_frete
rct.global_attribute10 insurance_value, --vlr_seguro
rct.global_attribute11 vl_others, --vlr_outras
rct.global_attribute12 license_plate, --placa_veiculo
rct.global_attribute13 bulk, --volume
rct.global_attribute14 species_turnover, --especie_volume
rct.global_attribute15 bulk_number, --nr_volume
rct.global_attribute16 weight, --peso_bruto
rct.global_attribute17 net_weight, --peso_liquido
rct.global_attribute18 ,
rct.global_attribute19 ,
rct.global_attribute20 ,
rct.global_attribute21 ,
rct.global_attribute22 ,
rct.global_attribute23 ,
rct.global_attribute24 ,
rct.global_attribute25 ,
rct.global_attribute26 ,
rct.global_attribute27 ,
rct.global_attribute28 ,
rct.global_attribute29 ,
rct.global_attribute30 ,
rct.attribute1 ,
rct.attribute2 ,
rct.attribute3 ,
rct.attribute4 ,
rct.attribute5 ,
rct.attribute6 ,
rct.attribute7 ,
rct.attribute8 ,
rct.attribute9 ,
rct.attribute10 ,
rct.attribute11 ,
rct.attribute12 ,
rct.attribute13 ,
rct.attribute14 ,
rct.attribute15 ,
rct.interface_header_attribute1 , --codigo do pedido
rct.interface_header_attribute2 , --tipo de transacao
rct.interface_header_attribute3 ,
rct.interface_header_attribute4 ,
rct.interface_header_attribute5 ,
rct.interface_header_attribute6 ,
rct.interface_header_attribute7 ,
rct.interface_header_attribute8 ,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
144
rct.interface_header_attribute9 ,
rct.interface_header_attribute10 , --id da organizacao de inventario
rct.interface_header_attribute11 ,
rct.interface_header_attribute12 ,
rct.interface_header_attribute13 ,
rct.interface_header_attribute14 ,
rct.interface_header_attribute15 ,
rct.interface_header_context ,
rct.complete_flag ,
rct.bill_to_address_id ,
rct.ship_to_customer_id ,
rct.ship_to_contact_id ,
rct.term_id ,
rct.term_due_date , --dt_vencto
rct.ship_via , --via_transporte
rct.batch_source_id ,
rct.cust_trx_type_id , --conforme view caibr_tipo_transacao_ar_v
rct.printing_original_date , --dt_impressao
rct.printing_last_printed , --dt_ult_impr
rct.purchase_order ,
rct.purchase_order_revision ,
rct.purchase_order_date ,
rct.comments , --comentarios
rct.invoice_currency_code , --moeda_nf
rct.ship_date_actual , --data_expedicao
rbs.name origin, --origem
rctt.gl_id_rec , --id_cta_rec
rctt.name nature_operation_code,-- cod_natureza_op
rctt.description , --descricao
rctt.set_of_books_id ,
rctt.global_attribute2 movement_in_out, --movto_e_s
NVL(rctt.global_attribute1,'NFF') code_document, --cod_docto
rctt.global_attribute3 , --cod_cfo
rctt.type , --tipo
rct.doc_sequence_value ,
rct.status_trx , --status_nf
rct.customer_bank_account_id ,
rct.fob_point ,
rct.waybill_number ,
rct.receipt_method_id ,
rbs.attribute_category ,
rbs.attribute1 batch_source_attribute1,
rbs.attribute2 batch_source_attribute2,
rbs.attribute3 batch_source_attribute3,
rbs.attribute4 batch_source_attribute4,
rbs.attribute5 batch_source_attribute5,
rbs.attribute6 batch_source_attribute6,
rbs.attribute7 batch_source_attribute7,
rbs.attribute8 batch_source_attribute8,
rbs.attribute9 batch_source_attribute9,
rbs.attribute10 batch_source_attribute10,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
145
rbs.attribute11 batch_source_attribute11,
rbs.attribute12 batch_source_attribute12,
rbs.attribute13 batch_source_attribute13,
rbs.attribute14 batch_source_attribute14,
rbs.attribute15 batch_source_attribute15,
rct.exchange_rate_type ,
rct.exchange_date ,
rct.exchange_rate ,
rct.previous_customer_trx_id,
rct.internal_notes,
rbs.global_attribute3 rbs_global_attribute3,
rbs.global_attribute4 rbs_global_attribute4,
rbs.global_attribute5 rbs_global_attribute5,
rbs.global_attribute6 rbs_global_attribute6,
rbs.global_attribute7 rbs_global_attribute7,
rctt.global_attribute5 type_global_attribute5,
jbct.legal_process_code,
jbct.legal_process_source_ind,
jbct.vehicle_plate_state_code,
jbct.vehicle_antt_inscription,
jbct.towing_veh_plate_number,
jbct.towing_veh_plate_state_code,
jbct.towing_veh_antt_inscription,
jbct.seal_number,
jbct.electronic_inv_web_address,
jbct.electronic_inv_status,
jbct.electronic_inv_access_key,
jbct.electronic_inv_protocol,
rct.sold_to_customer_id,
hcsu.cust_acct_site_id address_id,
wc.supplier_id carrier_id,
wc.supplier_site_id carrier_site_id,
rctt.post_to_gl,
rctt.accounting_affect_flag,
jbct.electronic_inv_access_key_id, --Bug 9973235 NFe
jbct.wagon_code, --Bug 9973235 NFe
jbct.ferry_code, --Bug 9973235 NFe
jbct.srv_exec_date, --ENH 11795659
rct.last_update_date, --ER 16501918
hca.global_attribute1 hca_global_attribute1, -- BUG 19440714 - R12.CLL - BRAZILIAN ELECTRONIC
INVOICE - NFE 3.01
hca.global_attribute2 hca_global_attribute2, -- BUG 19440714 - R12.CLL - BRAZILIAN ELECTRONIC
INVOICE - NFE 3.01
hca.global_attribute3 hca_global_attribute3, -- BUG 19440714 - R12.CLL - BRAZILIAN ELECTRONIC
INVOICE - NFE 3.01
hca.global_attribute4 hca_global_attribute4, -- BUG 19440714 - R12.CLL - BRAZILIAN ELECTRONIC
INVOICE - NFE 3.01
hca.global_attribute5 hca_global_attribute5, -- BUG 19440714 - R12.CLL - BRAZILIAN ELECTRONIC
INVOICE - NFE 3.01
hca.global_attribute6 hca_global_attribute6, -- BUG 19440714 - R12.CLL - BRAZILIAN ELECTRONIC
INVOICE - NFE 3.01
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
146
hca.global_attribute7 hca_global_attribute7, -- BUG 19440714 - R12.CLL - BRAZILIAN ELECTRONIC
INVOICE - NFE 3.01
hca.global_attribute8 hca_global_attribute8, -- BUG 19440714 - R12.CLL - BRAZILIAN ELECTRONIC
INVOICE - NFE 3.01
hca.global_attribute9 hca_global_attribute9, -- BUG 19440714 - R12.CLL - BRAZILIAN ELECTRONIC
INVOICE - NFE 3.01
hca.global_attribute10 hca_global_attribute10, -- BUG 19440714 - R12.CLL - BRAZILIAN ELECTRONIC
INVOICE - NFE 3.01
hca.global_attribute11 hca_global_attribute11, -- BUG 19440714 - R12.CLL - BRAZILIAN ELECTRONIC
INVOICE - NFE 3.01
hca.global_attribute12 hca_global_attribute12, -- BUG 19440714 - R12.CLL - BRAZILIAN ELECTRONIC
INVOICE - NFE 3.01
hca.global_attribute13 hca_global_attribute13, -- BUG 19440714 - R12.CLL - BRAZILIAN ELECTRONIC
INVOICE - NFE 3.01
hca.global_attribute14 hca_global_attribute14, -- BUG 19440714 - R12.CLL - BRAZILIAN ELECTRONIC
INVOICE - NFE 3.01
hca.global_attribute15 hca_global_attribute15, -- BUG 19440714 - R12.CLL - BRAZILIAN ELECTRONIC
INVOICE - NFE 3.01
hca.global_attribute16 hca_global_attribute16, -- BUG 19440714 - R12.CLL - BRAZILIAN ELECTRONIC
INVOICE - NFE 3.01
hca.global_attribute17 hca_global_attribute17, -- BUG 19440714 - R12.CLL - BRAZILIAN ELECTRONIC
INVOICE - NFE 3.01
hca.global_attribute18 hca_global_attribute18, -- BUG 19440714 - R12.CLL - BRAZILIAN ELECTRONIC
INVOICE - NFE 3.01
hca.global_attribute19 hca_global_attribute19, -- BUG 19440714 - R12.CLL - BRAZILIAN ELECTRONIC
INVOICE - NFE 3.01
hca.global_attribute20 hca_global_attribute20, -- BUG 19440714 - R12.CLL - BRAZILIAN ELECTRONIC
INVOICE - NFE 3.01
TO_CHAR(NULL) FISCAL_DOC_MODEL, -- BUG 19440714 - R12.CLL - BRAZILIAN
ELECTRONIC INVOICE - NFE 3.0
TO_CHAR(NULL) BUYER_PRESENCE_IND, -- BUG 19440714 - R12.CLL - BRAZILIAN
ELECTRONIC INVOICE - NFE 3
TO_CHAR(NULL) PAYMENT_METHOD1, -- BUG 19440714 - R12.CLL - BRAZILIAN
ELECTRONIC INVOICE - NFE 3.01
TO_NUMBER(NULL) PAYMENT_AMOUNT1, -- BUG 19440714 - R12.CLL - BRAZILIAN
ELECTRONIC INVOICE - NFE 3.01
TO_CHAR(NULL) PAYMENT_METHOD2, -- BUG 19440714 - R12.CLL - BRAZILIAN
ELECTRONIC INVOICE - NFE 3.01
TO_NUMBER(NULL) PAYMENT_AMOUNT2, -- BUG 19440714 - R12.CLL - BRAZILIAN
ELECTRONIC INVOICE - NFE 3.01
TO_CHAR(NULL) PAYMENT_METHOD3, -- BUG 19440714 - R12.CLL - BRAZILIAN
ELECTRONIC INVOICE - NFE 3.01
TO_NUMBER(NULL) PAYMENT_AMOUNT3 -- BUG 19440714 - R12.CLL - BRAZILIAN
ELECTRONIC INVOICE - NFE 3.01
FROM jl_br_customer_trx_exts jbct ,
ra_cust_trx_types_all rctt ,
ra_batch_sources_all rbs ,
-- org_organization_definitions ood, --BUG 9710872
hr_all_organization_units hou,
hz_cust_accounts hca,
hz_cust_site_uses_all hcsu,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
147
wsh_carriers_v wc,
ra_customer_trx_all rct
WHERE rct.org_id = rctt.org_id
AND rct.cust_trx_type_id = rctt.cust_trx_type_id
AND rct.complete_flag = 'Y'
AND rbs.batch_source_id = rct.batch_source_id
AND rbs.org_id = rct.org_id
AND rctt.type IN ('INV','CM','DM')
AND jbct.customer_trx_id (+) = rct.customer_trx_id
-- AND ood.operating_unit = rct.org_id --BUG 9710872
AND hou.organization_id = rct.org_id
-- AND rct.sold_to_customer_id = hca.cust_account_id --- Bug 9955598
AND hca.cust_account_id = NVL(rct.sold_to_customer_id,rct.bill_to_customer_id) --- Bug 9955598
AND rct.org_id = hcsu.org_id
-- AND rct.bill_to_site_use_id = hcsu.bill_to_site_use_id -- Bug 10058629
AND rct.bill_to_site_use_id = hcsu.site_use_id -- Bug 10058629
AND rct.ship_via = wc.freight_code (+)
Null /
Column Type of Data Description
Not Null
ORG_ID NUMBER(15,0) Organization identifier
NAME NOT NULL VARCHAR2(240) Name of the organization
OU_CNPJ VARCHAR2(4000) CNPJ of the organization
OU_IE VARCHAR2(4000) IE of the organization
CUSTOMER_TRX_ID NOT NULL NUMBER(15,0) Customer Trx Id
TRX_NUMBER NOT NULL VARCHAR2(20) Trx Number
SERIES VARCHAR2(3) Series
SUB_SERIES VARCHAR2(15) Sub Series
COMPANY VARCHAR2(150) Company
TRX_DATE NOT NULL DATE Trx Date
SHIP_TO_SITE_USE_ID NUMBER(15,0) Ship To Site Use Id
BILL_TO_SITE_USE_ID NUMBER(15,0) Bill To Siste Use Id
SOLD_TO_SITE_USE_ID NUMBER(15,0) Sold To Site Use Id
REMIT_TO_ADDRESS_ID NUMBER(15,0) Remit To Address Id
Reserved For
INTEREST_TYPE VARCHAR2(150) Globalization
Functionality
Reserved For
VL_INTEREST VARCHAR2(150) Globalization
Functionality
Reserved For
PERIOD_DAYS VARCHAR2(150) Globalization
Functionality
Reserved For
INTEREST_FORM VARCHAR2(150) Globalization
Functionality
Reserved For
FREE_DAYS VARCHAR2(150) Globalization
Functionality
CLL_F255_AR_NFFS_REQUEST_V
Selects the information in the CLL_F255_AR_NFFS_REQUEST_V view together with
other columns that are referred to
SELECT
OOH.ORG_ID ,
RCT.CUSTOMER_TRX_ID ,
RCT.TRX_NUMBER ,--NUM_DOCFIS,
RCT.TRX_DATE ,--DT_EMISSAO,
OOH.HEADER_ID ,
OOH.ORDER_TYPE_ID ,--TIPO_PEDIDO,
OOH.ORDER_NUMBER ,--COD_PEDIDO,
OOH.VERSION_NUMBER ,--VERSAO,
OOH.ORDER_SOURCE_ID ,
OOH.ORIG_SYS_DOCUMENT_REF ,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
155
OOH.ORDERED_DATE ,--DATA_PEDIDO,
OOH.TRANSACTIONAL_CURR_CODE ,--COD_MOEDA ,
OOL.LINE_ID ,
OOL.LINE_TYPE_ID ,
OOL.LINE_NUMBER ,
OOL.ORDERED_ITEM ,
WDD.DELIVERY_DETAIL_ID ,
WDD.SOURCE_CODE ,
WDD.SOURCE_HEADER_ID ,
WDD.SOURCE_LINE_ID ,
WDD.SOURCE_HEADER_TYPE_ID ,
WDD.SOURCE_HEADER_TYPE_NAME ,
WDD.CUST_PO_NUMBER ,
WDD.CUSTOMER_ID ,
WDD.INVENTORY_ITEM_ID ,
WDD.ITEM_DESCRIPTION ,
WDD.SHIP_FROM_LOCATION_ID ,
WDD.CANCELLED_QUANTITY ,
WDD.REQUESTED_QUANTITY ,
WDD.REQUESTED_QUANTITY_UOM ,
WDD.SHIPPED_QUANTITY ,
WDD.DELIVERED_QUANTITY ,
WDD.MOVE_ORDER_LINE_ID ,
WDD.SUBINVENTORY ,
WDD.DATE_REQUESTED ,
WDD.DATE_SCHEDULED ,
WDD.MASTER_CONTAINER_ITEM_ID ,
WDD.DETAIL_CONTAINER_ITEM_ID ,
WDD.PROJECT_ID ,
WDD.TASK_ID ,
WDD.CREATION_DATE ,
WDD.LAST_UPDATE_DATE ,
WDD.MINIMUM_FILL_PERCENT ,
WDD.MAXIMUM_VOLUME ,
WDD.MAXIMUM_LOAD_WEIGHT ,
WDD.MASTER_SERIAL_NUMBER ,
WDD.CONTAINER_NAME ,
WDD.CONTAINER_TYPE_CODE ,
WDD.CONTAINER_FLAG ,
WDD.UNIT_PRICE ,
WDD.SHIP_TO_SITE_USE_ID ,
WND.DELIVERY_ID ,
WND.NAME ,
WND.PLANNED_FLAG ,
WND.STATUS_CODE ,
WND.FREIGHT_TERMS_CODE ,
WND.FOB_CODE ,
WND.WAYBILL ,
WND.ACCEPTED_DATE ,
WND.REASON_OF_TRANSPORT ,
WND.DESCRIPTION ,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
156
WND.GROSS_WEIGHT ,
WND.NET_WEIGHT ,
WND.WEIGHT_UOM_CODE ,
WND.VOLUME ,
WND.VOLUME_UOM_CODE ,
WND.CONFIRM_DATE ,
WND.SHIP_METHOD_CODE ,
WND.DELIVERY_TYPE ,
WND.CURRENCY_CODE ,
WND.ORGANIZATION_ID ,
WND.GLOBAL_ATTRIBUTE10 , --Bug 9973235 NFe
WND.GLOBAL_ATTRIBUTE11 , --Bug 9973235 NFe
OOL.GLOBAL_ATTRIBUTE1 OOL_GLOBAL_ATTRIBUTE1 , --ENH 11795659
OOL.GLOBAL_ATTRIBUTE2 OOL_GLOBAL_ATTRIBUTE2 , --ENH 11795659
OOL.GLOBAL_ATTRIBUTE3 OOL_GLOBAL_ATTRIBUTE3 , --ENH 11795659
OOL.GLOBAL_ATTRIBUTE4 OOL_GLOBAL_ATTRIBUTE4 , --ENH 11795659
OOL.GLOBAL_ATTRIBUTE5 OOL_GLOBAL_ATTRIBUTE5 , --ENH 11795659
OOL.GLOBAL_ATTRIBUTE6 OOL_GLOBAL_ATTRIBUTE6 , --ENH 11795659
OOL.GLOBAL_ATTRIBUTE7 OOL_GLOBAL_ATTRIBUTE7 , --ENH 11795659
OOL.GLOBAL_ATTRIBUTE8 OOL_GLOBAL_ATTRIBUTE8 , --ENH 11795659
OOL.GLOBAL_ATTRIBUTE9 OOL_GLOBAL_ATTRIBUTE9 , --ENH 11795659
OOL.GLOBAL_ATTRIBUTE10 OOL_GLOBAL_ATTRIBUTE10 , --ENH
11795659
OOL.GLOBAL_ATTRIBUTE11 OOL_GLOBAL_ATTRIBUTE11 , --ENH
11795659
OOL.GLOBAL_ATTRIBUTE12 OOL_GLOBAL_ATTRIBUTE12 , --ENH
11795659
OOL.GLOBAL_ATTRIBUTE13 OOL_GLOBAL_ATTRIBUTE13 , --ENH
11795659
OOL.GLOBAL_ATTRIBUTE14 OOL_GLOBAL_ATTRIBUTE14 , --ENH
11795659
OOL.GLOBAL_ATTRIBUTE15 OOL_GLOBAL_ATTRIBUTE15 , --ENH
11795659
OOL.GLOBAL_ATTRIBUTE16 OOL_GLOBAL_ATTRIBUTE16 , --ENH
11795659 Service Execution Date
OOL.GLOBAL_ATTRIBUTE17 OOL_GLOBAL_ATTRIBUTE17 , --ENH
11795659
OOL.GLOBAL_ATTRIBUTE18 OOL_GLOBAL_ATTRIBUTE18 , --ENH
11795659
OOL.GLOBAL_ATTRIBUTE19 OOL_GLOBAL_ATTRIBUTE19 , --ENH
11795659
OOL.GLOBAL_ATTRIBUTE20 OOL_GLOBAL_ATTRIBUTE20 --ENH
11795659
FROM RA_CUSTOMER_TRX_ALL RCT,
WSH_NEW_DELIVERIES WND,
WSH_DELIVERY_ASSIGNMENTS WDA,
WSH_DELIVERY_DETAILS WDD,
OE_ORDER_HEADERS_ALL OOH,
OE_ORDER_LINES_ALL OOL
WHERE RCT.INTERFACE_HEADER_CONTEXT = 'ORDER ENTRY'
Null /
Column Type of Data Description
Not Null
Operating Unit which
ORG_ID NUMBER performed this
transaction
CUSTOMER_TRX_ID NOT NULL NUMBER(15,0) Customer Trx Id
TRX_NUMBER NOT NULL VARCHAR2(20) Trx Number
TRX_DATE NOT NULL DATE Trx Date
Order Header
HEADER_ID NOT NULL NUMBER
Identifier
Order Transaction
ORDER_TYPE_ID NOT NULL NUMBER
Type Identifier
User-visible number of
ORDER_NUMBER NOT NULL NUMBER
the order
VERSION_NUMBER NOT NULL NUMBER Not Used
ORDER_SOURCE_ID NUMBER Source of the order
Original document
ORIG_SYS_DOCUME
VARCHAR2(50) reference for the order
NT_REF
in external system
ORDERED_DATE DATE Ordered Date
TRANSACTIONAL_C
VARCHAR2(15) Currency for the order
URR_CODE
System Generated Line
LINE_ID NOT NULL NUMBER
Identifier
Line Transaction Type
LINE_TYPE_ID NOT NULL NUMBER
Identifier
Line sequence number
LINE_NUMBER NOT NULL NUMBER
within the order
VARCHAR2(200 Stores name of
ORDERED_ITEM
0) Ordered Item
DELIVERY_DETAIL_I Primary Key to
NOT NULL NUMBER
D identify delivery line
SOURCE_CODE NOT NULL VARCHAR2(30) OE/WIP/PO
For example, it can be
SOURCE_HEADER_ID NUMBER
sale order header ID
For example, it can be
SOURCE_LINE_ID NOT NULL NUMBER
sale order header ID
OE, WIP, or PO line
SOURCE_HEADER_T identifier. For
NUMBER
YPE_ID example, it can be sales
order line ID
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
158
SOURCE_HEADER_T
VARCHAR2(240) OE: Order_Type_Id
YPE_NAME
OE:
CUST_PO_NUMBER VARCHAR2(50)
Order_Type_Name
OE: PO Number the
CUSTOMER_ID NUMBER
line belongs to
Foreign Key to
INVENTORY_ITEM_I HZ_CUST_ACCOUN
NUMBER
D TS.CUST_ACCOUNT
_ID
Foreign key to
ITEM_DESCRIPTION VARCHAR2(250)
MTL_SYSTEM_ITEMS
SHIP_FROM_LOCATI
NOT NULL NUMBER Item description
ON_ID
CANCELLED_QUANT Quantity being
NUMBER
ITY cancelled
REQUESTED_QUANTI As ordered by
NOT NULL NUMBER
TY customer
REQUESTED_QUANTI As ordered by
NOT NULL VARCHAR2(3)
TY_UOM customer uom
In
SHIPPED_QUANTITY NUMBER shipping_quantity_U
OM
In
DELIVERED_QUANTI
NUMBER shipping_quantity_uo
TY
m
MOVE_ORDER_LINE_ Move order line
NUMBER
ID identifier
As ordered by
SUBINVENTORY VARCHAR2(10)
customer
Date on which the line
DATE_REQUESTED DATE
is requested
Date on which the line
DATE_SCHEDULED DATE
is scheduled
MASTER_CONTAINE Master container item
NUMBER
R_ITEM_ID identifier
DETAIL_CONTAINER Detail container item
NUMBER
_ITEM_ID identifier
PROJECT_ID NUMBER Project Identifier
TASK_ID NUMBER Task Identifier
CREATION_DATE NOT NULL DATE Standard Who column
LAST_UPDATE_DATE NOT NULL DATE Standard Who column
MINIMUM_FILL_PER Minimum fill
NUMBER
CENT percentage
MAXIMUM_VOLUME NUMBER Mzximum volume
MAXIMUM_LOAD_W Maximum loading
NUMBER
EIGHT weight
MASTER_SERIAL_NU
VARCHAR2(30) Master serial number
MBER
CONTAINER_NAME VARCHAR2(50) Container name
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
159
CONTAINER_TYPE_C
VARCHAR2(30) Container type code
ODE
Y for container N for
CONTAINER_FLAG NOT NULL VARCHAR2(1)
order line
UNIT_PRICE NUMBER Unit price
SHIP_TO_SITE_USE_I Site identifier for ship
NUMBER
D to destination
Primary Key to
DELIVERY_ID NOT NULL NUMBER
identify delivery
Unique Delivery
NAME NOT NULL VARCHAR2(30)
Name
Planned flag (N =
PLANNED_FLAG NOT NULL VARCHAR2(1) unplanned; Y =
planned)
Delivery shipping
STATUS_CODE NOT NULL VARCHAR2(2) status ,e.g., OP for
Open delivery
FREIGHT_TERMS_CO
VARCHAR2(30) Freight Terms Code
DE
FOB_CODE VARCHAR2(30) Freight On Board code
May be the tracking
WAYBILL VARCHAR2(30)
number
Date on which the
ACCEPTED_DATE DATE
goods were accepted
REASON_OF_TRANSP
VARCHAR2(30) Reason of Transport
ORT
External aspect of
DESCRIPTION VARCHAR2(30)
delivery
GROSS_WEIGHT NUMBER Gross Weight
NET_WEIGHT NUMBER Net Weight
Unit of Measure for
WEIGHT_UOM_CODE VARCHAR2(3)
weight
VOLUME NUMBER Volume
VOLUME_UOM_COD Unit of Measure for
VARCHAR2(3)
E volume
Date the delivery was
CONFIRM_DATE DATE
confirmed
SHIP_METHOD_COD
VARCHAR2(30) Shipping Method
E
Type of delivery -
DELIVERY_TYPE NOT NULL VARCHAR2(30) STANDARD,
CONSOLIDATED
Currency Code for
CURRENCY_CODE VARCHAR2(15)
COD Amount
ORGANIZATION_ID NUMBER Organization identifier
GLOBAL_ATTRIBUTE Reserved for country-
VARCHAR2(150)
10 specific functionality
GLOBAL_ATTRIBUTE Reserved for country-
VARCHAR2(150)
11 specific functionality
SELECT
ara.org_id ,
ara.receivable_application_id ,
nfs.trx_number , --num_docfis
nfs.series , --serie
nfs.code_document , --cod_docto
acr.pay_from_customer customer_id ,
acr.customer_site_use_id , --customer_site_use_id
acr.receipt_number , --num_doc_receb
acr.type , --tp_receb
acr.status status_rec , --status_receb
acr.currency_code , --moeda_receb
acr.customer_bank_branch_id bank_branch_id , --id_agencia
acr.customer_bank_account_id bank_account_id , --id_bco_cta
acr.remittance_bank_account_id , --id_cta_remessa_bco
ara.code_combination_id , --id_cta
ara.amount_applied , --valor_aplicado,
acr.amount , --vlr_recebido
ara.gl_date , --dt_movto,
ara.gl_posted_date , --dt_postado,
acr.receipt_date , --dt_receb,
nfs.trx_date , --dt_emissao
nfs.term_due_date , --dt_vencto,
ara.apply_date , --dt_aplicado,
ara.application_type , --tp_aplicado,
ara.earned_discount_taken , --vlr_desconto,
ara.set_of_books_id ,
ara.display ,
acr.exchange_rate ,
ara.status ,
nvl(arp.terms_sequence_number,
ara.payment_schedule_id) terms_sequence_number , --nr_parcela
ara.cash_receipt_id ,
ara.applied_customer_trx_id ,
ara.applied_customer_trx_line_id ,
ara.applied_payment_schedule_id ,
ara.customer_trx_id ,
ara.cash_receipt_history_id ,
ara.global_attribute1 ara_global_attribute1 ,
ara.global_attribute2 ara_global_attribute2 ,
ara.global_attribute3 ara_global_attribute3 ,
ara.global_attribute4 ara_global_attribute4 ,
ara.global_attribute5 ara_global_attribute5 ,
Null /
Column Type of Data Description
Not Null
Operating unit
ORG_ID NUMBER(15,0)
identifier
Internal identifier of
the receivable
RECEIVABLE_APPLIC
NUMBER(15,0) application record and
ATION_ID
primary key for this
table
TRX_NUMBER VARCHAR2(20) Trx Number
Reserved For
SERIES VARCHAR2(3) Globalization
Functionality
Reserved For
CODE_DOCUMENT VARCHAR2(150) Globalization
Functionality
CUSTOMER_ID NUMBER(15,0) Customer Id
CUSTOMER_SITE_US
NUMBER(15,0) Customer Site Use Id
E_ID
RECEIPT_NUMBER VARCHAR2(30) Receipt Number
TYPE VARCHAR2(20) Type
STATUS VARCHAR2(30) Status
CURRENCY_CODE VARCHAR2(15) Currency Code
BANK_BRANCH_ID NUMBER(15,0) Bank Branch Id
BANK_ACCOUNT_ID NUMBER(15,0) Bank Account Id
REMITTANCE_BANK Remittance Bank
NUMBER(15,0)
_ACCOUNT_ID Account Id
General Ledger
account code
CODE_COMBINATIO combination that will
NUMBER(15,0)
N_ID be debited or credited
for this application
row.
For same currency
applications, the total
amount of the
application in the
currency of the receipt
and transaction. For
AMOUNT_APPLIED NUMBER
cross currency
applications, the total
amount of the
application in the
currency of the
transaction
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
164
AMOUNT NUMBER Amount
The General Ledger
accounting date for the
GL_DATE DATE
accounting entry for
this application
Date the application
GL_POSTED_DATE DATE was posted to General
Ledger
RECEIPT_DATE DATE Date
TRX_DATE DATE Date
TERM_DUE_DATE DATE Date
Date the application
APPLY_DATE DATE
was applied
Indicates whether the
application is a receipt
application or credit
memo application.
APPLICATION_TYPE VARCHAR2(20) Value ¿CASH¿
indicates receipt
application and ¿CM¿
indicates credit memo
application
Amount of earned
EARNED_DISCOUNT discount taken
NUMBER
_TAKEN towards the
application
Internal identifier of
the ledger to which
SET_OF_BOOKS_ID NUMBER(15,0) accounting entry for
this application will be
posted
Y or N flag to indicate
DISPLAY VARCHAR2(1) whether this is the
latest application
EXCHANGE_RATE NUMBER Exchange Rate
STATUS_REC VARCHAR2(30) Status Rec
The sequence number
given to each
installment record.
Multiple installment
records are created for
a receivables
TERMS_SEQUENCE_
NUMBER transaction when split
NUMBER
payment terms are
used. For each
transaction the
sequence number
starts with 1 and
incremented by 1
CLL_F255_AR_TOTAL_INV_TAXES_V
Selects the information in the CLL_F255_AR_TOTAL_INV_TAXES_V view together with
other columns that are referred to
SELECT rac.org_id,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
168
rac.trx_number,
rac.trx_date,
ractl.customer_trx_id,
ractl.link_to_cust_trx_line_id,
tax.tax_category,
arvt.vat_tax_id,
-- SUM(DECODE(arvt.global_attribute2,'Y',TO_NUMBER(REPLACE(zl.global_attribute11,
',','.')),0)) value_base,
--
SUM(DECODE(arvt.global_attribute2,'Y',TO_NUMBER(REPLACE(zl.global_attribute12,',','.')
),0)) tax_reduction,
--
SUM(DECODE(arvt.global_attribute2,'Y',NVL(fnd_number.canonical_to_number(zl.global_att
ribute11),0))) value_base, --BUG 16687282
--
SUM(DECODE(arvt.global_attribute2,'Y',NVL(fnd_number.canonical_to_number(zl.global_att
ribute12),0))) tax_reduction, --BUG 16687282
SUM(DECODE(arvt.global_attribute2,'Y',NVL(fnd_number.canonical_to_number(REPLACE(zl.gl
obal_attribute11, ',','.')),0))) value_base, --BUG 19357166
SUM(DECODE(arvt.global_attribute2,'Y',NVL(fnd_number.canonical_to_number(REPLACE(zl.gl
obal_attribute12, ',','.')),0))) tax_reduction, --BUG 19357166
ABS(zl.tax_rate) tax_rate,
SUM(zl.tax_amt) tax_amount,
ractl.attribute1,
ractl.attribute2,
ractl.attribute3,
ractl.attribute4,
ractl.attribute5,
ractl.attribute6,
ractl.attribute7,
ractl.attribute8,
ractl.attribute9,
ractl.attribute10,
ractl.attribute11,
ractl.attribute12,
ractl.attribute13,
ractl.attribute14,
ractl.attribute15,
ractl.global_attribute1,
ractl.global_attribute2,
ractl.global_attribute3,
ractl.global_attribute4,
ractl.global_attribute5,
ractl.global_attribute6,
ractl.global_attribute7,
ractl.global_attribute8,
ractl.global_attribute9,
ractl.global_attribute10,
ractl.global_attribute11,
ractl.global_attribute12,
ractl.global_attribute13,
ractl.global_attribute14,
ractl.global_attribute15,
ractl.global_attribute16,
ractl.global_attribute17,
ractl.global_attribute18,
ractl.global_attribute19,
ractl.global_attribute20,
SUM(DECODE(arvt.global_attribute2,'Y',NVL(fnd_number.canonical_to_number(zl.global_att
ribute11),0))) value_base, --BUG 16687282
SUM(DECODE(arvt.global_attribute2,'Y',NVL(fnd_number.canonical_to_number(zl.global_att
ribute12),0))) tax_reduction, --BUG 16687282
ABS(zl.tax_rate) tax_rate,
SUM(zl.tax_amt) tax_amount,
ractl.attribute1,
ractl.attribute2,
ractl.attribute3,
ractl.attribute4,
ractl.attribute5,
ractl.attribute6,
ractl.attribute7,
ractl.attribute8,
ractl.attribute9,
ractl.attribute10,
ractl.attribute11,
ractl.attribute12,
ractl.attribute13,
ractl.attribute14,
ractl.attribute15,
ractl.global_attribute1,
ractl.global_attribute2,
ractl.global_attribute3,
ractl.global_attribute4,
ractl.global_attribute5,
ractl.global_attribute6,
ractl.global_attribute7,
ractl.global_attribute8,
ractl.global_attribute9,
ractl.global_attribute10,
ractl.global_attribute11,
ractl.global_attribute12,
ractl.global_attribute13,
ractl.global_attribute14,
ractl.global_attribute15,
ractl.global_attribute16,
ractl.global_attribute17,
ractl.global_attribute18,
ractl.global_attribute19,
ractl.global_attribute20,
CLL_F255_BOM_BILL_OF_MTLS_V
Selects the information in the CLL_F255_BOM_BILL_OF_MTLS_V view together with
other columns that are referred to
SELECT assembly_item_id
, organization_id
, alternate_bom_designator
, last_update_date
, last_updated_by
, creation_date
, created_by
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
178
, last_update_login
, common_assembly_item_id
, specific_assembly_comment
, pending_from_ecn
, attribute_category
, attribute1
, attribute2
, attribute3
, attribute4
, attribute5
, attribute6
, attribute7
, attribute8
, attribute9
, attribute10
, attribute11
, attribute12
, attribute13
, attribute14
, attribute15
, assembly_type
, common_bill_sequence_id
, bill_sequence_id
, request_id
, program_application_id
, program_id
, program_update_date
, common_organization_id
, next_explode_date
, project_id
, task_id
, original_system_reference
, structure_type_id
, implementation_date
, obj_name
, pk1_value
, pk2_value
, pk3_value
, pk4_value
, pk5_value
, effectivity_control
, is_preferred
, source_bill_sequence_id
FROM bom_bill_of_materials;
Null /
Column Type of Data Description
Not Null
Inventory item
ASSEMBLY_ITEM_ID NUMBER identifier of
CLL_F255_BOM_INV_COMPONENTS_V
Selects the information in the CLL_F255_BOM_INV_COMPONENTS_V view together
with other columns that are referred to
SELECT operation_seq_num
, component_item_id
, last_update_date
, last_updated_by
, creation_date
, created_by
, last_update_login
, item_num
, basis_type
, component_quantity
, component_yield_factor
, component_remarks
, effectivity_date
, change_notice
, implementation_date
, disable_date
, attribute_category
, attribute1
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
182
, attribute2
, attribute3
, attribute4
, attribute5
, attribute6
, attribute7
, attribute9
, attribute10
, attribute11
, attribute12
, attribute13
, attribute14
, attribute15
, planning_factor
, quantity_related
, so_basis
, optional
, mutually_exclusive_options
, include_in_cost_rollup
, check_atp
, shipping_allowed
, required_to_ship
, required_for_revenue
, include_on_ship_docs
, include_on_bill_docs
, low_quantity
, high_quantity
, acd_type
, old_component_sequence_id
, component_sequence_id
, bill_sequence_id
, request_id
, program_application_id
, program_id
, program_update_date
, wip_supply_type
, pick_components
, supply_subinventory
, supply_locator_id
, operation_lead_time_percent
, revised_item_sequence_id
, cost_factor
, bom_item_type
, from_end_item_unit_number
, to_end_item_unit_number
, component_item_revision_id
, original_system_reference
, eco_for_production
, delete_group_name
, dg_description
, enforce_int_requirements
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
183
, optional_on_model
, parent_bill_seq_id
, model_comp_seq_id
, plan_level
, auto_request_material
, suggested_vendor_name
, vendor_id
, unit_price
, obj_name
, pk1_value
, pk2_value
, pk3_value
, pk4_value
, pk5_value
, from_end_item_rev_id
, to_end_item_rev_id
, overlapping_changes
, from_object_revision_id
, from_minor_revision_id
, to_object_revision_id
, to_minor_revision_id
, from_end_item_minor_rev_id
, to_end_item_minor_rev_id
, component_minor_revision_id
, from_bill_revision_id
, to_bill_revision_id
, from_structure_revision_code
, to_structure_revision_code
, from_end_item_strc_rev_id
, to_end_item_strc_rev_id
, common_component_sequence_id
FROM bom_inventory_components;
Null /
Column Type of Data Description
Not Null
OPERATION_SEQ_N Operation sequence
UM NOT NULL NUMBER number
COMPONENT_ITEM_ Component item
ID NUMBER identifier
Standard Who
LAST_UPDATE_DATE NOT NULL DATE column
Standard Who
LAST_UPDATED_BY NOT NULL NUMBER column
Standard Who
CREATION_DATE NOT NULL DATE column
Standard Who
CREATED_BY NOT NULL NUMBER column
CLL_F255_CST_INVENTORY_V
SELECT b.TYPE
,b.organization_id
,b.organization_code
,b.cost_type_id
,b.cost_type
,b.period_id
,b.period_name
,b.inventory_date
,b.count_group
,b.classification_code
,b.item_type
,b.item_code
,mmt.subinventory_code
,b.uom
,b.inventory_item_id
, (NVL (mmt.prior_costed_quantity, 0) + NVL (mmt.primary_quantity, 0)
) quantity
Null /
Column Type of Data Description
Not Null
TYPE VARCHAR2(12) Type
Inventory
ORGANIZATION_ID NUMBER organization foreign
key
ORGANIZATION_COD
VARCHAR2(3) Organization Code
E
COST_TYPE_ID NUMBER Cost Type Id
COST_TYPE VARCHAR2(10) Cost Type
PERIOD_ID NUMBER Period Id
PERIOD_NAME VARCHAR2(15) Period Name
INVENTORY_DATE DATE Inventory Date
COUNT_GROUP CHAR(1) Count Group
CLASSIFICATION_COD
VARCHAR2(30) Classification Code
E
ITEM_TYPE VARCHAR2(30) Item Type
ITEM_CODE VARCHAR2(40) Item Code
SUBINVENTORY_CODE VARCHAR2(10) Subinventory Code
UOM VARCHAR2(3) Uom
INVENTORY_ITEM_ID NUMBER Inventory Item Id
QUANTITY NUMBER Quantity
COST_TOTAL NUMBER Cost Total
COST_UNIT NUMBER Cost Unit
ACCOUNT NUMBER Account
CLL_F255_CST_STOCK_V
Selects the information in the CLL_F255_CST_STOCK_V view together with other
columns that are referred to
DECODE(mmt.transaction_action_id,1,DECODE(mmt.transaction_source_type_id,1,'D','
N'),
27,DECODE(mmt.transaction_source_type_id,12,'D','N'),'N')
return,
mmt.transaction_date,
mmt.creation_date,
mmt.transaction_id,
mmt.transaction_source_id,
mmt.transaction_source_type_id,
mmt.transaction_type_id,
mmt.trx_source_line_id,
mmt.trx_source_delivery_id,
mmt.picking_line_id,
mmt.rcv_transaction_id,
msi.item_type,
msi.concatenated_segments item_code,
mmt.transaction_uom uom,
msi.primary_uom_code,
mmt.subinventory_code,
(mmt.prior_costed_quantity +
DECODE(mmt.transaction_type_id,80,0,mmt.primary_quantity)) balance,
mmt.primary_quantity quantity,
mmt.actual_cost cost_unit,
msi.inventory_item_id,
mp.material_account account
FROM mtl_material_transactions mmt,
mtl_system_items_kfv msi,
org_acct_periods oap,
mtl_parameters mp,
cst_cost_types cct
WHERE msi.organization_id = mmt.organization_id
AND msi.inventory_item_id = mmt.inventory_item_id
AND mp.organization_id = oap.organization_id
AND cct.cost_type_id = 2 -- Average
AND mmt.transaction_date BETWEEN TRUNC(oap.period_start_date)
AND TRUNC(oap.schedule_close_date)+.99999
AND mmt.transaction_type_id <> 26
AND oap.organization_id = mmt.organization_id;
CLL_F255_ESTABLISHMENT_V
Selects the information in the CLL_F255_ESTABLISHMENT_V view together with other
columns that are referred to
Null /
Column Type of Data Description
Not Null
Ledger defining
LEDGER_ID NOT NULL NUMBER(15,0)
column
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
203
Establishment
ESTABLISHMENT_ID NUMBER(15,0)
Identifier
ESTABLISHMENT_NA
VARCHAR2(240) Name
ME
LEGAL_ENTITY_ID NUMBER(15,0) Legal Entity Identifier
REGISTRATION_NUM
VARCHAR2(30) Registration Number
BER
LEGISLATIVE_CAT_C Legislative Category
VARCHAR2(30)
ODE Code
1st line of location
ADDRESS_LINE_1 VARCHAR2(240)
address
2nd line of location
ADDRESS_LINE_2 VARCHAR2(240)
address
3rd line of location
ADDRESS_LINE_3 VARCHAR2(240)
address
TOWN_OR_CITY VARCHAR2(30) Town or city.
County (US, UK);
REGION_1 VARCHAR2(120)
Province (CA).
State (US); Province of
REGION_2 VARCHAR2(120)
work (CA).
Additional address
segment - not used by
REGION_3 VARCHAR2(120)
seeded address
structures
POSTAL_CODE VARCHAR2(30) Postal code
COUNTRY VARCHAR2(60) Country.
System-generated
LOCATION_ID NUMBER
primary key column
ETB_EFFECTIVE_FRO
DATE Effective From
M
ETB_EFFECTIVE_TO DATE Effective To
Inventory
INVENTORY_ORGAN
NUMBER(15,0) organization foreign
IZATION_ID
key
Ledger category
LEDGER_CATEGORY (PRIMARY,
VARCHAR2(30)
_CODE SECONDARY, ALC
etc)
VARCHAR2(400
ENTITY_NAME Entity Name
0)
OPERATING_UNIT NUMBER Operation Unit
CHART_OF_ACCOUN Key flexfield structure
NOT NULL NUMBER(15)
TS_ID defining column
LOCATION_CODE VARCHAR2(60) Location name.
Indicates whether this
IN_ORGANIZATION_
VARCHAR2(30) location is an internal
FLAG
site
Date after which this
INACTIVE_DATE DATE location is no longer
valid.
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
204
TELEPHONE_NUMBE
VARCHAR2(60) Telephone number
R_1
Identifier
EST_LOCATION_ID NUMBER(15) Establishment
Location
MAIN_ESTABLISHME
VARCHAR2(1)
NT_FLAG
MASTER_ORGANIZA Identifier Master
VARCHAR2(1)
TION_FLAG Organization Flag
MASTER_ORGANIZA Identifier Master
NUMBER
TION_ID Organization
MASTER_OPERATIO Identifier Master
NUMBER
N_UNIT Operating Unit
CLL_F255_GL_DAILY_BOOK_V
Selects the information in the CLL_F255_GL_DAILY_BOOK_V view together with other
columns that are referred to
SELECT
gjh.ledger_id,
gjh.je_batch_id,
gjh.je_header_id,
cjl.je_line_num,
gcc.enabled_flag,
gcc.summary_flag,
-- gsb.currency_code currency_code , --
COD_MOEDA_FUNC --BUG 12775276
gjh.currency_code currency_code_lcto , --
COD_MOEDA_LCTO
gjh.period_name , --
PERIODO_CONTABIL
gjh.je_source , --
ORIGEM_LANCTO
-- gsb.chart_of_accounts_id , --
GRAFICO_DE_CONTAS --BUG 12775276
gjh.posted_date , --
DATA_LANCTO
cjl.effective_date , --
DT_EFETIVACAO_LANCTO
gjh.last_update_date , --
DATA_ATUALIZACAO
gcc.code_combination_id , --
ID_CONTA_DC
DECODE(NVL(cjl.entered_dr,0),0,DECODE(SIGN(cjl.entered_cr), -1, 'D' , 'C' )
,
DECODE(SIGN(cjl.entered_dr), -1, 'C' , 'D' )) ind_dc ,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
205
DECODE(NVL(cjl.accounted_dr,0),0,DECODE(SIGN(cjl.accounted_cr), -1, 'D' , 'C' )
,
DECODE(SIGN(cjl.accounted_dr), -1, 'C' , 'D' )) ind_dc_converted
, --IND_DC_CONVERTIDO
DECODE(NVL(cjl.entered_dr,0),0,ABS(cjl.entered_cr), ABS(cjl.entered_dr) )
release_value , --VLR_LANCTO
DECODE(NVL(cjl.accounted_dr,0),0,ABS(cjl.accounted_cr),ABS(cjl.accounted_dr) )
release_value_converted,--VLR_LANCTO_CONVERTIDO
cjl.attribute1 standard_history, --
COD_HISTPADRAO
gjh.je_category operation_type , --
TIPO_OPERACAO,
REPLACE(NVL(SUBSTR(cjl.description,1,120),SUBSTR(gjh.description,1,120)),'@',' ')
description , --HISTCOMPL,
cjl.reference_1,
cjl.reference_2,
cjl.reference_3,
cjl.reference_4,
cjl.reference_5,
cjl.reference_6,
cjl.reference_7,
cjl.reference_8,
cjl.reference_9,
cjl.reference_10,
gjh.default_effective_date,
DECODE(SIGN(NVL(cjl.entered_dr,0)),
0,
DECODE(SIGN(cjl.entered_cr), -1, ABS(cjl.entered_cr), 0),
-1,
DECODE(SIGN(cjl.entered_cr), -1, ABS(cjl.entered_cr), 0),
DECODE(SIGN(cjl.entered_cr), -1, (ABS(cjl.entered_cr)+cjl.entered_dr),
cjl.entered_dr)
) entered_dr,
DECODE(SIGN(NVL(cjl.entered_cr,0)),
0,
DECODE(SIGN(cjl.entered_dr), -1, ABS(cjl.entered_dr), 0),
-1,
DECODE(SIGN(cjl.entered_dr), -1, ABS(cjl.entered_dr), 0),
DECODE(SIGN(cjl.entered_dr), -1, (ABS(cjl.entered_dr)+cjl.entered_cr),
cjl.entered_cr)
) entered_cr,
DECODE(SIGN(NVL(cjl.accounted_dr,0)),
0,
DECODE(SIGN(cjl.accounted_cr), -1, ABS(cjl.accounted_cr), 0),
-1,
DECODE(SIGN(cjl.accounted_cr), -1, ABS(cjl.accounted_cr), 0),
DECODE(SIGN(cjl.accounted_cr), -1, (ABS(cjl.accounted_cr)+cjl.accounted_dr),
cjl.accounted_dr)
) accounted_dr,
DECODE(SIGN(NVL(cjl.accounted_cr,0)),
0,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
206
DECODE(SIGN(cjl.accounted_dr), -1, ABS(cjl.accounted_dr), 0),
-1,
DECODE(SIGN(cjl.accounted_dr), -1, ABS(cjl.accounted_dr), 0),
DECODE(SIGN(cjl.accounted_dr), -1, (ABS(cjl.accounted_dr)+cjl.accounted_cr),
cjl.accounted_cr)
) accounted_cr,
cll_f255_utils_pkg.get_segment_company_value(gcc.code_combination_id,
gjh.ledger_id) balancing_segment_value, --BUG 9775122
gls.currency_code currency_code, --
COD_MOEDA_FUNC --BUG 12775276
gls.chart_of_accounts_id --
GRAFICO_DE_CONTAS --BUG 12775276
FROM --gl_sets_of_books gsb, --BUG 12775276
gl_ledgers gls, --BUG 12775276
gl_code_combinations gcc,
gl_je_lines cjl,
gl_je_headers gjh
WHERE cjl.je_header_id = gjh.je_header_id
-- AND gjh.ledger_id = gsb.set_of_books_id --BUG 12775276
AND gjh.ledger_id = gls.ledger_id --BUG 12775276
AND gjh.status = 'P'
AND gjh.actual_flag = 'A'
AND gcc.code_combination_id = cjl.code_combination_id
-- AND gcc.chart_of_accounts_id = gsb.chart_of_accounts_id --BUG 12775276
AND gcc.chart_of_accounts_id = gls.chart_of_accounts_id;
Null /
Column Type of Data Description
Not Null
Ledger defining
LEDGER_ID NOT NULL NUMBER(15,0)
column
Journal entry batch
JE_BATCH_ID NUMBER(15,0)
defining column
Journal entry header
JE_HEADER_ID NOT NULL NUMBER(15,0)
defining column
Journal entry line
JE_LINE_NUM NOT NULL NUMBER(15,0)
number
Key flexfield enabled
ENABLED_FLAG NOT NULL VARCHAR2(1)
flag
SUMMARY_FLAG NOT NULL VARCHAR2(1) Summary account flag
CURRENCY_CODE_L
NOT NULL VARCHAR2(15) Currency
CTO
PERIOD_NAME NOT NULL VARCHAR2(15) Accounting period
JE_SOURCE NOT NULL VARCHAR2(25) Journal entry source
CHART_OF_ACCOUN
NOT NULL NUMBER(15,0) Chart Of Accounts Id
TS_ID
Date journal entry
POSTED_DATE DATE
header was posted
SELECT a.inventory_item_id ,
c.concatenated_segments item_code,
c.item_type ,
a.organization_id ,
a.category_set_id ,
a.category_id ,
d.category_set_name ,
d.description category_sets_description,
b.concatenated_segments category_name,
b.description category_description,
a.last_update_date ,
a.creation_date
FROM mtl_system_items_b_kfv c,
mtl_categories_b_kfv b,
mtl_item_categories a,
mtl_category_sets d
WHERE d.category_set_id = a.category_set_id
AND c.inventory_item_id = a.inventory_item_id
AND c.organization_id = a.organization_id
AND b.category_id = a.category_id
Null /
Column Type of Data Description
Not Null
INVENTORY_ITEM_ID NUMBER Inventory item
identifier
ITEM_CODE VARCHAR2(40) Concatenated
segments
ITEM_TYPE VARCHAR2(30) Type of item
ORGANIZATION_ID NUMBER Organization identifier
CATEGORY_SET_ID NUMBER Category set identifier
CATEGORY_ID NUMBER Category identifier
CATEGORY_SET_NAM VARCHAR2(30)
Category set name
E
CATEGORY_SETS_DE VARCHAR2(240) Category set
SCRIPTION description
CATEGORY_NAME VARCHAR2(163) Category name
CATEGORY_DESCRIP VARCHAR2(240)
Category description
TION
LAST_UPDATE_DATE DATE Standard Who column
CREATION_DATE DATE Standard Who column
SELECT clb.ledger_id ,
clb.currency_code , --COD_MOEDA
clb.period_name , --
PERIODO_CONTABIL
gcc.code_combination_id ,
gcc.chart_of_accounts_id , --
GRAFICO_DE_CONTAS
gps.start_date , --DATA_GERACAO
gps.end_date , --DATA_SALDO
SUM( ABS( clb.begin_balance_dr - clb.begin_balance_cr ))
value_opening_balance , --VLR_SALDO_INI
DECODE( SIGN( ( clb.begin_balance_dr - clb.begin_balance_cr)),
-1, 'C' , 'D' ) ind_opening_balance , --
IND_SALDO_INI
SUM ( ABS( (clb.begin_balance_dr - clb.begin_balance_cr +
clb.period_net_dr - clb.period_net_cr ) ) ) value_end_balance , -
-VLR_SALDO_FIM
DECODE(SIGN( ( clb.begin_balance_dr - clb.begin_balance_cr +
clb.period_net_dr - clb.period_net_cr ) ), -1, 'C' , 'D' ) ind_end_balance ,
--IND_SALDO_FIM
SUM ( ABS( NVL(clb.period_net_cr,0) ) ) value_cr_value , -
-VLR_TOT_CREDITO
DECODE( SIGN( clb.period_net_cr), -1, 'D' , 'C' ) ind_cr_value ,
--IND_TOT_CREDITO
SUM ( ABS( NVL(clb.period_net_dr,0) ) ) value_tot_dr , --
VLR_TOT_DEBITO
DECODE( SIGN( clb.period_net_dr), -1, 'C' , 'D' ) ind_tot_dr , -
-IND_TOT_DEBITO
gps.closing_status status , --STATUS
DECODE(gps.closing_status,'O','Open','C','Closed','Pending')
status_description , --DESCR_STATUS
gcc.summary_flag,
gcc.enabled_flag,
cll_f255_utils_pkg.get_segment_company_value(gcc.code_combination_id,
clb.ledger_id) balancing_segment_value, --BUG 9786909
gls.currency_code gl_currency_code -- --
COD_MOEDA_FUNC --BUG 12775276
FROM gl_period_statuses gps,
gl_code_combinations gcc,
gl_balances clb,
gl_ledgers gls --BUG 12775276
WHERE gps.set_of_books_id = clb.ledger_id
AND gps.application_id = 101
Null /
Column Not Null Type of Data Description
Ledger defining
LEDGER_ID NOT NULL NUMBER(15,0) column
CURRENCY_CODE NOT NULL VARCHAR2(15) Currency
PERIOD_NAME NOT NULL VARCHAR2(15) Accounting period
Key flexfield
CODE_COMBINATIO combination defining
N_ID NOT NULL NUMBER(15,0) column
CHART_OF_ACCOUN
TS_ID NOT NULL NUMBER(15,0) Chart Of Accounts Id
Date on which
accounting period
START_DATE NOT NULL DATE begins
Date on which
accounting period
END_DATE NOT NULL DATE ends
CLL_F255_LE_SETUP_V
Selects the information in the CLL_F255_LE_SETUP_V view together with other columns
that are referred to
SELECT ff."ENTITY_TYPE",
ff."ENTITY_DESCRIPTION",
ff."ENTITY_SUBTYPE",
ff."LEDGER_ID",
ff."ESTABLISHMENT_ID",
ff."ESTABLISHMENT_NAME",
ff."LEGAL_ENTITY_ID",
ff."REGISTRATION_NUMBER",
ff."LEGISLATIVE_CAT_CODE",
ff."ADDRESS_LINE_1",
ff."ADDRESS_LINE_2",
ff."ADDRESS_LINE_3",
ff."TOWN_OR_CITY",
ff."REGION_1",
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
212
ff."REGION_2",
ff."REGION_3",
ff."POSTAL_CODE",
ff."COUNTRY",
ff."LOCATION_ID",
ff."ETB_EFFECTIVE_FROM",
ff."ETB_EFFECTIVE_TO",
ff."INVENTORY_ORGANIZATION_ID",
ff."ENTITY_NAME",
ff."OPERATING_UNIT",
ff."CHART_OF_ACCOUNTS_ID",
ff."LOCATION_CODE",
ff."IN_ORGANIZATION_FLAG",
ff."INACTIVE_DATE",
ff."TELEPHONE_NUMBER_1",
ff."EST_LOCATION_ID",
ff."MASTER_ORGANIZATION_FLAG",
ff."MASTER_ORGANIZATION_ID",
ff."ORGANIZATION_NAME",
ff."OPERATING_UNIT_NAME"
FROM (SELECT DISTINCT '01' entity_type,
'EMP' entity_description,
'01 - EMP' entity_subtype,
etb1.ledger_id,
etb1.establishment_id,
etb1.establishment_name,
etb1.legal_entity_id,
etb1.registration_number,
etb1.legislative_cat_code,
etb1.address_line_1,
etb1.address_line_2,
etb1.address_line_3,
etb1.town_or_city,
etb1.region_1,
etb1.region_2,
etb1.region_3,
etb1.postal_code,
etb1.country,
etb1.location_id,
etb1.etb_effective_from,
etb1.etb_effective_to,
NULL inventory_organization_id,
etb1.entity_name,
NULL operating_unit,
etb1.chart_of_accounts_id,
NULL location_code,
NULL in_organization_flag,
NULL inactive_date,
NULL telephone_number_1,
NULL est_location_id,
NULL master_organization_flag, --ENH 13814832
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
213
TO_NUMBER (NULL) master_organization_id, --ENH 13814832
NULL organization_name, --ENH 13814832
NULL operating_unit_name --ENH 13814832
FROM cll_f255_establishment_v etb1, xle_establishment_v xe
WHERE etb1.inventory_organization_id IS NOT NULL
AND xe.establishment_id = etb1.establishment_id
AND xe.main_establishment_flag = 'Y'
UNION
SELECT DISTINCT '02' entity_type,
'ESTAB' entity_description,
'02 - ESTAB' entity_subtype,
etb1.ledger_id,
etb1.establishment_id,
etb1.establishment_name,
etb1.legal_entity_id,
etb1.registration_number,
etb1.legislative_cat_code,
etb1.address_line_1,
etb1.address_line_2,
etb1.address_line_3,
etb1.town_or_city,
etb1.region_1,
etb1.region_2,
etb1.region_3,
etb1.postal_code,
etb1.country,
etb1.location_id,
etb1.etb_effective_from,
etb1.etb_effective_to,
NULL inventory_organization_id,
etb1.entity_name,
NULL operating_unit,
etb1.chart_of_accounts_id,
NULL location_code,
NULL in_organization_flag,
NULL inactive_date,
NULL telephone_number_1,
NULL est_location_id,
NULL master_organization_flag,
TO_NUMBER (NULL) master_organization_id,
NULL organization_name,
NULL operating_unit_name
FROM cll_f255_establishment_v etb1, xle_establishment_v xe
WHERE etb1.inventory_organization_id IS NOT NULL
AND xe.establishment_id = etb1.establishment_id
UNION
SELECT '03' entity_type,
'OU' entity_description,
'03 - OU' entity_subtype,
etb21.ledger_id,
etb21.establishment_id,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
214
etb21.establishment_name,
etb21.legal_entity_id,
etb21.registration_number,
etb21.legislative_cat_code,
etb21.address_line_1,
etb21.address_line_2,
etb21.address_line_3,
etb21.town_or_city,
etb21.region_1,
etb21.region_2,
etb21.region_3,
etb21.postal_code,
etb21.country,
etb21.location_id,
etb21.etb_effective_from,
etb21.etb_effective_to,
NULL inventory_organization_id,
etb21.entity_name,
etb21.operating_unit,
etb21.chart_of_accounts_id,
NULL location_code,
NULL in_organization_flag,
NULL inactive_date,
NULL telephone_number_1,
NULL est_location_id,
NULL master_organization_flag,
TO_NUMBER (NULL) master_organization_id,
NULL organization_name,
od2.operating_unit_name
FROM cll_f255_establishment_v etb21,
(SELECT DISTINCT operating_unit, operating_unit_name
FROM cll_f255_org_definitions_v) od2
WHERE etb21.inventory_organization_id IS NULL
AND od2.operating_unit = etb21.operating_unit
UNION
SELECT '05' entity_type,
'INV' entity_description,
'05 - INV' entity_subtype,
etb1.ledger_id,
etb1.establishment_id,
etb1.establishment_name,
etb1.legal_entity_id,
etb1.registration_number,
etb1.legislative_cat_code,
etb1.address_line_1,
etb1.address_line_2,
etb1.address_line_3,
etb1.town_or_city,
etb1.region_1,
etb1.region_2,
etb1.region_3,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
215
etb1.postal_code,
etb1.country,
etb1.location_id,
etb1.etb_effective_from,
etb1.etb_effective_to,
etb1.inventory_organization_id,
etb1.entity_name,
etb1.operating_unit,
etb1.chart_of_accounts_id,
etb1.location_code,
etb1.in_organization_flag,
etb1.inactive_date,
etb1.telephone_number_1,
etb1.est_location_id,
etb1.master_organization_flag,
etb1.master_organization_id,
od1.organization_name,
od2.operating_unit_name
FROM cll_f255_establishment_v etb1,
cll_f255_org_definitions_v od1,
(SELECT DISTINCT operating_unit, operating_unit_name
FROM cll_f255_org_definitions_v) od2
WHERE etb1.inventory_organization_id IS NOT NULL
AND od1.organization_id = etb1.inventory_organization_id
AND od2.operating_unit (+) = etb1.operating_unit -- ENH 19277642: included
outer join
UNION
SELECT DISTINCT '03' entity_type,
'OU' entity_description,
'03 - WITHOUT OU' entity_subtype,
etb1.ledger_id,
etb1.establishment_id,
etb1.establishment_name,
etb1.legal_entity_id,
etb1.registration_number,
etb1.legislative_cat_code,
etb1.address_line_1,
etb1.address_line_2,
etb1.address_line_3,
etb1.town_or_city,
etb1.region_1,
etb1.region_2,
etb1.region_3,
etb1.postal_code,
etb1.country,
etb1.location_id,
etb1.etb_effective_from,
etb1.etb_effective_to,
NULL inventory_organization_id,
etb1.entity_name,
etb1.operating_unit,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
216
etb1.chart_of_accounts_id,
NULL location_code,
NULL in_organization_flag,
NULL inactive_date,
NULL telephone_number_1,
NULL est_location_id,
NULL master_organization_flag,
TO_NUMBER (NULL) master_organization_id,
NULL organization_name,
od2.operating_unit_name
FROM cll_f255_establishment_v etb1,
(SELECT DISTINCT operating_unit, operating_unit_name
FROM cll_f255_org_definitions_v) od2
WHERE etb1.inventory_organization_id IS NOT NULL
AND od2.operating_unit (+) = etb1.operating_unit -- ENH 19277642: included
outer join
MINUS
SELECT '03' entity_type,
'OU' entity_description,
'03 - WITHOUT OU' entity_subtype,
etb21.ledger_id,
etb21.establishment_id,
etb21.establishment_name,
etb21.legal_entity_id,
etb21.registration_number,
etb21.legislative_cat_code,
etb21.address_line_1,
etb21.address_line_2,
etb21.address_line_3,
etb21.town_or_city,
etb21.region_1,
etb21.region_2,
etb21.region_3,
etb21.postal_code,
etb21.country,
etb21.location_id,
etb21.etb_effective_from,
etb21.etb_effective_to,
NULL inventory_organization_id,
etb21.entity_name,
etb21.operating_unit,
etb21.chart_of_accounts_id,
NULL location_code,
NULL in_organization_flag,
NULL inactive_date,
NULL telephone_number_1,
NULL est_location_id,
NULL master_organization_flag,
TO_NUMBER (NULL) master_organization_id,
NULL organization_name,
od2.operating_unit_name
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
217
FROM cll_f255_establishment_v etb21,
(SELECT DISTINCT operating_unit, operating_unit_name
FROM cll_f255_org_definitions_v) od2
WHERE etb21.inventory_organization_id IS NULL
AND od2.operating_unit = etb21.operating_unit) ff
Null /
Column Type of Data Description
Not Null
ENTITY_TYPE CHAR(2) Entity code of the row
ENTITY_DESCRIPTIO Entity description of
VARCHAR2(5)
N the row
Entity subtype of the
ENTITY_SUBTYPE VARCHAR2(15)
row
Ledger defining
LEDGER_ID NUMBER(15,0)
column
Establishment
ESTABLISHMENT_ID NUMBER(15,0)
Identifier
ESTABLISHMENT_NA
VARCHAR2(240) Name
ME
LEGAL_ENTITY_ID NUMBER(15,0) Legal Entity Identifier
REGISTRATION_NUM
VARCHAR2(30) Registration Number
BER
LEGISLATIVE_CAT_C Legislative Category
VARCHAR2(30)
ODE Code
1st line of location
ADDRESS_LINE_1 VARCHAR2(240)
address
2nd line of location
ADDRESS_LINE_2 VARCHAR2(240)
address
3rd line of location
ADDRESS_LINE_3 VARCHAR2(240)
address
TOWN_OR_CITY VARCHAR2(30) Town or city.
County (US, UK);
REGION_1 VARCHAR2(120)
Province (CA).
State (US); Province of
REGION_2 VARCHAR2(120)
work (CA).
Additional address
segment - not used by
REGION_3 VARCHAR2(120)
seeded address
structures
POSTAL_CODE VARCHAR2(30) Postal code
COUNTRY VARCHAR2(60) Country.
System-generated
LOCATION_ID NUMBER
primary key column
ETB_EFFECTIVE_FRO
DATE Effective From
M
ETB_EFFECTIVE_TO DATE Effective To
Inventory
INVENTORY_ORGAN
NUMBER(15,0) organization foreign
IZATION_ID
key
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
218
VARCHAR2(400
ENTITY_NAME Entity Name
0)
OPERATING_UNIT NUMBER Operation Unit
CHART_OF_ACCOUN Key flexfield structure
NOT NULL NUMBER(15,0)
TS_ID defining column
LOCATION_CODE VARCHAR2(60) Location name.
Indicates whether this
IN_ORGANIZATION_
VARCHAR2(30) location is an internal
FLAG
site
Date after which this
INACTIVE_DATE DATE location is no longer
valid.
TELEPHONE_NUMBE
VARCHAR2(60) Telephone number
R_1
Identifier
EST_LOCATION_ID NUMBER Establishment
Location
MASTER_ORGANIZA Item master
VARCHAR2(1)
TION_FLAG organization flag
MASTER_ORGANIZA Master organization
NUMBER
TION_ID identifier
ORGANIZATION_NA
VARCHAR2(240) Name of organization
ME
OPERATING_UNIT_N Operating unit
VARCHAR2(240)
AME identifier
CLL_F255_MTL_UNITS_MEASURE_V
Selects the information in the CLL_F255_MTL_UNITS_MEASURE_V view together with
other columns that are referred to
SELECT
mum.unit_of_measure ,
mum.unit_of_measure_tl ,
mum.uom_code ,
mum.uom_class ,
mum.description ,
mum.language ,
fnl.installed_flag ,
mum.creation_date ,
mum.last_update_date ,
mum.attribute_category ,
mum.attribute1 ,
mum.attribute2 ,
mum.attribute3 ,
Null /
Column Type of Data Description
Not Null
UNIT_OF_MEASURE NOT NULL VARCHAR2(25) Unit of measure name
UNIT_OF_MEASURE_ Unit of measure name
NOT NULL VARCHAR2(25)
TL translation
Abbreviated unit of
UOM_CODE NOT NULL VARCHAR2(3)
measure code
UOM_CLASS NOT NULL VARCHAR2(10) Unit of measure class
Unit of measure
DESCRIPTION VARCHAR2(50)
description
The defined Language
Code of the row (From
LANGUAGE_CODE
LANGUAGE NOT NULL VARCHAR2(4)
column in
FND_LANGUAGES
table
Flag to indicate if the
INSTALLED_FLAG NOT NULL VARCHAR2(1) language is installed
and available for use
CREATION_DATE NOT NULL DATE Standard Who column
LAST_UPDATE_DATE NOT NULL DATE Standard Who column
Descriptive flexfield
ATTRIBUTE_CATEGO
VARCHAR2(30) structure defining
RY
column
Descriptive flexfield
ATTRIBUTE1 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE2 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE3 VARCHAR2(150)
segment
CLL_F255_OM_STOCK_V
Selects the information in the CLL_F255_OM_STOCK_V view together with other
columns that are referred to
SELECT
ooh.org_id,
mmt.transaction_id,
NVL(mmt.pick_slip_number,ooh.order_number) order_number,
NVL(rctt.global_attribute1,'NFF') document_code,
ool.line_number,
ool.unit_selling_price unit_price,
mmt.inventory_item_id,
mmt.organization_id,
mmt.transaction_type_id,
mmt.transaction_source_id,
mmt.transaction_source_name,
mmt.transaction_reference,
mmt.shipment_number,
mmt.waybill_airbill,
mmt.subinventory_code,
mmt.trx_source_line_id,
mmt.picking_line_id,
mmt.trx_source_delivery_id,
mmt.source_code,
mmt.source_line_id,
ool.ship_from_org_id location_id,
ooh.attribute1 ooe_attribute1,
ooh.attribute2 ooe_attribute2,
ooh.attribute3 ooe_attribute3,
ooh.attribute4 ooe_attribute4,
ooh.attribute5 ooe_attribute5,
ooh.attribute6 ooe_attribute6,
ooh.attribute7 ooe_attribute7,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
221
ooh.attribute8 ooe_attribute8,
ooh.attribute9 ooe_attribute9,
ooh.attribute10 ooe_attribute10,
ooh.attribute11 ooe_attribute11,
ooh.attribute12 ooe_attribute12,
ooh.attribute13 ooe_attribute13,
ooh.attribute14 ooe_attribute14,
ooh.attribute15 ooe_attribute15,
ooh.attribute16 ooe_attribute16,
ooh.attribute17 ooe_attribute17,
ooh.attribute18 ooe_attribute18,
ooh.attribute19 ooe_attribute19,
ooh.attribute20 ooe_attribute20,
ooh.global_attribute1 ooe_global_attribute1,
ooh.global_attribute2 ooe_global_attribute2,
ooh.global_attribute3 ooe_global_attribute3,
ooh.global_attribute4 ooe_global_attribute4,
ooh.global_attribute5 ooe_global_attribute5,
ooh.global_attribute6 ooe_global_attribute6,
ooh.global_attribute7 ooe_global_attribute7,
ooh.global_attribute8 ooe_global_attribute8,
ooh.global_attribute9 ooe_global_attribute9,
ooh.global_attribute10 ooe_global_attribute10,
ooh.global_attribute11 ooe_global_attribute11,
ooh.global_attribute12 ooe_global_attribute12,
ooh.global_attribute13 ooe_global_attribute13,
ooh.global_attribute14 ooe_global_attribute14,
ooh.global_attribute15 ooe_global_attribute15,
ooh.global_attribute16 ooe_global_attribute16,
ooh.global_attribute17 ooe_global_attribute17,
ooh.global_attribute18 ooe_global_attribute18,
ooh.global_attribute19 ooe_global_attribute19,
ooh.global_attribute20 ooe_global_attribute20
FROM oe_transaction_types_all ott,
ra_cust_trx_types_all rctt,
oe_order_headers_all ooh,
oe_order_lines_all ool,
mtl_material_transactions mmt
WHERE rctt.cust_trx_type_id = ott.cust_trx_type_id
AND ott.transaction_type_id = ooh.order_type_id
AND mmt.transaction_source_type_id = 2
AND ool.header_id = ooh.header_id
AND ool.inventory_item_id = mmt.inventory_item_id
AND ool.line_id = mmt.trx_source_line_id
AND ooh.header_id (+) = mmt.transaction_reference;
Null /
Column Type of Data Description
Not Null
SELECT
DECODE(LENGTH(fe.registration_number),15,
SUBSTR(fe.registration_number,2,9),
SUBSTR(fe.registration_number,1,8)) company_code -- Adicionado
, DECODE(LENGTH(fe.registration_number),15,
SUBSTR(fe.registration_number,10,4),
SUBSTR(fe.registration_number,9,4)) establishment_code -- Adicionado
, msi.concatenated_segments item_code
, msi.description item_description
, prod.item_um
, prod.qty
, prod.line_type
, prod.line_no
, msi.organization_id
, msi.inventory_item_id
, form.formula_id
, form.formula_no
, form.formula_vers
, form.formula_type
, form.scale_type
, form.formula_desc1
, form.formula_desc2
, form.formula_class
, form.fmcontrol_class
, form.in_use
, form.inactive_ind
, form.attribute1
, form.attribute2
, form.attribute3
, form.attribute4
, form.attribute5
, form.attribute6
, form.attribute7
, form.attribute8
, form.attribute9
, form.attribute10
, form.attribute11
, form.attribute12
, form.attribute13
, form.attribute14
, form.attribute15
, form.attribute16
, form.attribute17
, form.attribute18
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
226
, form.attribute19
, form.attribute20
, form.attribute21
, form.attribute22
, form.attribute23
, form.attribute24
, form.attribute25
, form.attribute26
, form.attribute27
, form.attribute28
, form.attribute29
, form.attribute30
, form.attribute_category
, form.text_code
, form.delete_mark
, form.created_by
, form.creation_date
, form.last_update_date
, form.last_updated_by
, form.last_update_login
, form.orgn_code
, form.formula_uom
, form.total_input_qty
, form.total_output_qty
, form.formula_status
, form.owner_id
, form.project_id
, fe.operating_unit
FROM fm_form_mst_b form
, fm_matl_dtl prod
, mtl_system_items_b_kfv msi
, cll_f255_establishment_v fe
WHERE form.formula_id = prod.formula_id
AND prod.inventory_item_id = msi.inventory_item_id
AND prod.organization_id = msi.organization_id
AND msi.organization_id = form.owner_organization_id
AND fe.inventory_organization_id = msi.organization_id
Null /
Column Type of Data Description
Not Null
COMPANY_CODE VARCHAR2(27) Company code
identifier
ESTABLISHMENT_CO VARCHAR2(12)
Establisment code
DE
ITEM_CODE VARCHAR2(40) Concatenated
segments
ITEM_DESCRIPTION VARCHAR2(240) Item description
ITEM_UM VARCHAR2(4) Unit of measures of
qty.
CLL_F255_ORG_COMPANIES_V
Selects the information in the CLL_F255_ORG_COMPANIES_V view together with other
columns that are referred to
Null /
Column Type of Data Description
Not Null
System-generated
LOCATION_ID VARCHAR2(4000)
primary key column
ORGANIZATION_ID VARCHAR2(240) Location name
DOCUMENT_TYPE VARCHAR2(18) Document Type
DOCUMENT VARCHAR2(87) Document
COMPANY_CODE VARCHAR2(27) Company Code
ESTABLISHMENT_CO
VARCHAR2(12) Establhishment Code
DE
REGISTER_DIGIT VARCHAR2(45) Register Digit
IE VARCHAR2(30) IE
Date after which this
INACTIVE_DATE DATE location is no longer
valid
CLL_F255_PAC_INVENTORY_V
Selects the information in the CLL_F255_PAC_INVENTORY_V view together with other
columns that are referred to
Null /
Column Type of Data Description
Not Null
TYPE VARCHAR2(28) Default 1-Stock
LEGAL_ENTITY NUMBER Legal Entity Identifier
COST_GROUP_ID NUMBER Cost Group Identifier
COST_GROUP VARCHAR2(10) Cost Group Identifier
COST_TYPE_ID NUMBER Cost Type Identifier
COST_TYPE VARCHAR2(10) Cost Type Identifier
Periodic Costing
PERIOD_ID NUMBER
Period Identifier
PERIOD_NAME VARCHAR2(15) Period Name
INVENTORY_DATE DATE Period End Date
CLASSIFICATION_CO
VARCHAR2(30) Classification Code
DE
ITEM_TYPE VARCHAR2(30) Item Type
ITEM_CODE VARCHAR2(105) Item Code
SUBINVENTORY_CO
VARCHAR2(10) Subinventory Code
DE
COST_CENTER VARCHAR2(60) Cost Center
CATEGORY_ID NUMBER Category Id
STOCK_DESCRIPTIO
VARCHAR2(90) Stock Description
N
UOM VARCHAR2(25) Uom
ORGANIZATION_ID NUMBER Organization Id
CLL_F255_PAC_STOCK_V
Selects the information in the CLL_F255_PAC_STOCK_V view together with other
columns that are referred to
SELECT ccg.legal_entity ,
ccg.cost_group_id ,
ccg.cost_group ,
cpp.cost_type_id ,
cct.cost_type ,
cpp.pac_period_id ,
cpp.period_name ,
NULL registration_number,
DECODE(SIGN(mmt.primary_quantity),1,'E',-1,'S') type,
DECODE(mmt.transaction_action_id,1,
DECODE(mmt.transaction_source_type_id,1,'D',
'N'),
27,
DECODE(mmt.transaction_source_type_id, 12,'D','N')
, 'N') return,
-- DECODE(cfse.outside_flag, 'N', 1, 'S', 2 ) count_group, --- ENH 10086940
mmt.organization_id ,
mmt.inventory_item_id ,
mmt.transaction_date ,
mmt.creation_date ,
mmt.transaction_source_id ,
mmt.transaction_source_type_id ,
mmt.transaction_type_id ,
mmt.transaction_id ,
mmt.trx_source_line_id ,
mmt.trx_source_delivery_id ,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
241
mmt.picking_line_id ,
mmt.rcv_transaction_id ,
msi.item_type ,
msi.concatenated_segments ,
mmt.subinventory_code ,
mc.category_id ,
substr(mc.description,1,30) category_description,
mmt.primary_quantity quantity,
mmt.currency_code ,
( SELECT SUM( mpacd2.actual_cost )
FROM mtl_pac_actual_cost_details mpacd2
WHERE mpacd2.transaction_id = mmt.transaction_id ) unit_cost,
mmt.org_cost_group_id ,
ccga.organization_id organization_id_unit,
mmt.transaction_uom, --- ENH 10086940
(SELECT mmt1.operation_seq_num
FROM mtl_material_transactions mmt1
WHERE mmt1.transaction_type_id = 44
AND mmt1.transaction_id = mmt.transaction_id
) Operation_Seq_Num, --- ENH 10086940
DECODE(cfse.outside_flag,'N',0,'Y',1,'T',2) count_group
FROM mtl_material_transactions mmt,
mtl_pac_actual_cost_details mpacd,
mtl_system_items_kfv msi,
mtl_item_categories mic,
mtl_categories mc,
mtl_default_category_sets mdcs,
cst_pac_periods cpp,
cst_cost_types cct,
cst_cost_group_assignments ccga,
cst_cost_groups ccg,
-- cll_f255_establishment_v cfev, --BUG 8429091
cll_f032_subinventories_ext cfse
WHERE mmt.subinventory_code = cfse.secondary_inventory_name (+)
AND mmt.organization_id = cfse.organization_id (+)
-- AND mmt.organization_id = cfev.inventory_organization_id (+) --BUG 8429091
-- AND ccg.legal_entity = cfev.legal_entity_id
AND mpacd.cost_group_id = ccga.cost_group_id
AND mmt.organization_id = ccga.organization_id
AND ccg.cost_group_type =2
AND mpacd.cost_group_id = ccg.cost_group_id
AND mmt.transaction_date BETWEEN cpp.period_start_date
AND cpp.period_end_date+.99999
AND mpacd.cost_type_id = cct.cost_type_id
AND mpacd.pac_period_id = cpp.pac_period_id
AND mpacd.cost_type_id = cpp.cost_type_id
AND mc.category_id = mic.category_id
AND mic.organization_id = msi.organization_id
AND mic.inventory_item_id = msi.inventory_item_id
AND mic.organization_id = msi.organization_id
AND mic.category_set_id = mdcs.category_set_id
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
242
AND mdcs.functional_area_id = 1 /* Inventory */
AND msi.organization_id = mmt.organization_id
AND msi.inventory_item_id = mmt.inventory_item_id
AND mpacd.transaction_id = mmt.transaction_id
AND mpacd.cost_element_id = 1
AND mpacd.level_type =1
AND (mmt.subinventory_code IS NOT NULL
OR mmt.transaction_type_id = 26)
UNION ALL
SELECT ccg.legal_entity ,
ccg.cost_group_id ,
ccg.cost_group ,
cpp.cost_type_id ,
cct.cost_type ,
cpp.pac_period_id ,
cpp.period_name ,
NULL registration_number,
DECODE(SIGN(mmt.primary_quantity),1,'E',-1,'S') type,
DECODE(mmt.transaction_action_id,1,
DECODE(mmt.transaction_source_type_id,1,'D',
'N'),
27,
DECODE(mmt.transaction_source_type_id, 12,'D','N')
, 'N') return,
-- DECODE(cfse.outside_flag, 'N', 1, 'S', 2 ) count_group, --- ENH 10086940
mmt.organization_id ,
mmt.inventory_item_id ,
mmt.transaction_date ,
mmt.creation_date ,
mmt.transaction_source_id ,
mmt.transaction_source_type_id ,
mmt.transaction_type_id ,
mmt.transaction_id ,
mmt.trx_source_line_id ,
mmt.trx_source_delivery_id ,
mmt.picking_line_id ,
mmt.rcv_transaction_id ,
msi.item_type ,
msi.concatenated_segments ,
mmt.subinventory_code ,
mc.category_id ,
substr(mc.description,1,30) category_description,
mmt.primary_quantity quantity,
mmt.currency_code ,
( SELECT SUM( mpacd2.actual_cost )
FROM mtl_pac_actual_cost_details mpacd2
WHERE mpacd2.transaction_id = mmt.transaction_id ) unit_cost,
mmt.org_cost_group_id ,
ccga.organization_id organization_id_unit,
mmt.transaction_uom, --- ENH 10086940
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
243
(SELECT mmt1.operation_seq_num
FROM mtl_material_transactions mmt1
WHERE mmt1.transaction_type_id = 44
AND mmt1.transaction_id = mmt.transaction_id
) Operation_Seq_Num, --- ENH 10086940
DECODE(cfse.outside_flag,'N',0,'Y',1,'T',2) count_group
FROM mtl_material_transactions mmt,
mtl_pac_actual_cost_details mpacd,
mtl_system_items_kfv msi,
mtl_item_categories mic,
mtl_categories mc,
mtl_default_category_sets mdcs,
cst_pac_periods cpp,
cst_cost_types cct,
cst_cost_group_assignments ccga,
cst_cost_groups ccg,
-- cll_f255_establishment_v cfev, --BUG 8429091
cll_f032_subinventories_ext cfse
WHERE mmt.subinventory_code = cfse.secondary_inventory_name (+)
AND mmt.organization_id = cfse.organization_id (+)
-- AND mmt.organization_id = cfev.inventory_organization_id (+) --BUG 8429091
-- AND ccg.legal_entity = cfev.legal_entity_id --BUG 8429091
AND mpacd.cost_group_id = ccga.cost_group_id
AND mmt.organization_id = ccga.organization_id
AND ccg.cost_group_type =2
AND mpacd.cost_group_id = ccg.cost_group_id
AND mmt.transaction_date BETWEEN cpp.period_start_date
AND cpp.period_end_date+.99999
AND mpacd.cost_type_id = cct.cost_type_id
AND mpacd.pac_period_id = cpp.pac_period_id
AND mpacd.cost_type_id = cpp.cost_type_id
AND mc.category_id = mic.category_id
AND mic.organization_id = msi.organization_id
AND mic.inventory_item_id = msi.inventory_item_id
AND mic.organization_id = msi.organization_id
AND mic.category_set_id = mdcs.category_set_id
AND mdcs.functional_area_id = 1 /* Inventory */
AND msi.organization_id = mmt.transfer_organization_id
AND msi.inventory_item_id = mmt.inventory_item_id
AND mpacd.transaction_id = mmt.transfer_transaction_id
AND mpacd.cost_element_id =1
AND mpacd.level_type =1
AND (mmt.subinventory_code IS NOT NULL
OR mmt.transaction_type_id = 26)
AND mmt.transaction_action_id =2
AND NVL(mmt.transaction_quantity,0) > 0;
Null /
Column Type of Data Description
Not Null
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
244
LEGAL_ENTITY NUMBER Legal Entity Identifier
COST_GROUP_ID NUMBER Cost Group Identifier
COST_GROUP VARCHAR2(10) Cost group name
COST_TYPE_ID NUMBER Cost type identifier
COST_TYPE VARCHAR2(10) Cost type name
Periodic Costing
PAC_PERIOD_ID NUMBER
Period Identifier
PERIOD_NAME VARCHAR2(15) Period Name
REGISTRATION_NUM Registration Num –
VARCHAR2
BER Default Null
TYPE VARCHAR2(1) Type
RETURN VARCHAR2(1) Return
COUNT_GROUP NUMBER Count Group
ORGANIZATION_ID NUMBER Organization identifier
INVENTORY_ITEM_I Inventory item
NUMBER
D identifier
TRANSACTION_DAT
DATE Transaction date
E
CREATION_DATE DATE Standard Who column
TRANSACTION_SOU Transaction source
NUMBER
RCE_ID identifier
TRANSACTION_SOU Transaction source
NUMBER
RCE_TYPE_ID type identifier
TRANSACTION_TYPE Transaction type
NUMBER
_ID identifier
TRANSACTION_ID NUMBER Transaction identifier
TRX_SOURCE_LINE_I Line level transaction
NUMBER
D source id
TRX_SOURCE_DELIV Sales order delivery
NUMBER
ERY_ID identifier
PICKING_LINE_ID NUMBER Picking line id
RCV_TRANSACTION_ Receiving transaction
NUMBER
ID cross reference
ITEM_TYPE VARCHAR2(30) User defined item type
Concatenated
CONCATENATED_SE
VARCHAR2(40) Segments
GMENTS
CLL_F255_PO_SUPPLIERS_V
Selects the information in the CLL_F255_PO_SUPPLIERS_V view together with other
columns that are referred to
SELECT
sup.vendor_id,
sup.segment1,
sup_site.vendor_site_id,
sup_site.vendor_site_code,
sup.vendor_name,
sup.vendor_type_lookup_code,
sup.customer_num,
sup.attribute1 sup_attribute1,
sup.attribute2 sup_attribute2,
sup.attribute3 sup_attribute3,
sup.attribute4 sup_attribute4,
sup.attribute5 sup_attribute5,
sup.attribute6 sup_attribute6,
sup.attribute7 sup_attribute7,
sup.attribute8 sup_attribute8,
sup.attribute9 sup_attribute9,
sup.attribute10 sup_attribute10,
sup.attribute11 sup_attribute11,
sup.attribute12 sup_attribute12,
sup.attribute13 sup_attribute13,
sup.attribute14 sup_attribute14,
Null /
Column Type of Data Description
Not Null
Unique internal
Identifier for this
VENDOR_ID NOT NULL NUMBER record. Generated
using a database
sequence
SEGMENT1 NOT NULL VARCHAR2(30) Supplier number
Unique internal
Identifier for this
VENDOR_SITE_ID NOT NULL NUMBER record. Generated
using a database
sequence
Site code name.
VENDOR_SITE_CODE NOT NULL VARCHAR2(15) Unique name assigned
to the supplier site
VENDOR_NAME VARCHAR2(240) Supplier name
Indicates Supplier
Type of the Supplier.
VENDOR_TYPE_LOO Possible values from
VARCHAR2(30)
KUP_CODE FND_LOOKUP_VAL
UES.LOOKUP_TYPE =
'VENDOR TYPE'
Customer number
CUSTOMER_NUM VARCHAR2(25)
with the supplier
Descriptive flexfield
SUP_ATTRIBUTE1 VARCHAR2(150)
segment
Descriptive flexfield
SUP_ATTRIBUTE2 VARCHAR2(150)
segment
Descriptive flexfield
SUP_ATTRIBUTE3 VARCHAR2(150)
segment
Descriptive flexfield
SUP_ATTRIBUTE4 VARCHAR2(150)
segment
Descriptive flexfield
SUP_ATTRIBUTE5 VARCHAR2(150)
segment
Descriptive flexfield
SUP_ATTRIBUTE6 VARCHAR2(150)
segment
Descriptive flexfield
SUP_ATTRIBUTE7 VARCHAR2(150)
segment
Descriptive flexfield
SUP_ATTRIBUTE8 VARCHAR2(150)
segment
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
248
Descriptive flexfield
SUP_ATTRIBUTE9 VARCHAR2(150)
segment
Descriptive flexfield
SUP_ATTRIBUTE10 VARCHAR2(150)
segment
Descriptive flexfield
SUP_ATTRIBUTE11 VARCHAR2(150)
segment
Descriptive flexfield
SUP_ATTRIBUTE12 VARCHAR2(150)
segment
Descriptive flexfield
SUP_ATTRIBUTE13 VARCHAR2(150)
segment
Descriptive flexfield
SUP_ATTRIBUTE14 VARCHAR2(150)
segment
Descriptive flexfield
SUP_ATTRIBUTE15 VARCHAR2(150)
segment
Inactive date for the
INACTIVE_DATE DATE
supplier site
Default freight career
for the supplier.
SHIP_VIA_LOOKUP_
VARCHAR2(25) Validated against
CODE
ORG_FREIGHT.FREI
GHT_CODE.
Alternate address line
ADDRESS_LINES_ALT VARCHAR2(560) for Kana Value of the
supplier site address
First line of supplier
ADDRESS_LINE1 VARCHAR2(240)
site address.
Second line of supplier
ADDRESS_LINE2 VARCHAR2(240)
site address
Third line of supplier
ADDRESS_LINE3 VARCHAR2(240)
site address
Fourth line of the
ADDRESS_LINE4 VARCHAR2(240)
supplier site address
CITY VARCHAR2(60) City name
State name or
STATE VARCHAR2(150)
abbreviation
ZIP VARCHAR2(60) Postal code
PROVINCE VARCHAR2(150) Province
COUNTRY VARCHAR2(60) Country name
COUNTY VARCHAR2(150) Supplier site county.
Supplier site area code
FAX_AREA_CODE VARCHAR2(10)
for facsimile number
Supplier site facsimile
FAX VARCHAR2(15)
number.
AREA_CODE VARCHAR2(10) Area code
PHONE VARCHAR2(15) Phone number
Supplier site telex
TELEX VARCHAR2(15)
number
Default free-on-board
FOB_LOOKUP_CODE VARCHAR2(25) type for the supplier.
Validated against
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
249
FND_LOOKUP_VAL
UES.LOOKUP_TYPE =
'FOB'.
Operating unit unique
ORG_ID NUMBER
identifier
Default ship-to-
location unique
identifier for the
SHIP_TO_LOCATION supplier site. Validated
NUMBER
_ID against
PO_LINE_LOCATIO
NS.SHIP_TO_LOCATI
ON_ID.
Default unique
identifier for the
location for the
BILL_TO_LOCATION_ supplier site where the
NUMBER
ID supplier sends
invoices for goods and
services. Validated
against
Standard Who column
LAST_UPDATE_DATE NOT NULL DATE - date when a user last
updated this row.
Standard who column
- unique internal
identifier user who last
LAST_UPDATED_BY NOT NULL NUMBER updated this row.
Foreign key to the
USER_ID column of
the FND_USER table
Standard who column
CREATION_DATE NOT NULL DATE - date when this row
was created
SUP_SITE_GLOBAL_A Reserved for country-
VARCHAR2(150)
TTRIBUTE1 specific functionality
SUP_SITE_GLOBAL_A
VARCHAR2(150) Reserved for country
TTRIBUTE2
SUP_SITE_GLOBAL_A
VARCHAR2(150) Reserved for country
TTRIBUTE3
SUP_SITE_GLOBAL_A
VARCHAR2(150) Reserved for country
TTRIBUTE4
SUP_SITE_GLOBAL_A
VARCHAR2(150) Reserved for country
TTRIBUTE5
SUP_SITE_GLOBAL_A
VARCHAR2(150) Reserved for country
TTRIBUTE6
SUP_SITE_GLOBAL_A
VARCHAR2(150) Reserved for country
TTRIBUTE7
SUP_SITE_GLOBAL_A
VARCHAR2(150) Reserved for country
TTRIBUTE8
SELECT
rat.term_id,
rat.creation_date,
rat.last_update_date,
rat.credit_check_flag,
rat.due_cutoff_day,
rat.printing_lead_days,
rat.start_date_active,
rat.end_date_active,
rat.attribute1 rat_attribute1,
rat.attribute2 rat_attribute2,
rat.attribute3 rat_attribute3,
rat.attribute4 rat_attribute4,
rat.attribute5 rat_attribute5,
rat.attribute6 rat_attribute6,
rat.attribute7 rat_attribute7,
rat.attribute8 rat_attribute8,
rat.attribute9 rat_attribute9,
rat.attribute10 rat_attribute10,
rat.attribute11 rat_attribute11,
rat.attribute12 rat_attribute12,
rat.attribute13 rat_attribute13,
rat.attribute14 rat_attribute14,
rat.attribute15 rat_attribute15,
rat.base_amount,
rat.calc_discount_on_lines_flag ,
rat.first_installment_code,
rat.in_use,
rat.partial_discount_flag,
rat.name ,
rat.description,
rtl.sequence_num,
rtl.relative_amount,
rtl.due_days,
rtl.due_date,
rtl.due_day_of_month,
rtl.due_months_forward
FROM ra_terms_lines rtl,
ra_terms rat
WHERE rtl.term_id = rat.term_id;
CLL_F255_RI_FISCAL_CLASS_V
Selects the information in the CLL_F255_RI_FISCAL_CLASS_V view together with other
columns that are referred to
SELECT
cffcd.classification_id,
cffc.classification_code,
cffc.description,
cffc.ipi_tax,
cffc.importation_tax,
cffc.exception_classification_code,
cffcd.tax_code,
cffcd.tax_perc,
cffcd.dutty_free,
cffcd.start_date,
cffcd.end_date,
cffcd.tax_inactive_date,
cffcd.creation_date,
cffcd.created_by,
cffcd.last_update_date,
cffcd.last_updated_by,
cffc.attribute1,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
254
cffc.attribute2,
cffc.attribute3,
cffc.attribute4,
cffc.attribute5,
cffc.attribute6,
cffc.attribute7,
cffc.attribute8,
cffc.attribute9,
cffc.attribute10,
cffc.attribute11,
cffc.attribute12,
cffc.attribute13,
cffc.attribute14,
cffc.attribute15,
cffc.attribute16,
cffc.attribute17,
cffc.attribute18,
cffc.attribute19,
cffc.attribute20
FROM cll_f189_fiscal_class cffc,
cll_f189_fiscal_class_details cffcd
WHERE cffc.classification_id = cffcd.classification_id;
CLL_F255_RI_FISC_EXCEPTIONS_V
Selects the information in the CLL_F255_RI_FISC_EXCEPTIONS_V view together with
other columns that are referred to
Null /
Column Type of Data Description
Not Null
RULE_ID NOT NULL NUMBER Rule Id
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
257
RULE_CODE NOT NULL VARCHAR2(20) Rule Code
CLASSIFICATION_ID NOT NULL NUMBER Classification Id
CLASSIFICATION_CO
NOT NULL VARCHAR2(15) Classification Code
DE
EXCEPTION_CLASSIF Exception
VARCHAR2(15)
ICATION_CODE Classification Code
CREATION_DATE NOT NULL DATE Creation Date
CREATED_BY NOT NULL NUMBER Created By
LAST_UPDATE_DATE NOT NULL DATE Last Update Date
STATE_ID NUMBER State Id
UTILIZATION_ID NUMBER Utilization Id
TAX_TYPE VARCHAR2(30) Tax Type
DESCRIPTION VARCHAR2(240) Description
BEGIN_EFFECTIVE_D
DATE Begin Effective Date
ATE
END_EFFECTIVE_DA
DATE End Effective Date
TE
DIFFER_TAX_FLAG NOT NULL VARCHAR2(1) Differ Tax Flag
REDUCTION_PERCE
NUMBER Reduction Percent
NT
DIFFERENT_TAX NUMBER Different Tax
EXEMPT_TAX_FLAG NOT NULL VARCHAR2(1) Exempt Tax Flag
TRIBUTATION_CODE VARCHAR2(30) Tributation Code
INACTIVE_DATE DATE Inactive Date
DESTINATION_STAT
NUMBER Destination State
E_ID
INCREASE_PERCENT NUMBER Increase Percent
Descriptive flexfield
ATTRIBUTE1 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE2 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE3 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE4 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE5 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE6 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE7 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE8 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE9 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE10 VARCHAR2(150)
segment
Descriptive flexfield
ATTRIBUTE11 VARCHAR2(150)
segment
CLL_F255_RI_FREIGHTS_V
Selects the information in the CLL_F255_RI_FREIGHTS_V view together with other
columns that are referred to
SELECT
rfi.organization_id ,
rfi.location_id ,
rfi.operation_id ,
reo.receive_date ,
reo.gl_date ,
reo.reversion_flag ,
rit.operation_type ,
rfi.fiscal_document_model ,
rfi.invoice_num ,
rfi.series ,
rfi.invoice_date ,
rfo.cfo_code ,
rit.operation_fiscal_type ,
ROUND(rfi.invoice_amount,2) invoice_amount,
ROUND(rfi.total_freight_weight,2) total_freight,
rfi.invoice_id ,
rfi.icms_tax ,
rfi.icms_amount ,
rfi.diff_icms_tax ,
rfi.diff_icms_amount ,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
259
rfi.diff_icms_amount_recover ,
rfi.icms_type ,
rfi.icms_base ,
rfi.terms_id ,
rfi.terms_date ,
rfi.first_payment_date ,
rit.cr_code_combination_id ,
rit.icms_reduction_percent ,
rfi.ship_via_lookup_code ,
rfi.attribute1 ,
rfi.attribute2 ,
rfi.attribute3 ,
rfi.attribute4 ,
rfi.attribute5 ,
rfi.attribute6 ,
rfi.attribute7 ,
rfi.attribute8 ,
rfi.attribute9 ,
rfi.attribute10 ,
rfi.attribute11 ,
rfi.attribute12 ,
rfi.attribute13 ,
rfi.attribute14 ,
rfi.attribute15 ,
rfi.attribute16 ,
rfi.attribute17 ,
rfi.attribute18 ,
rfi.attribute19 ,
rfi.attribute20 ,
rfi.last_updated_by ,
rfi.last_update_date ,
rfi.description ,
rfi.fiscal_interface_flag ,
rfi.fiscal_interface_date ,
rfea.vendor_site_id ,
rfea.entity_type_lookup_code ,
rfea.state_id ,
rs2.state_code ,
rs2.national_state ,
rfea.icms_reduction_base_flag ,
rfea.city_id ,
rfea.address_id ,
rfea.org_id ,
rit.invoice_type_lookup_code ,
rit.invoice_type_id ,
rit.fiscal_flag ,
rfi.interface_invoice_id ,
rs.state_code source_state,
rs1.state_code destination_state,
rit.return_flag , --BUG 9747631
rfi.tributary_status_code , --ENH 10358521
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
260
rfi.eletronic_invoice_key , --ENH 10086617
rfi.cte_type , --ENH 10086617
rfi.pis_amount_recover , --ENH 11795659
rfi.cofins_amount_recover , --ENH 11795659
rfi.pis_tax_rate , --ER 14645759
rfi.pis_base_amount , --ER 14645759
rfi.cofins_tax_rate , --ER 14645759
rfi.cofins_base_amount , --ER 14645759
rfi.pis_tributary_code , --ENH 15929409
rfi.cofins_tributary_code , --ENH 15929409
rfi.utilization_id --BUG 18545608
FROM cll_f189_entry_operations reo,
cll_f189_states rs2,
cll_f189_fiscal_operations rfo,
cll_f189_invoice_types rit,
cll_f189_fiscal_entities_all rfea,
cll_f189_business_vendors rbv,
cll_f189_freight_invoices rfi,
cll_f189_states rs,
cll_f189_states rs1
WHERE reo.operation_id = rfi.operation_id
AND reo.organization_id = rfi.organization_id
AND rs2.state_id = rfea.state_id
AND rfo.cfo_id = rfi.cfo_id
AND rfea.entity_id = rfi.entity_id
AND rbv.business_id = rfea.business_vendor_id
AND rit.invoice_type_id = rfi.invoice_type_id
AND rit.organization_id = rfi.organization_id
AND rs.state_id = rfi.source_state_id
AND rs1.state_id = rfi.destination_state_id
WITH READ ONLY
Null /
Column Type of Data Description
Not Null
ORGANIZATION_ID NOT NULL NUMBER Organization Id
LOCATION_ID NOT NULL NUMBER(15,0) Location Id
OPERATION_ID NOT NULL NUMBER Operation Id
RECEIVE_DATE DATE Receive Date
GL_DATE NOT NULL DATE Gl Date
REVERSION_FLAG VARCHAR2(1) Reversion Flag
OPERATION_TYPE NOT NULL VARCHAR2(30) Operation Type
FISCAL_DOCUMENT_ Fiscal Document
NOT NULL VARCHAR2(30)
MODEL Model
INVOICE_NUM NUMBER(16,2) Invoice Num
SERIES NOT NULL VARCHAR2(30) Series
INVOICE_DATE NOT NULL DATE Invoice Date
CFO_CODE NOT NULL VARCHAR2(30) CFO Code
OPERATION_FISCAL_
VARCHAR2(30) Operation Fiscal Type
TYPE
INVOICE_AMOUNT NUMBER Invoice Amount
CLL_F255_RI_INTERSTATE_ICMS_V
Selects the information in the CLL_F255_RI_INTERSTATE_ICMS_V view together with
other columns that are referred to
SELECT
cfsr.source_state_id,
cs.description ,
cs.internal_icms_tax,
cs.inactive_date,
cs.state_code source_state,
cs1.state_code destination_state,
cfsr.destination_state_id,
cfsr.icms_tax
FROM cll_f189_state_relations cfsr,
cll_f189_states cs,
cll_f189_states cs1
WHERE cs.state_id = cfsr.source_state_id
AND cs1.state_id = cfsr.destination_state_id;
Null /
Column Type of Data Description
Not Null
SOURCE_STATE_ID NOT NULL NUMBER Source State Id
DESCRIPTION NOT NULL VARCHAR2(240) Description
INTERNAL_ICMS_TA
NUMBER Internal ICMS Tax
X
INACTIVE_DATE DATE Inactive Date
SOURCE_STATE NOT NULL VARCHAR2(30) Source State
DESTINATION_STAT
NOT NULL VARCHAR2(30) Destination State
E
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
264
DESTINATION_STAT
NOT NULL NUMBER Destination State id
E_ID
ICMS_TAX NUMBER ICMS Tax
CLL_F255_RI_INVOICE_ITEMS_V
Selects the information in the CLL_F255_RI_INVOICE_ITEMS_V view together with
other columns that are referred to
SELECT
cfi.invoice_id,
cfi.organization_id,
cfi.location_id,
cfi.operation_id,
cfil.classification_id,
cffe.vendor_site_id,
cfit.operation_type,
cfi.fiscal_document_model,
cfi.invoice_num,
cfi.series,
cfi.invoice_date,
NVL(cfil.item_id,999999999999999) item_id,
NVL(msi.primary_uom_code,cfil.uom) primary_uom_code,
NVL(msi.primary_unit_of_measure,cfil.uom) primary_unit_of_measure,
cfil.uom uom, --BUG 19403452
msi.volume_uom_code,
msi.unit_weight,
msi.weight_uom_code,
msi.inventory_item_flag,
msi.service_item_flag,
cfil.invoice_line_id,
cfil.description,
cffo.cfo_code,
cfil.operation_fiscal_type,
cfil.quantity,
cfil.icms_tax_code,
cfil.ipi_tax_code,
cfil.unit_price,
cfil.dollar_unit_price,
cfil.ipi_base_amount,
cfil.icms_tax,
cfil.cost_amount,
cfil.cost_freight,
cfil.icms_amount,
cfil.icms_amount_recover,
Null /
Column Type of Data Description
Not Null
INVOICE_ID NOT NULL NUMBER Invoice Id
ORGANIZATION_ID NOT NULL NUMBER Organization Id
LOCATION_ID NOT NULL NUMBER(15,0) Location Id
OPERATION_ID NOT NULL NUMBER Operation Id
CLASSIFICATION_ID NOT NULL NUMBER Classification Id
VENDOR_SITE_ID NUMBER Vendor Site Id
OPERATION_TYPE NOT NULL VARCHAR2(30) Operation Type
FISCAL_DOCUMENT_ Fiscal Document
NOT NULL VARCHAR2(30)
MODEL Model
INVOICE_NUM NOT NULL NUMBER(16,2) Invoice Num
SERIES NOT NULL VARCHAR2(30) Series
INVOICE_DATE NOT NULL DATE Invoice Date
CLL_F255_RI_INVOICES_V
Selects the information in the CLL_F255_RI_INVOICES_V view together with other
columns that are referred to
SELECT
ood.operating_unit org_id,
hou.name,
cll_f255_utils_pkg.get_jurisdiction(hou.location_id, ood.legal_entity, 'FEDERAL_TAX')
ou_cnpj,
cll_f255_utils_pkg.get_jurisdiction(hou.location_id, ood.legal_entity, 'INCOME_TAX')
ou_ie,
cfi.invoice_id,
cfi.organization_id,
cfeo.location_id,
/* cll_f255_utils_pkg.get_jurisdiction(cfi.location_id,
(SELECT legal_entity FROM org_organization_definitions WHERE
organization_id = cfi.organization_id),
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
273
'FEDERAL_TAX') io_cnpj, --BUG 9712330
cll_f255_utils_pkg.get_jurisdiction(cfi.location_id, --BUG 9712330
ood.legal_entity,
'FEDERAL_TAX') io_cnpj,*/
cffe1.document_number io_cnpj, --BUG 12976691
cfi.operation_id,
cfit.operation_type,
cfi.fiscal_document_model,
cfi.invoice_num,
cfi.series,
cfi.invoice_date,
cfi.return_cfo_id,
cfit.operation_fiscal_type,
cfi.importation_number,
(NVL(cfi.invoice_amount,0) - NVL(cfi.ipi_amount,0)) value_product,
(cfi.invoice_amount + DECODE(cfi.importation_number,NULL,0,
cfi.importation_expense_func) ) value_total_invoice,
cfi.freight_amount value_freight,
cfi.insurance_amount value_insurance,
DECODE(cfi.importation_number,NULL,
cfi.other_expenses,cfi.importation_expense_func) value_others,
cfi.additional_amount value_charges,
cfi.additional_tax,
ROUND(cfi.dollar_invoice_amount,2) value_dollar_invoice,
cfi.icms_tax,
cfi.icms_amount,
cfi.diff_icms_tax,
cfi.ipi_amount,
cfi.diff_icms_amount,
cfi.iss_tax,
cfi.iss_amount,
cfi.subst_icms_amount,
cfi.icms_type,
cfi.icms_base,
cfi.ir_base,
cfi.iss_base,
cfi.subst_icms_base,
cfi.additional_amount,
cfi.di_date,
cfi.clearance_date,
cfi.inss_base,
cfi.inss_tax,
--BUG 13950239 - Start
/* DECODE(cfbv.inss_substitute_flag,'S', ROUND(cfi.inss_amount,2),
'A', ROUND(cfi.inss_autonomous_amount,2), 0) value_hold_inss,*/
DECODE(NVL(cfp.federal_withholding_tax_flag,'C'),'I',
DECODE(NVL(cfit.inss_substitute_flag,'N'),'S', ROUND(cfi.inss_amount,2),
'A', ROUND(cfi.inss_autonomous_amount,2), 0),
DECODE(cfbv.inss_substitute_flag,'S', ROUND(cfi.inss_amount,2),
'A', ROUND(cfi.inss_autonomous_amount,2), 0) )
value_hold_inss,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
274
/* DECODE(cfbv.inss_substitute_flag,'D', ROUND(cfi.inss_amount,2),
'A', ROUND(cfi.inss_amount,2), 0) value_expense_inss,*/
DECODE(NVL(cfp.federal_withholding_tax_flag,'C'),'I',
DECODE(NVL(cfit.inss_substitute_flag,'N'),'D', ROUND(cfi.inss_amount,2),
'A', ROUND(cfi.inss_amount,2), 0) ,
DECODE(cfbv.inss_substitute_flag,'D', ROUND(cfi.inss_amount,2),
'A', ROUND(cfi.inss_amount,2), 0) ) value_expense_inss,
/* cfbv.inss_substitute_flag,*/
NVL(DECODE(NVL(cfp.federal_withholding_tax_flag,'C'),'I',cfit.inss_substitute_flag,cfb
v.inss_substitute_flag),'N') inss_substitute_flag,
--BUG 13950239 - End
cfi.inss_autonomous_tax,
cfi.inss_autonomous_amount,
cfi.inss_autonomous_invoiced_total,
cfi.icms_st_amount_recover,
cfi.terms_id,
cfi.terms_date,
cfi.first_payment_date,
cfi.return_amount,
cfi.return_date,
cfi.contract_id,
cfi.description,
cfi.invoice_weight,
rs2.state_code state,
rs2.national_state,
cfit.invoice_type_code,
cfit.invoice_type_id,
cfit.payment_flag,
cfit.return_flag,
cfit.parent_flag,
cfi.invoice_parent_id,
cfit.requisition_type,
cfit.fiscal_flag,
cfit.description invoice_type_description,
cfit.credit_debit_flag,
cfit.include_icms_flag,
cfit.icms_reduction_percent,
cfit.include_ipi_flag,
cfit.freight_flag,
cfit.contab_flag,
cfit.transfer_type,
cfit.cr_code_combination_id,
cfit.icms_code_combination_id,
cfit.ipi_code_combination_id,
cfit.diff_icms_code_combination_id,
cfit.iss_code_combination_id,
cfit.ir_code_combination_id,
cfit.fixed_assets_flag,
cfbv.business_code,
cfbv.highlight_ipi_flag,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
275
cfbv.recover_ipi_percent,
cfbv.icms_contributor_flag,
cfi.ir_categ,
cfi.ir_tax,
cfi.ir_amount,
cffe.entity_type_lookup_code,
cfit.return_customer_flag,
cffe.entity_id,
cffe.vendor_site_id,
cffe.icms_reduction_base_flag,
cfit.price_adjust_flag,
cfit.tax_adjust_flag,
cffe.city_id,
cffe.address_id,
cfi.fiscal_interface_flag,
cfi.fiscal_interface_date,
cfi.gross_total_amount,
cfi.invoice_amount,
cfi.last_updated_by,
cfi.last_update_date,
cfi.attribute1,
cfi.attribute2,
cfi.attribute3,
cfi.attribute4,
cfi.attribute5,
cfi.attribute6,
cfi.attribute7,
cfi.attribute8,
cfi.attribute9,
cfi.attribute10,
cfi.attribute11,
cfi.attribute12,
cfi.attribute13,
cfi.attribute14,
cfi.attribute15,
cfi.attribute16,
cfi.attribute17,
cfi.attribute18,
cfi.attribute19,
cfi.attribute20,
cfi.interface_invoice_id,
cfi.inss_amount,
cfi.inss_additional_amount_1,
cfi.inss_additional_amount_2,
cfi.inss_additional_amount_3,
cfi.funrural_amount,
cfi.sest_senat_amount,
cfi.importation_expense_func,
cfi.iss_city_id,
cfi.income_code,
cfi.cei_number,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
276
cfi.cei_check_digit,
cfi.ship_via_lookup_code,
cfi.siscomex_amount,
cfi.dollar_siscomex_amount,
cfi.pis_cofins_st_base,
cfi.pis_st_amount,
cfi.cofins_st_amount,
cfi.freight_ap_flag,
cfi.pa_interface_flag,
cfi.importation_pis_amount,
cfi.importation_cofins_amount,
rs.state_code source_state,
rs1.state_code destination_state,
cfi.comments,
cfi.vehicle_oper_type,
cfi.vehicle_seller_doc_number,
cfi.vehicle_seller_state_id,
cfi.vehicle_chassi,
cfi.third_party_amount,
cfi.abatement_amount,
cfi.import_document_type,
cfi.eletronic_invoice_key,
cfi.process_indicator,
cfi.process_origin,
cfi.subseries,
cfi.icms_free_service_amount,
cll_f255_utils_pkg.sum_piscofins_ri_lines(cfi.invoice_id, 'PIS') value_pis,
cll_f255_utils_pkg.sum_piscofins_ri_lines(cfi.invoice_id, 'COFINS') value_cofins,
cffe.cust_acct_site_id,
cfeo.receive_date, --BUG 9770017
cfeo.gl_date, --BUG 9770017
cfeo.reversion_flag, --BUG 9770017
cfi.service_execution_date, --ENH 10086617
cfi.pis_withhold_amount, --ENH 10086617
cfi.cofins_withhold_amount, --ENH 10086617
cfi.drawback_granted_act_number, --ENH 10086617
cfi.ref_cte_number, --ENH 10086617
cfi.cte_type, --ENH 10086617
cfi.cte_invoice_id, --ENH 10086617
cfi.cte_invoice_type, --ENH 10086617
cfit.cost_adjust_flag, --ENH 11795659
cfeo.freight_flag operation_freight_flag, --ENH 11795659
NVL(cfp.federal_withholding_tax_flag,'C') federal_withholding_tax_flag, --BUG
13950239
cfi.icms_fcp_amount, --ENH 22959608
cfi.icms_sharing_dest_amount, --ENH 22959608
cfi.icms_sharing_source_amount --ENH 22959608
FROM cll_f189_invoice_types cfit,
cll_f189_states rs2,
cll_f189_entry_operations cfeo,
cll_f189_fiscal_entities_all cffe,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
277
cll_f189_fiscal_entities_all cffe1, --BUG 12976691
cll_f189_business_vendors cfbv,
cll_f189_invoices cfi,
cll_f189_states rs,
cll_f189_states rs1,
-- org_organization_definitions ood, --BUG 9712330
cll_f255_org_definitions_v ood,
hr_all_organization_units hou,
cll_f189_parameters cfp --BUG 13950239
WHERE rs2.state_id = cffe.state_id
AND cffe.entity_id = cfi.entity_id
AND cfeo.operation_id = cfi.operation_id
AND cfeo.organization_id = cfi.organization_id
AND cfbv.business_id = cffe.business_vendor_id
AND cfit.invoice_type_id = cfi.invoice_type_id
AND cfit.organization_id = cfi.organization_id
AND rs.state_id = cfi.source_state_id
AND rs1.state_id = cfi.destination_state_id
AND cfeo.organization_id = ood.organization_id
AND hou.organization_id = ood.operating_unit
AND cffe1.entity_type_lookup_code = 'LOCATION' --BUG 12976691
AND cffe1.location_id = cfeo.location_id --BUG 12976691
AND cfp.organization_id = cfi.organization_id --BUG 13950239
Null /
Column Type of Data Description
Not Null
Operating unit unique
ORG_ID NUMBER identifier
Name of the
NAME NOT NULL VARCHAR2(240)
organization.
VARCHAR2(400 CNPJ of the
OU_CNPJ
0) organization
VARCHAR2(400
OU_IE IE of the organization
0)
Unique internal
Identifier for this
INVOICE_ID NOT NULL NUMBER record. Generated
using a database
sequence
Identifier for project
organization used to
build default
Accounting Flexfield.
ORGANIZATION_ID NOT NULL NUMBER
Foreign key to the
EXPENDITURE_ORG
ANIZATION_ID of
the
CLL_F255_GL_SEG_VAL_HIERARCH_V
SELECT gs.ledger_id,
fifs.segment_name segment_type,
ffv.flex_value value,
ffvt.description,
DECODE(ffv.summary_flag ,'N','CHILD','Y','PARENT') parent, --BUG 9786894
ffvnh.child_flex_value_low child_low,
ffvnh.child_flex_value_high child_high,
ffv.start_date_active,
ffv.end_date_active,
ffv.enabled_flag,
fifs.application_column_name,
fifs.id_flex_num chart_of_accounts,
ffv.flex_value_set_id,
fl.installed_flag,
fl.language_code,
ffv.hierarchy_level, --BUG 9739258
ffv.last_update_date --BUG 9786894
FROM fnd_flex_values ffv, --lista numeros dos valores de cada segmento
fnd_flex_values_tl ffvt, --recupera descricao do value(segmento)
fnd_id_flex_segments fifs,
( SELECT *
FROM cll_f255_gl_segments_v) gs,
fnd_languages fl,
fnd_flex_value_norm_hierarchy ffvnh
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
285
WHERE fifs.id_flex_code = 'GL#'
AND ffvnh.flex_value_set_id = ffv.flex_value_set_id
AND ffvnh.parent_flex_value = ffv.flex_value
AND fifs.application_column_name = gs.application_column_name
AND fifs.flex_value_set_id = ffv.flex_value_set_id
AND ffvt.flex_value_id = ffv.flex_value_id
AND ffvt.language = fl.language_code
AND ffv.summary_flag = 'Y'
UNION
SELECT gs.ledger_id,
fifs.segment_name segment_type,
ffv.flex_value value,
ffvt.description,
DECODE(ffv.summary_flag ,'N','CHILD','Y','PARENT') parent, --BUG 9786894
NULL child_low,
NULL child_high,
ffv.start_date_active,
ffv.end_date_active,
ffv.enabled_flag,
fifs.application_column_name,
fifs.id_flex_num chart_of_accounts,
ffv.flex_value_set_id,
fl.installed_flag,
fl.language_code,
ffv.hierarchy_level, --BUG 9739258
ffv.last_update_date --BUG 9786894
FROM fnd_flex_values ffv, --lista numeros dos valores de cada segmento
fnd_flex_values_tl ffvt, --recupera descricao do value(segmento)
fnd_id_flex_segments fifs,
( SELECT *
FROM cll_f255_gl_segments_v) gs,
fnd_languages fl
WHERE fifs.id_flex_code = 'GL#'
AND fifs.application_column_name = gs.application_column_name
AND fifs.flex_value_set_id = ffv.flex_value_set_id
AND ffvt.flex_value_id = ffv.flex_value_id
AND ffvt.language = fl.language_code
AND ffv.summary_flag = 'N';
Null /
Column Type of Data Description
Not Null
Ledger defining
LEDGER_ID NUMBER(15,0)
column
SEGMENT_TYPE VARCHAR2(30) Segment name
CLL_F255_OPM_INVENTORY_V
Null /
Column Type of Data Description
Not Null
LEGAL_ENTITY NOT NULL NUMBER(15,0) legal entity identifier
COST_TYPE_ID NUMBER(15,0) Cost Type identifier
Cost Type: 0 -
COST_TYPE NOT NULL NUMBER(5,0) Standard; 1 - Actual
Cost; 6 - Lot Cost
Cost method defined
COST_MTHD_CODE NOT NULL VARCHAR2(10)
by the user
CALENDAR_CODE NOT NULL VARCHAR2(10) calendar code
PERIOD_CODE NOT NULL VARCHAR2(10) period code
CLL_F255_ORG_DEFINITIONS_V
Null /
Column Type of Data Description
Not Null
System-generated
ORGANIZATION_ID NOT NULL NUMBER(15,0)
primary key column.
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
292
Foreign key to
BUSINESS_GROUP_ID NOT NULL NUMBER(15,0) HR_ORGANIZATIO
N_UNITS.
USER_DEFINITION_E Start date of the
NOT NULL DATE
NABLE_DATE organization
End date of the
DISABLE_DATE DATE
organization
ORGANIZATION_CO
VARCHAR2(3)
DE
ORGANIZATION_NA Name of the
NOT NULL VARCHAR2(240)
ME organization
Ledger defining
SET_OF_BOOKS_ID NOT NULL NUMBER(15,0)
column
CHART_OF_ACCOUN Key flexfield structure
NOT NULL NUMBER(15,0)
TS_ID defining column
INVENTORY_ENABLE Developer descriptive
VARCHAR2(150)
D_FLAG flexfield column.
OPERATING_UNIT NUMBER Operation Unit
LEGAL_ENTITY NUMBER Legal Entity
CLL_F255_OPM_STOCK_V
Null /
Column Type of Data Description
Not Null
LEGAL_ENTITY NOT NULL NUMBER(15,0) legal entity identifier
COST_TYPE_ID NUMBER(15,0) cost type identifier
Cost Type: 0 -
COST_TYPE NOT NULL NUMBER(5,0) Standard; 1 - Actual
Cost; 6 - Lot Cost
Cost method defined
COST_MTHD_CODE NOT NULL VARCHAR2(10)
by the user
CALENDAR_CODE NOT NULL VARCHAR2(10) calendar code
PERIOD_CODE NOT NULL VARCHAR2(10) period code
CLL_F255_GL_ACCT_HIERARCHY_V
SELECT DISTINCT
gsb.set_of_books_id ledger_id,
--emp.registration_number company_code,
--emp.entity_name establishment_code,
glv.segment_value company_code,
fifs.segment_name segment_name,
ffvt.description,
ffv.start_date_active,
ffv.end_date_active,
fifs.application_column_name,
ffv.summary_flag,
--fifs.id_flex_num chart_of_accounts,
gsb.chart_of_accounts_id chart_of_accounts_id,
gsb.name book,
ffv.flex_value_set_id,
fl.installed_flag,
fl.language_code,
ffv.flex_value
FROM ( SELECT *
FROM cll_f255_establishment_v ) emp,
fnd_flex_values ffv,
fnd_flex_values_tl ffvt,
fnd_id_flex_segments fifs,
fnd_languages fl,
gl_sets_of_books gsb,
gl_ledger_norm_seg_vals glv,
gl_ledger_relationships glr
WHERE gsb.chart_of_accounts_id = fifs.id_flex_num
AND glr.source_ledger_id = glv.ledger_id
AND glr.target_ledger_category_code = 'PRIMARY'
AND glv.ledger_id = gsb.set_of_books_id
AND emp.ledger_id = gsb.set_of_books_id
AND emp.entity_name IS NOT NULL
--AND TO_CHAR(emp.location_id) = ffv.flex_value
AND fifs.id_flex_code = 'GL#'
AND fifs.flex_value_set_id = ffv.flex_value_set_id
AND ffvt.flex_value_id = ffv.flex_value_id
AND ffvt.LANGUAGE = fl.language_code
Null /
Column Type of Data Description
Not Null
LEDGER_ID NOT NULL NUMBER(15,0) Ledger_Id
COMPANY_CODE NOT NULL VARCHAR2(25) Segment value
SEGMENT_NAME NOT NULL VARCHAR2(30) Segment name
DESCRIPTION VARCHAR2(240) Description
START_DATE_ACTIV The date the value
DATE
E becomes active
The date the value
END_DATE_ACTIVE DATE
expires
APPLICATION_COLU
NOT NULL VARCHAR2(30) Flexfield column name
MN_NAME
Flag to indicate if the
SUMMARY_FLAG NOT NULL NOT NULL value is a parent value
with child values
CHART_OF_ACCOUN
NOT NULL NUMBER(15,0) Chart Of Accounts Id
TS_ID
BOOK NOT NULL VARCHAR2(30) Name
FLEX_VALUE_SET_ID NOT NULL NUMBER(10,0) Flex Value Set Id
INSTALLED_FLAG NOT NULL VARCHAR2(1) Installed Flag
CLL_F255_GL_SEGMENTS_V
SELECT gl.ledger_id,
gl.chart_of_accounts_id,
fifs.application_column_name,
fsav.segment_attribute_type,
fifs.segment_name
FROM gl_ledgers gl,
fnd_segment_attribute_values fsav,
fnd_id_flex_segments fifs
WHERE fsav.application_id = fifs.application_id
AND fsav.id_flex_code = fifs.id_flex_code
AND fsav.id_flex_num = fifs.id_flex_num
AND fsav.application_column_name = fifs.application_column_name
AND fsav.attribute_value = 'Y'
AND fifs.application_id = 101
AND fifs.id_flex_code = 'GL#'
AND fifs.enabled_flag = 'Y'
AND gl.chart_of_accounts_id = fifs.id_flex_num;
Null /
Column Type of Data Description
Not Null
Ledger defining
LEDGER_ID NOT NULL NUMBER(15,0)
column
CHART_OF_ACCOUN Key flexfield structure
NOT NULL NUMBER(15,0)
TS_ID defining column
APPLICATION_COLU
NOT NULL VARCHAR2(30) Flexfield column name
MN_NAME
SEGMENT_ATTRIBUT Flexfield segment
NOT NULL VARCHAR2(30)
E_TYPE qualifier
SEGMENT_NAME NOT NULL VARCHAR2(30) Segment name
CLL_F255_CST_INVENTORY_TEMP_V
Null /
Column Type of Data Description
Not Null
TYPE NOT NULL VARCHAR2
ORGANIZATION_ID NOT NULL NUMBER(15,0)
ORGANIZATION_COD NOT NULL VARCHAR2
E
COST_TYPE_ID NOT NULL NUMBER(15,0)
COST_TYPE NOT NULL VARCHAR2
PERIOD_ID NOT NULL NUMBER
PERIOD_NAME NOT NULL VARCHAR2
INVENTORY_DATE NOT NULL DATE
COUNT_GROUP NOT NULL VARCHAR2
CLASSIFICATION_CO NOT NULL VARCHAR2
DE
ITEM_TYPE NOT NULL VARCHAR2
ITEM_CODE NOT NULL VARCHAR2
SUBINVENTORY_COD NOT NULL VARCHAR2
E
UOM NOT NULL VARCHAR2
INVENTORY_ITEM_ID NOT NULL NUMBER(15,0)
QUANTITY NOT NULL NUMBER
COST_TOTAL NOT NULL NUMBER
COST_UNIT NOT NULL NUMBER
ACCOUNT NOT NULL NUMBER
SELECT
cfrct."RA_CUST_TRX_ID",cfrct."INVOICE_ID",cfrct."CUSTOMER_TRX_ID",cfrct."CUST_
ACCT_SITE_ID",cfrct."TRX_NUMBER",cfrct."TRX_DATE",cfrct."CREATION_DATE",cfrc
t."CREATED_BY",cfrct."LAST_UPDATE_DATE",cfrct."LAST_UPDATED_BY",cfrct."LAS
T_UPDATE_LOGIN",cfrct."ATTRIBUTE_CATEGORY",cfrct."ATTRIBUTE1",cfrct."ATTRI
BUTE2",cfrct."ATTRIBUTE3",cfrct."ATTRIBUTE4",cfrct."ATTRIBUTE5",cfrct."ATTRIBUT
E6",cfrct."ATTRIBUTE7",cfrct."ATTRIBUTE8",cfrct."ATTRIBUTE9",cfrct."ATTRIBUTE10",
cfrct."ATTRIBUTE11",cfrct."ATTRIBUTE12",cfrct."ATTRIBUTE13",cfrct."ATTRIBUTE14",
cfrct."ATTRIBUTE15",cfrct."ATTRIBUTE16",cfrct."ATTRIBUTE17",cfrct."ATTRIBUTE18",
cfrct."ATTRIBUTE19",cfrct."ATTRIBUTE20",cfrct."OUTBOUND_FREIGHT",cfrct."INVOI
CE_AMOUNT_FRT"
FROM cll_f189_ra_cust_trx cfrct;
CLL_F255_FA_ASSET_FISCALDOC_V
CLL_F255_FA_ASSET_INVOICES_V
SELECT fid.po_number
,fid.project_id
,fid.task_id
,fid.asset_id
,fid.date_effective
,pald.set_of_books_id
,pald.task_name
,pald.employee_name
,pald.job_name
,pald.vendor_name
,pald.expenditure_category
,pald.transaction_source
,pald.unit_of_measure_m
,aia.org_id
,aida.invoice_id
,aida.accounting_date
,aida.amount
,aida.request_id
,aia.invoice_num invoice_num_ap
,cfi.invoice_num invoice_num_ri
,cfi.organization_id
CLL_F255_WIP_MAT_COMPONENTS_V
SELECT
bom.assembly_item_id,
bom.organization_id,
bom.alternate_bom_designator ,
DECODE(LENGTH(fe.registration_number),15,
SUBSTR(fe.registration_number,2,9),
SUBSTR(fe.registration_number,1,8)) company_code,
DECODE(LENGTH(fe.registration_number),15,
SUBSTR(fe.registration_number,10,4),
SUBSTR(fe.registration_number,9,4)) establishment_code,
bom.bill_sequence_id ,
c.component_sequence_id ,
c.component_item_id ,
b.concatenated_segments item_code,
b.primary_uom_code ,
b.item_type ,
b.bom_enabled_flag ,
b.build_in_wip_flag ,
bom.assembly_type ,
msi.concatenated_segments component_item_code,
msi.primary_uom_code component_primary_uom_code,
CLL_F255_WIP_MATERIALS_V
CLL_F255_WIP_OPERATIONS_V
SELECT a.wip_entity_id,
c.operation_seq_num,
a.organization_id,
a.primary_item_id ,
DECODE(LENGTH(j.registration_number),15, SUBSTR(j.registration_number,2,9),
SUBSTR(j.registration_number,1,8)) company_code,
DECODE(LENGTH(j.registration_number),15,
SUBSTR(j.registration_number,10,4),SUBSTR(j.registration_number,9,4))
establishment_code,
b.item_type ,
b.concatenated_segments item_code,
c.last_unit_completion_date ,
b.primary_uom_code ,
(c.quantity_completed + nvl(c.quantity_in_queue,0) ) quantity,
c.quantity_scrapped ,
c.quantity_rejected ,
d.completion_subinventory ,
c.description ,
d.material_account ,
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
317
c.operation_yield ,
j.operating_unit
FROM cll_f255_establishment_v j,
mtl_system_items_b_kfv b,
wip_operations c,
wip_discrete_jobs d,
wip_entities a
WHERE j.inventory_organization_id = a.organization_id
AND j.legislative_cat_code = 'FEDERAL_TAX'
AND c.wip_entity_id = a.wip_entity_id
AND c.organization_id = a.organization_id
AND b.inventory_item_id = a.primary_item_id
AND b.organization_id = a.organization_id
AND a.organization_id = d.organization_id
AND a.wip_entity_id = d.wip_entity_id
AND a.primary_item_id = d.primary_item_id
CLL_F255_TPA_RENEWAL_REMIT_V
This view stores information about remittance invoices that require renewal of the legal return
period.
All executions will return outbound invoices who are past due or are about expire according the
setup performed in the CLL F513 Third Party Material Governance(More Information about CLL
F513 Third Party Material Governance can be found in the My Oracle Support Note 2326250.1).
This section provides detailed information about each module in the ISV Integration
Solution application. Use this section to better understand the details of what each module
ISV Integration Solution contains, and how these functionalities are implemented.
CLLBETAC
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_AR_CASH_RECEIPTS_T1
CLLBETAE
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_AP_TERMS_T1
CLLBETAI
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_AP_INVOICES_T1
CLLBETAP
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_AP_INV_PAYMENTS_T1
CLLBETAR
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_AR_RECEIVEBLE_APPL_T1
CLLBETAT
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_AP_TERMS_LINES_T1
CLLBETBD
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_BEN_DEPEN_T1
CLLBETBV
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_BUSINESS_VENDORS_T1
CLLBETCD
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_CONTRACT_DATA_T1
CLLBETEO
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_ENTRY_OPERATIONS_T1
CLLBETER
Description: Object available to the customer for integration
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
328
Type: Trigger
Language: PL*SQL
Name: CLL_F255_ELECTRONIC_RET_T1
CLLBETFC
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_FISCAL_CLASS_T1
CLLBETFD
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_FISC_CLASS_DETAILS_T1
CLLBETFI
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_FISCAL_ITEMS_T1
CLLBETFO
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_FISCAL_OPERATIONS_T1
CLLBETFT
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_FND_TERRITORIES_T1
CLLBETHA
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
CLLBETHC
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_HZ_CUST_ACCOUNTS_T1
CLLBETHI
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_HR_ORG_INFORMATION_T1
CLLBETHL
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_HR_LOCATIONS_T1
CLLBETHO
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_HR_ALL_ORG_UNITS_T1
CLLBETHP
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_HR_ALL_POSITIONS_T1
CLLBETIL
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_INVOICE_LINES_T1
CLLBETIT
Description: Object available to the customer for integration
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
330
Type: Trigger
Language: PL*SQL
Name: CLL_F255_INVOICE_TYPES_T1
CLLBETIU
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_ITEM_UTILIZATIONS_T1
CLLBETMS
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_MTL_SYSTEM_ITEMS_B_T1
CLLBETMT
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_MTL_MAT_TRANS_T1
CLLBETMU
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_MTL_UNITS_MEASURE_T1
CLLBETOE
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_OE_ORDER_HEADERS_T1
CLLBETOL
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_OE_ORDER_LINES_T1
CLLBETPB
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_PER_ABSENCE_ATT_T1
CLLBETPC
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_PER_RELATIONSHIPS_T1
CLLBETPD
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_PERSON_DATA_T1
CLLBETPE
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_PO_DISTRIBUTIONS_T1
CLLBETPF
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_PER_ALL_PEOPLE_F_T1
CLLBETPG
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_PER_ORG_STRUCTURES_T1
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
332
CLLBETPH
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_PO_HEADERS_T1
CLLBETPI
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_PER_ASSIGNMENTS_T1
CLLBETPJ
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_PER_JOBS_T1
CLLBETPL
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_PO_LINE_LOCATIONS_T1
CLLBETPM
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_PO_LINES_T1
CLLBETPN
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_PER_PERSON_TYPES_T1
CLLBETPO
Description: Object available to the customer for integration
Type: Trigger
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
333
Language: PL*SQL
Name: CLL_F255_PER_STR_ELEMENTS_T1
CLLBETPP
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_PER_PHONES_T1
CLLBETPQ
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_PER_QUALIFICATIONS_T1
CLLBETPR
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_PO_RELEASES_T1
CLLBETPS
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_AR_PAYMENT_SCHED_T1
CLLBETPT
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_PER_PERSON_USAGES_T1
CLLBETPU
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_PAY_ALL_PAYROLLS_F_T1
CLLBETPY
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_PER_PAY_PROPOSALS_T1
CLLBETRC
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_RA_CUSTOMER_TRX_T1
CLLBETRT
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_RA_TERMS_T1
CLLBETSS
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_AP_SUPPLIER_SITES_T1
CLLBETTA
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_TAX_TYPE_T1
CLLBETTS
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_TRIBUTARY_SIT_T1
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
335
CLLBETWC
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_WSH_CARRIERS_T1
CLLBETWN
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_WSH_NEW_DELIVERIES_T1
CLLBETST
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_SYSTEM_ITEMS_TL_T1
CLLBETJG
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_PER_JOB_GROUPS_T1
CLLBETEP
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_PER_PAY_BASES_T1
CLLBETEG
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_PER_GRADES_T1
CLLBETAG
Description: Object available to the customer for integration
Type: Trigger
Oracle Proprietary, Confidential Information - Use Restricted by Contract
LAD Add-on Localizations Technical Reference Manual
ISV Integration Solution
336
Language: PL*SQL
Name: CLL_F255_PAY_GRADE_RULES_F_T1
CLLBETEL
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_PER_ROLES_T1
CLLBETES
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_PER_PERSON_ANAL_T1
CLLBETJC
Description: Object available to the customer for integration
Type: Trigger
Language: PL*SQL
Name: CLL_F255_JL_BR_CUSTOMER_TRX_T1
CLLBELKP
Description: Define table for ISV raise business events
Type: Lookup
Language: PL*SQL
Name: CLL_F255_ISV_EVENTS
CLLBELKP
Description: Define SPED blocks for ISV
Type: Lookup
Language: PL*SQL
Name: CLL_F255_ISV_SPED
CLLGBENS/CLLGBENB
Description: Hook to change information in the table
Type: Package
Language: PL*SQL
Name: CLL_F255_NOTIFICATIONS_GRP
CLLUBEBS/CLLUBEBB
Description: object responsible for firing wf_event
Type: Package
Language: PL*SQL
Name: CLL_F255_BUSINESS_EVENTS_PKG
CLLBESBS/ CLLBESBB
Description: Raise Events for the Partner
Type: Concurrent
Language: PL*SQL
Name: CLL_F255_SYNC_BATCH_EVENTS_PKG
CLLCSTIS/CLLCSTIB
Description: Populate temp view with records from Inventory
Type: Concurrent
Language: PL*SQL
Name: CLL_F255_CST_INVENTORY_PUB
This section provides information for each type of application Lookup Oracle ISV
Integration Solution.
CLL_F255_ISV_EVENTS
CLL_F255_ISV_SPED