Vous êtes sur la page 1sur 26

TCA Tables and Their Joinings with Other Tables

Base Tables
hz_parties

Imp Columns

The HZ_PARTIES table stores basic information about parties that can be shared with any relationship that the party might establish with another party. The primary key
for this table is PARTY_ID.

party_id
party_number
party_name
party_type

hz_party_sites

Meaning

Party Identifier
Unique identifier for this party
Name of the Party
The party type can only be Person, Organization,
Group or Relationship.

The HZ_PARTY_SITES table links a party (HZ_PARTIES) and a location (HZ_LOCATIONS) and stores location-specific party information. One party can optionally have
one or more party sites. One location can optionally be used by one or more parties. The primary key for this table is PARTY_SITE_ID.

party_site_id
party_id

location_id
party_site_number
party_site_name

Party Site identifier


Identifier for the party. Foreign key to the
HZ_PARTIES table.
Identifier for the party site. Foreign key to the
HZ_LOCATIONS table.
Party site number.
User-defined name for the site.

Other Tables
Joins

h any relationship that the party might establish with another party. The primary key

hz_party_sites.party_id
hz_cust_accounts_all.party_id

TIONS) and stores location-specific party information. One party can optionally have
The primary key for this table is PARTY_SITE_ID.

Distribution and Manufacturing Commonly used tables

PO Tables and Their Joinings with Other Tables


Base Tables

Joins

po_requisition_headers_all
requisition_headeer_id

PO_REQUISITION_LINES_ALL item_id
org_id

MTL_SYSTEM_ITEMS_B.inventory_item_id
MTL_SYSTEM_ITEMS_B.organization_id

PO_DISTRIBUTIONS_ALL
Po_distribution_id
req_distribution_id

AP_INVOICE_DISTRIBUTIONS_ALL.po_distribution_id

vendor_id

AP_INVOICES_ALL.vendor_id

PO_REQ_DISTRIBUTIONS_ALL.distribution_id

PO_VENDORS

PO_HEADERS_ALL

segment1= PO Number

Po_header_id

RCV_TRANSACTIONS.po_header_id

Agent_id

HR_EMPLOYEES.employee_id

Po_distribution_id

RCV_TRANSACTIONS.Po_distribution_id

PO_DISTRIBUTIONS_ALL

RCV_TRANSACTIONS
RCV_TRANSACTION_I AP_INVOICE_DISTRIBUTIONS_ALL.RCV_TRANSACTION_ID
Organization_id
MTL_SYSTEM_ITEMS_B.organization_id

Janardhan
08/19/2016PO

Distribution and Manufacturing Commonly used tables

Janardhan
08/19/2016PO

PO Tables and Their Joinings with Other Tables


Base Tables

Joins

PO Tables and Their Joinings with Other Tables


Base Tables
hz_cust_acct_sites_all

Imp Columns
cust_account_site_id
cust_account_id
party_site_id

hz_cust_accounts

cust_account_id

party_id
hz_party_sites

party_id
party_site_id
location_id

hz_parties

ra_customer_trx_all

party_id

The RA_CUSTOMER_TRX_ALL table stores invoice, debit memo, commitment, bills receivable, and cre
information such as customer, transaction type, and printing instructions.
One row exists for each invoice, debit memo, commitment, bill receivable, and credit memo that you crea
receivable, and commitments are distinguished by their associated transaction types, which are stored in
customer_trx_id
If you entered a credit memo, the PREVIOUS_CUSTOMER_TRX_ID column stores the customer transa
are not related to any invoice when the credits are created, the PREVIOUS_CUSTOMER_TRX_ID colum
If you create an invoice against a commitment, Receivables stores the customer transaction ID of the co
INITIAL_CUSTOMER_TRX_ID column is null.
bill_to_customer_id
The COMPLETE_FLAG column stores Y or N to indicate if the invoice is complete.
When you complete an invoice, Receivables creates your payment schedules and updates any commitm
have
at least one invoice line, revenue records must exist for each line and add up to the line amount, an
trx_number
The SOLD_TO_CUSTOMER_ID, SOLD_TO_SITE_USE_ID, BILL_TO_CUSTOMER_ID, BILL_TO_SITE
customer_trx_id
PRINTING_PENDING, TERM_ID, REMIT_TO_ADDRESS_ID, PRIMARY_SALES_REP_ID, and INVOIC
allowed. The primary key for this table is CUSTOMER_TRX_ID.

