0% found this document useful (0 votes)
61 views3 pages

Document 2

The document appears to be transaction logs or queries related to sales transactions and customer accounts. It includes information about credit types, sales reps, workflows, queries to retrieve customer IDs and account information from various tables, as well as queries to retrieve data on known as fields, approval processes, sales credits, invoice lines, price levels, and contact attributes.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views3 pages

Document 2

The document appears to be transaction logs or queries related to sales transactions and customer accounts. It includes information about credit types, sales reps, workflows, queries to retrieve customer IDs and account information from various tables, as well as queries to retrieve data on known as fields, approval processes, sales credits, invoice lines, price levels, and contact attributes.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

transaction_type : vlaidation --

Credit type = Quota Credit -- Value 100%

sales rep
status -- entered

Workflow _ __

po_name should be populated in Header known as field

select * from RA_CUST_TRX_TYPES_ALL where upper(Name) like '%OE%INV%ONLY%552%'

Stpes : find the Cust account id from party_id provided ...


Link the cust_accoount_id from hz_cust_accounts to Sold_to_customer_id in
ra_customer_trx_all
and match the

select name from RA_CUST_TRX_TYPES_ALL where CUST_TRX_TYPE_ID in (


select CUST_TRX_TYPE_ID from RA_CUSTOMER_TRX_ALL where sold_to_Customer_id= 168614

select COGNOMEN from okc_k_headers_tl where ID = 169996 -- For Known As

status --- Entered

Workflow :

select * from
OKC.OKC_PROCESS_DEFS_B
WHERE
UPPER(WF_PROCESS_NAME) = UPPER('K_APPROVAL_PROCESS');

OKS.OKS_K_SALES_CREDITS

/* Formatted on 2/3/2011 10:25:15 AM (QP5 v5.115.810.9015) */


SELECT cognomen,
start_date,
end_date,
date_terminated,
kln_id,
kln_object_version_number,
invoice_text,
clvl_list_price,
clvl_quantity,
clvl_extended_amt,
toplvl_operand_code,
toplvl_operand_val,
clvl_uom_code,
toplvl_quantity,
toplvl_uom_code,
toplvl_adj_price,
toplvl_price_qty,
status_text,
row_id,
id,
lse_id,
currency_code,
price_unit,
price_uom,
price_negotiated,
price_unit_percent,
tax_amount,
tax_inclusive_yn,
object_version_number,
sfwt_flag,
chr_id,
cle_id,
sts_code,
display_sequence,
trn_code,
dnz_chr_id,
comments,
hidden_ind,
price_level_ind,
invoice_line_level_ind,
dpas_rating,
block23text,
exception_yn,
template_used,
attribute_category,
attribute1,
attribute2,
attribute3,
attribute4,
attribute5,
attribute6,
attribute7,
attribute8,
attribute9,
attribute10,
attribute11,
attribute12,
attribute13,
attribute14,
attribute15,
created_by,
creation_date,
last_updated_by,
last_update_date,
price_type,
last_update_login,
upg_orig_system_ref,
upg_orig_system_ref_id,
line_renewal_type_code,
line_list_price,
inv_print_flag
FROM oks_auth_lines_v
WHERE cle_id IS NOT NULL
AND lse_id IN (7, 8, 9, 10, 11, 18, 25, 35)
AND (cle_id = 239485692917256821827793643824959943566)
ORDER BY TO_NUMBER (line_number)

SELECT
CRO_CODE,SALES_GROUP_ID,START_DATE,END_DATE,ID,OBJECT1_ID1,OBJECT1_ID2,JTOT_OBJECT1
_CODE,DNZ_CHR_ID,CPL_ID,OBJECT_VERSION_NUMBER,ATTRIBUTE_CATEGORY,ATTRIBUTE1,ATTRIBU
TE2,ATTRIBUTE3,ATTRIBUTE4,ATTRIBUTE5,ATTRIBUTE6,ATTRIBUTE7,ATTRIBUTE8,ATTRIBUTE9,AT
TRIBUTE10,ATTRIBUTE11,ATTRIBUTE12,ATTRIBUTE13,ATTRIBUTE14,ATTRIBUTE15,ROW_ID FROM
OKC_CONTACTS_V WHERE CRO_CODE Not Like 'CUST%' and
(CPL_ID=239485692917254403976154414566610531214)

You might also like