DBA Data[Home] [Help]

APPS.OE_VALIDATE_LINE dependencies on HZ_CUST_ACCOUNTS

Line 2446: AND EXISTS(SELECT 1 FROM HZ_CUST_ACCOUNTS WHERE CUST_ACCOUNT_ID = ACCT_SITE.CUST_ACCOUNT_ID AND STATUS='A')

2442: RELATED_CUST_ACCOUNT_ID = p_sold_to_org_id
2443: and h.org_id=acct_site.org_id
2444: and ship_to_flag = 'Y' and status = 'A')
2445: --bug 4205113
2446: AND EXISTS(SELECT 1 FROM HZ_CUST_ACCOUNTS WHERE CUST_ACCOUNT_ID = ACCT_SITE.CUST_ACCOUNT_ID AND STATUS='A')
2447: AND ROWNUM = 1;
2448: RETURN TRUE;
2449: ELSIF lcustomer_relations = 'A' THEN
2450: SELECT 'VALID'

Line 2528: AND EXISTS(SELECT 1 FROM HZ_CUST_ACCOUNTS WHERE CUST_ACCOUNT_ID = ACCT_SITE.CUST_ACCOUNT_ID AND STATUS='A')

2524: RELATED_CUST_ACCOUNT_ID = p_sold_to_org_id
2525: and h.org_id=acct_site.org_id
2526: and ship_to_flag = 'Y' and status='A')
2527: -- bug 4205113
2528: AND EXISTS(SELECT 1 FROM HZ_CUST_ACCOUNTS WHERE CUST_ACCOUNT_ID = ACCT_SITE.CUST_ACCOUNT_ID AND STATUS='A')
2529: AND ROWNUM = 1;
2530: IF l_debug_level > 0 then
2531: oe_debug_pub.add('Exiting OE_VALIDATE_LINE.Validate_Deliver_To_Org',1);
2532: END IF;

Line 3911: l_ship_to_cust_Acct_id hz_cust_Accounts.cust_Account_id%type;

3907: l_ordered_quantity NUMBER;
3908: l_cancelled_quantity NUMBER;
3909:
3910: -- eBTax Changes
3911: l_ship_to_cust_Acct_id hz_cust_Accounts.cust_Account_id%type;
3912: l_ship_to_party_id hz_cust_accounts.party_id%type;
3913: l_ship_to_party_site_id hz_party_sites.party_site_id%type;
3914: l_bill_to_cust_Acct_id hz_cust_Accounts.cust_Account_id%type;
3915: l_bill_to_party_id hz_cust_accounts.party_id%type;

Line 3912: l_ship_to_party_id hz_cust_accounts.party_id%type;

3908: l_cancelled_quantity NUMBER;
3909:
3910: -- eBTax Changes
3911: l_ship_to_cust_Acct_id hz_cust_Accounts.cust_Account_id%type;
3912: l_ship_to_party_id hz_cust_accounts.party_id%type;
3913: l_ship_to_party_site_id hz_party_sites.party_site_id%type;
3914: l_bill_to_cust_Acct_id hz_cust_Accounts.cust_Account_id%type;
3915: l_bill_to_party_id hz_cust_accounts.party_id%type;
3916: l_bill_to_party_site_id hz_party_sites.party_site_id%type;

Line 3914: l_bill_to_cust_Acct_id hz_cust_Accounts.cust_Account_id%type;

3910: -- eBTax Changes
3911: l_ship_to_cust_Acct_id hz_cust_Accounts.cust_Account_id%type;
3912: l_ship_to_party_id hz_cust_accounts.party_id%type;
3913: l_ship_to_party_site_id hz_party_sites.party_site_id%type;
3914: l_bill_to_cust_Acct_id hz_cust_Accounts.cust_Account_id%type;
3915: l_bill_to_party_id hz_cust_accounts.party_id%type;
3916: l_bill_to_party_site_id hz_party_sites.party_site_id%type;
3917: l_org_id NUMBER;
3918: -- l_legal_entity_id NUMBER;

Line 3915: l_bill_to_party_id hz_cust_accounts.party_id%type;

3911: l_ship_to_cust_Acct_id hz_cust_Accounts.cust_Account_id%type;
3912: l_ship_to_party_id hz_cust_accounts.party_id%type;
3913: l_ship_to_party_site_id hz_party_sites.party_site_id%type;
3914: l_bill_to_cust_Acct_id hz_cust_Accounts.cust_Account_id%type;
3915: l_bill_to_party_id hz_cust_accounts.party_id%type;
3916: l_bill_to_party_site_id hz_party_sites.party_site_id%type;
3917: l_org_id NUMBER;
3918: -- l_legal_entity_id NUMBER;
3919:

Line 3928: HZ_CUST_ACCOUNTS_ALL cust_Acct

3924: site_use.org_id
3925: FROM
3926: HZ_CUST_SITE_USES_ALL site_use,
3927: HZ_CUST_ACCT_SITES_ALL acct_site,
3928: HZ_CUST_ACCOUNTS_ALL cust_Acct
3929: WHERE site_use.site_use_id = p_site_org_id
3930: AND site_use.cust_acct_site_id = acct_site.cust_acct_site_id
3931: and acct_site.cust_account_id = cust_acct.cust_account_id;
3932:

Line 5864: AND EXISTS(SELECT 1 FROM HZ_CUST_ACCOUNTS WHERE CUST_ACCOUNT_ID = ACCT_SITE.CUST_ACCOUNT_ID AND STATUS='A')

5860: RELATED_CUST_ACCOUNT_ID = p_line_rec.sold_to_org_id
5861: and h.org_id=acct_site.org_id
5862: and bill_to_flag = 'Y' and status='A')
5863: --bug 4205113
5864: AND EXISTS(SELECT 1 FROM HZ_CUST_ACCOUNTS WHERE CUST_ACCOUNT_ID = ACCT_SITE.CUST_ACCOUNT_ID AND STATUS='A')
5865: AND ROWNUM = 1;
5866: END IF;
5867:
5868: EXCEPTION