ra_customer_trx_lines_all
customer_trx_id
sales_order

ra_cust_trx_line_gl_dist

customer_trx_id

AR_CASH_RECEIPTS_ALL

cash_receipt_id

ar_receivable_applications_all

cash_receipt_id

applied_customer_trx_id

PO Tables and Their Joinings with Other Tables


Meaning

customer id

X_ALL table stores invoice, debit memo, commitment, bills receivable, and credit memo header information. Each row in this table includes general invoice
mer, transaction type, and printing instructions.
voice, debit memo, commitment, bill receivable, and credit memo that you create in Oracle Receivables. Invoices, debit memos, credit memos, bills
nts are distinguished by their associated transaction types, which are stored in the RA_CUST_TRX_TYPES_ALL table.
generated from sequence
RA_CUSTOMER_TRX_S
mo, the PREVIOUS_CUSTOMER_TRX_ID
column
stores the customer transaction ID of the invoice that you credited. In the case of on-account credits, which
ce when the credits are created, the PREVIOUS_CUSTOMER_TRX_ID column is null.
ainst a commitment, Receivables stores the customer transaction ID of the commitment in the INITIAL_CUSTOMER_TRX_ID column. Otherwise, the
X_ID column is null.
lumn stores Y or N to indicate if the invoice is complete.
oice, Receivables creates your payment schedules and updates any commitments against this invoice. Before an invoice can be completed, the invoice must
ne, revenue records must exist for each line and add up to the line amount, and a sales tax record must exist for each line.
ER_ID, SOLD_TO_SITE_USE_ID, BILL_TO_CUSTOMER_ID, BILL_TO_SITE_USE_ID, SHIP_TO_SITE_USE_ID, PRINTING_OPTION,
RM_ID, REMIT_TO_ADDRESS_ID, PRIMARY_SALES_REP_ID, and INVOICE_CURRENCY_CODE columns are required even though they are null
or this table is CUSTOMER_TRX_ID.

The primary key for this table is CUSTOMER_TRX_LINE_ID.

ables
Joins
hz_cust_site_uses_all.cust_account_site_id
hz_cust_accounts_all.cust_account_id
hz_party_sites.party_site_id
hz_cust_acct_sites_all.cust_account_id
hz_customer_profiles.cust_account_id
hz_cust_acct_relate_all.cust_account_id
hz_parties.party_id
hz_parties.party_id
hz_contact_points.owner_table_id = party_site_id
hz_cust_acct_sites_all.party_site_id
hz_locations.location_id
hz_cust_accounts_all.party_id
hz_party_sites.party_id
hz_contact_points.owner_table_id = hz_parties.party_id
hz_organization_profiles.party_id
hz_relationships.subject_id = hz_parties.party_id
hz_person_profiles.party_id

vable, and credit memo header information. Each row in this table includes general invoice

o that you create in Oracle Receivables. Invoices, debit memos, credit memos, bills
h are stored in the RA_CUST_TRX_TYPES_ALL table.
ra_customer_trx_lines_all.customer_trx_id
stomer transaction
ID of the invoice that you credited. In the case of on-account credits, which
TRX_ID columnar_payment_schedules_all.customer_trx_id
is null.
on ID of the commitment
in the INITIAL_CUSTOMER_TRX_ID column. Otherwise, the
ar_adjustments_all.customer_trx_id

s any commitments against this invoice. Before an invoice can be completed, the invoice must
ne amount, and a sales tax record must exist for each line.
BILL_TO_SITE_USE_ID, SHIP_TO_SITE_USE_ID, PRINTING_OPTION,
XLA_TRANSACTION_ENTITIES.SOURCE_ID_INT_1
D, and INVOICE_CURRENCY_CODE
columns are required even though they are null

RA_CUST_TRX_LINE_GL_DIST_ALL.CUSTOMER_TRX_ID
is CUSTOMER_TRX_LINE_ID.
ra_customer_trx_all.customer_trx_id
oe_order_headers_all.order_number

ra_customer_trx_all.customer_trx_id
ra_customer_trx_lines_all.customer_trx_id

ar_receivable_applications_all.cash_receipt_id

ar_cash_receipts_all.cash_receipt_id

ra_customer_trx_all.customer_trx_id

Important Fields
TRX_NUMBER - User Entered Invoice Number
CUST_TRX_TYPE_ID - Foreign key to RA_CUST_TRX_TYPES
BILL_TO_CUSTOMER_ID - Foreign Key to RA_CUSTOMERS
SHIP_TO_CUSTOMER_ID - Foreign key to RA_CUSTOMERS
TRX_DATE - Invoice Date
COMPLETE_FLAG - Y or N

Important Fields:
CUSTOMER_TRX_ID - Foreign key to RA_CUSTOMER_TRX
LINE_TYPE - LINE, TAX, FREIGHT
QUANTITY_INVOICED - Line Quantity
UNIT_SELLING_PRICE - Price per unit
EXTENDED_AMOUNT - Quantity * Price
LINK_TO_CUST_TRX_LINE_ID - Null for LINE, for TAX and FREIGHT Lines contains the
RA_CUSTOMER_TRX_LINE_ID of Associated LINE record
CUSTOMER_TRX_ID - Foreign key to RA_CUSTOMER_TRX
CUSTOMER_TRX_LINE_ID - Foreign key to RA_CUSTOMER_TRX_LINES
Or Null if this relates to InvoiceHeader.
AMOUNT - Value of distribution entered Currency
ACCOUNTED_AMOUNT - Value of distribution - book currency
CODE_COMBINATION_ID - Foreign key to GL_CODE_COMBINATIONS

PO Tables and Their Joinings with Other T


Base Tables

CE_BANK_ACCOUNTS

CE_BANK_ACCT_USES_ALL

Imp Columns

bank_account_id
ORG_ID

CE_BANK_BRANCHES_V

AP_SYSTEM_PARAMETERS_ALL

ce_payment_documents

AP_LOOKUP_CODES

AP_SUPPLIERS

AP_SUPPLIER_SITES_ALL

AP_CHECKS

CE_BANK_ACCT_USE_ID

Tables and Their Joinings with Other Tables


Meaning

ther Tables
Joins

CE_BANK_ACCOUNTS.bank_account_id(+)
AP_SYSTEM_PARAMETERS_AL.org_id

CE_BANK_ACCT_USES_ALL.bank_acct_use_id(+)

PO Tables and Their Joinings with Other Tables


Base Tables

Joins

GL_CODE_COMBINATIONS
code_combination_id

set_of_books_id

bles and Their Joinings with Other Tables


Joins
ap_invoices_all.acct_pay_code_combination_id
ap_invoices_distributions_all.dist_code_combination_id
RA_CUST_TRX_LINE_GL_DIST_ALL.code_combination_id
MTL_SYSTEM_ITEMS_B.cost_of_sales_account
PO_DISTRIBUTIONS_ALL.code_combination_id

ap_invoices_all.set_of_books_id

Table Name
oe_order_headers_all

Join
header_id

order_number

Ship_from_org_id
ship_to_org_id

OE_ORDER_LINES_ALL
TO_CHAR(Line_id)

reference_customer_trx_line_id

Join with Table


oe_order_lines_all.header_id
RA_CUSTOMER_TRX_LINES_ALL. interface_line_attribute1
wsh_delivery_details.source_header_id
wsh_delivery_details.source_header_number
This column stands for the Warehouse ID from where you
ship the goods to customer
The location where you actually wants to ship the goods,
customer ship_to_site_use_id

RA_CUSTOMER_TRX_LINES_ALL.interface_line_attribute6
WSH_DELIVARY_DETAILS .SOURCE_LINE_ID
RA_CUSTOMER_TRX_LINES_ALL.customer_trx_line_id

Vous aimerez peut-être aussi