DBA Data[Home] [Help]

APPS.OKS_ATTR_DEFAULTS_PVT SQL Statements

The following lines contain the word 'select', 'insert', 'update' or 'delete':

Line: 9

  SELECT MEANING FROM FND_LOOKUPS
  WHERE LOOKUP_CODE = P_LOOKUP_CODE
  AND LOOKUP_TYPE = P_LOOKUP_TYPE;
Line: 56

SELECT TRUNC(MIN(BCL.DATE_BILLED_FROM)) DATE_BILLED_FROM
     , TRUNC(MAX(BCL.DATE_BILLED_TO))   DATE_BILLED_TO
  FROM OKS_BILL_CONT_LINES BCL
 WHERE BCL.CLE_ID = P_TOP_LINE_ID ;
Line: 64

SELECT TRUNC(START_DATE) START_DATE
     , TRUNC(END_DATE) END_DATE
  FROM OKC_K_HEADERS_B
 WHERE ID = P_HDR_ID ;
Line: 72

SELECT TRUNC(MIN(BSL.DATE_BILLED_FROM))  DATE_BILLED_FROM
     , TRUNC(MAX(BSL.DATE_BILLED_TO))  DATE_BILLED_TO
  FROM OKS_BILL_SUB_LINES BSL
 WHERE BSL.CLE_ID = P_SUB_LINE_ID;
Line: 80

SELECT TRUNC(START_DATE) START_DATE
     , TRUNC(END_DATE) END_DATE
  FROM OKC_K_LINES_B
 WHERE ID = P_TOP_LINE_ID;
Line: 183

PROCEDURE update_line
(
 p_clev_tbl      IN  okc_contract_pub.clev_tbl_type
,x_clev_tbl      OUT NOCOPY okc_contract_pub.clev_tbl_type
,x_return_status OUT NOCOPY Varchar2
,x_msg_count     OUT NOCOPY Number
,x_msg_data      OUT NOCOPY Varchar2
)
 IS
  l_api_version		CONSTANT	NUMBER	:= 1.0;
Line: 217

  okc_contract_pub.update_contract_line
       (
    	p_api_version			=> l_api_version,
    	p_init_msg_list			=> l_init_msg_list,
    	x_return_status			=> l_return_status,
    	x_msg_count			=> l_msg_count,
    	x_msg_data			=> l_msg_data,
    	p_restricted_update		=> 'F',
    	p_clev_tbl			=> l_clev_tbl_in,
    	x_clev_tbl			=> l_clev_tbl_out
       );
Line: 241

END update_line;
Line: 248

  SELECT ID
  FROM   OKC_K_PARTY_ROLES_B
  WHERE DNZ_CHR_ID = p_dnz_chr_id
  AND   CLE_ID = P_Cle_Id
  AND   OBJECT1_ID1 = p_party_id  ; -- Bug 5219132
Line: 282

   SELECT party_id
   FROM   okx_customer_accounts_v
   WHERE  id1=p_can_id;
Line: 288

    SELECT rle_code,OBJECT1_ID1,object1_id2,JTOT_OBJECT1_CODE
    FROM   OKC_K_PARTY_ROLES_B
    WHERE object1_id1= l_party_id
    and   dnz_chr_id = p_dnz_chr_id;
Line: 294

   Select SCS_CODE from OKC_K_HEADERS_B
   where id = p_dnz_chr_id;
Line: 376

  SELECT ID
  FROM   OKC_CONTACTS
  WHERE  DNZ_CHR_ID = p_dnz_chr_id
  AND    CPL_ID = P_CPL_Id;
Line: 404

  SELECT ID
  FROM   OKC_CONTACTS
  WHERE  DNZ_CHR_ID = p_dnz_chr_id
  AND    CPL_ID = P_CPL_Id
  AND   JTOT_OBJECT1_CODE =p_jtot_code
  AND   cro_code          =p_cro_code ;
Line: 434

  select start_date,
         end_date,
         inv_organization_id,
         authoring_org_id
  from okc_k_headers_v
  where id = p_chr_id;
Line: 443

  select start_date,
         end_date,
         lse_id
  from okc_k_lines_b
  where id = p_cle_id;
Line: 451

  Select id
  From   OKC_K_LINES_V
  Where  cle_id = p_cle_id
  and    lse_id in (2,13,15,20);
Line: 457

  select
         id,
         inv_rule_id,
         cust_acct_id,
         bill_to_site_use_id,
         ship_to_site_use_id,
         cust_po_number,
         cust_po_number_req_yn,
	 -- BANK ACCOUNT CONSOLIDATION --
	 payment_instruction_type,
	 authoring_org_id,
	 -- BANK ACCOUNT CONSOLIDATION --
	 price_list_id, -- hkamdar 8/23/05 R12 Partial Period
         currency_code -- gchadha for Partial Period
  from okc_k_headers_b
  where id = p_chr_id;
Line: 476

  select
         id,
         inv_rule_id,
         cust_acct_id,
         lse_id,
         price_negotiated,
         bill_to_site_use_id,
         ship_to_site_use_id
  from okc_k_lines_b
  where id = p_cle_id;
Line: 489

  select
         id,
         acct_rule_id,   --for ARL rule
         tax_status,
--Fixed bug#4026268 --gbgupta
        -- tax_code,
         tax_exemption_id,
         payment_type,   --for payment method
         -- Bank Account Consolidation --
	 /* cc_no,
         cc_expiry_date,
         cc_bank_acct_id,
         cc_auth_code, */
	 trxn_extension_id,
	 -- Bank Account Consolidation --
         commitment_id,
         grace_duration,
         grace_period,   --for payment method
         object_version_number,
	 price_uom, -- hkamdar 8/23/05 R12 Partial Period
	 -- Ebtax --
	 exempt_certificate_number,
	 exempt_reason_code,
	 tax_classification_code
	 -- Ebtax --
  from oks_k_headers_v
  where chr_id = p_chr_id;
Line: 520

  select
         id,
         acct_rule_id,  --for ARL rule
         tax_amount,
         tax_inclusive_yn,
         tax_status,
         tax_code,
         tax_exemption_id,
         payment_type,   --for payment method
	 -- Bank Account Consolidation --
         /*cc_no,
         cc_expiry_date,
         cc_bank_acct_id,
         cc_auth_code, */
	 trxn_extension_id,
	 -- Bank Account Consolidation --
         commitment_id,
         grace_duration,
         grace_period,  --for payment method
         object_version_number,
         invoice_text,
--Fix for Bug# 3542273
         usage_type,
--Fix for Bug# 3542273
         -- Ebtax --
	 tax_classification_code,
	 exempt_certificate_number,
	 exempt_reason_code,
	 standard_cov_yn -- Issue#14   Bug 4566346
	 -- Ebtax --
  from oks_k_lines_v
  where cle_id = p_cle_id;
Line: 555

  select cust_account_id
  from okx_cust_site_uses_v
  where id1=p_object1_id1;
Line: 560

  select cust_acct_id
  from okc_k_lines_b
  where id =p_cle_id;
Line: 574

  select id, price_negotiated, cle_id, price_unit
  from okc_k_lines_v
  where lse_id in (7,8,9,10,11,13,18,25,35)
  and  date_cancelled is NULL -- new
  and cle_id = l_cle_id;
Line: 583

   select distinct cust_account_id
   from   okx_cust_site_uses_v
   where  id1 In
      (
       select bill_to_address_id1
       from oks_billing_profiles_b
       where OWNED_PARTY_ID1 IS NOT NULL
       and id = l_billing_profile_id)
       AND site_use_code = 'BILL_TO'
       AND org_id = l_org_id;
Line: 595

   select bill_to_address_id1
   from oks_billing_profiles_b
   where id = l_billing_profile_id
   AND OWNED_PARTY_ID1 IS NOT NULL;
Line: 601

   select account_object1_id1
         ,invoice_object1_id1
   from oks_billing_profiles_b
   where id = l_billing_profile_id;
Line: 609

   select distinct incident_id,
          contract_number,
          contract_service_id,
          incident_number
   from cs_incidents_all_b cs , okc_k_lines_b line
   where cs.contract_service_id = p_cle_id
   and   cs.contract_id         =p_chr_id
   and   cs.contract_id         =line.dnz_chr_id
   and   line.cle_id = p_cle_id
   and   line.lse_id  in ('18','9','25');
Line: 627

       Select id
              ,Percent
              ,Ctc_id
              ,Sales_credit_type_id1
              ,Sales_credit_type_id2
              --new
              ,sales_group_id
              --new
       From   OKS_K_SALES_CREDITS_V
       Where  chr_id = p_header_id
	  And    cle_id Is NULL;
Line: 643

       Select count(*),id
       From   OKS_K_SALES_CREDITS_V
       Where  chr_id = p_header_id
	   And    cle_id =p_line_id
       group by id;
Line: 650

       select line_number
       from okc_k_lines_b
       where id = p_cle_id;
Line: 656

    Select cust_acct_id
    from okx_cust_contacts_v
    where party_id in
      (select object1_id1 from okc_k_party_roles_b
       where  dnz_chr_id = p_chr_id--:PARAMETER.OKSDEFLT_CHR_ID
       and        chr_id = p_chr_id--:PARAMETER.OKSDEFLT_CHR_ID
       and cle_id IS NULL
       and rle_code <> 'VENDOR'
       )
    and status = 'A'
    and id1 = p_billto_id;
Line: 673

    SELECT DISTINCT b.id1, a.party_id
    FROM okx_cust_site_uses_v a, okx_customer_accounts_v b
    WHERE a.id1 = l_object1_id1
    AND b.id1 = a.cust_account_id
    AND a.site_use_code =  use;
Line: 680

    SELECT  id, cle_id, dnz_chr_id
    FROM   OKC_K_PARTY_ROLES_B
    WHERE DNZ_CHR_ID = p_dnz_chr_id
    AND   CLE_ID = P_Cle_Id;
Line: 690

    Select cust_acct_id
    FROM OKX_CUST_CONTACTS_V
    WHERE ROLE_TYPE = 'CONTACT'
    AND ID1 = l_contact_id ;
Line: 697

    SELECT id
    FROM   OKC_K_PARTY_ROLES_B
    WHERE DNZ_CHR_ID = p_chr_id
    AND   CLE_ID = p_cle_id
    AND   OBJECT1_ID1 =l_party_id;
Line: 704

    Select Party_id,name
    from okx_customer_accounts_v
    where id1= p_cust_acct_id;
Line: 711

       select * from okc_contacts
       where cpl_id = p_cpl_id
       AND JTOT_OBJECT1_CODE <>  p_jtot_object_code
       AND DNZ_CHR_ID  = p_chr_id;
Line: 717

    Select line_number
    from okc_k_lines_v
    where cle_id =p_cle_id
    and dnz_chr_id = p_chr_id;
Line: 727

   select
         cust_po_number,
         cust_po_number_req_yn,
	 payment_instruction_type,
	 trxn_extension_id
   from oks_k_lines_b oks, okc_k_lines_b okc
   where okc.id =  p_cle_id
   and oks.cle_id = okc.id;
Line: 741

  Select party_id
  FROM HZ_CUST_ACCOUNTS CA
  WHERE CA.cust_account_ID = p_cust_acct_id;
Line: 753

  Select  locked_price_list_id  ,
          locked_price_list_line_id
  FROM    OKS_k_LINES_B
  WHERE   dnz_chr_id = p_chr_id
  and     cle_id = p_cle_id ;
Line: 761

  Select ex.exempt_certificate_number CUSTOMER_EXCEPTION_NUMBER,  nvl(lk.lookup_code,ex.exempt_reason_code) Description
  from  zx_exemptions ex, fnd_lookups lk
  where ex.tax_exemption_id = p_tax_exemption_id
  and lk.lookup_type(+) = 'ZX_EXEMPTION_REASON_CODE'
  and lk.lookup_code(+) = ex.exempt_reason_code;
Line: 771

	Select	nvl(sum(nvl(tax_amount,0)),0) tax_amount
	from    okc_k_lines_b cle, oks_k_lines_b sle
	where   cle.cle_id = p_cle_id
	and     cle.lse_id in (7,8,9,10,11,13,25,35)
	and     cle.id = sle.cle_id
	and     cle.dnz_chr_id = sle.dnz_chr_id
	and     cle.date_cancelled is null;
Line: 780

        Select  nvl(sum(nvl(tax_amount,0)),0) tax_amount
        from    okc_k_lines_b cle, oks_k_lines_b sle
        where   cle.chr_id = p_chr_id
        and     cle.id = sle.cle_id
        and     cle.dnz_chr_id = sle.dnz_chr_id
        and     cle.date_cancelled is null;
Line: 811

					    -- Updated or not.

    -- END GCHADHA --
    -- IKON ENHANCEMENT --
----new



   l_sc_index    NUMBER;
Line: 1006

      l_klnv_tbl_in.DELETE;
Line: 1007

      l_clev_tbl_in.DELETE;
Line: 1012

	select billed_at_source INTO l_bill_y_n FROM okc_k_headers_all_b where id = l_chr_id ;
Line: 1154

                    p_msg_name        => 'OKS_BA_UPDATE_NOT_ALLOWED',
                    p_token1	      => 'Line No ',
                    p_token1_value    => l_line_number);
Line: 1295

	   -- OKS_K_HEADERS_B table should be update or not
	   -- If l_oks_header_id is 0 then
	   -- OKS_K_HEADERS_B should not be updated.
	   -- Else should be Updated.
	   -- Used only with l_header_bca variable.
	   l_oks_header_id :=0;
Line: 1313

	   --         Update the BTO rule at lines leve with header
	   --         level Customer account if the accounts are
	   --         not same.
	   --         Delete all contacts which are not
	   --         billing contact and are belonging to
	   --         ship to account Party Role
	   -- CASE I
	   IF l_header_cust_acct <> nvl(l_line_cust_acct, -1) THEN
             -- Create/UPDATE a CAN RULE  and Create/UPDATE the BTO Rule  --
               l_clev_tbl_in(1).id                    := l_cle_id;
Line: 1369

		-- DELETE THE TAX EXEMPTION IF THERE
		-- Bug 5202208 --
		-- Modified code to keep a check for both Exempt_certificate_number
		-- and tax_exemption_id for contracts migrated from 11.5.10.
	--	IF l_oks_lines_rec.TAX_STATUS ='E' AND l_oks_lines_rec.TAX_EXEMPTION_ID IS NOT NULL THEN
                IF (l_oks_lines_rec.TAX_STATUS ='E' AND ( l_oks_lines_rec.EXEMPT_CERTIFICATE_NUMBER IS NOT NULL
						  OR l_oks_lines_rec.TAX_EXEMPTION_ID IS NOT NULL))
		THEN
                       l_klnv_tbl_in(1).ID                       := l_oks_lines_rec.ID;
Line: 1389

             	                p_msg_name        =>'OKS_CASCADE_DELETE_EXEMPTION',
             	                p_token1	    =>'TOKEN1' ,
                                p_token1_value    => FND_MESSAGE.GET_STRING('OKS','OKS_BILL_TO_CUSTOMER_ACCOUNT'),
                                p_token2          => 'TOKEN2',
                                p_token2_value    =>  l_temp_party_name,
                                p_token3          => 'TOKEN3',
                                p_token3_value    =>  l_temp_line_number);
Line: 1408

		-- DELETE COMMITMENT NUMBER
		IF l_oks_lines_rec.payment_type = 'COM' THEN
                       l_klnv_tbl_in(1).ID                       := l_oks_lines_rec.ID;
Line: 1419

             	                p_msg_name        =>'OKS_CASCADE_DELETE_COMMITMENT',
             	                p_token1	    =>'TOKEN1' ,
                                p_token1_value    => FND_MESSAGE.GET_STRING('OKS','OKS_BILL_TO_CUSTOMER_ACCOUNT'),
                                p_token2          => 'TOKEN2',
                                p_token2_value    =>  l_temp_party_name,
                                p_token3          => 'TOKEN3',
                                p_token3_value    =>  l_temp_line_number);
Line: 1439

		-- DELETE CONTACTS --

             	FOR  CUR_PARTY_REC IN CUR_LINE_PARTY_ROLE(l_chr_id, l_cle_id,l_line_party_id ) LOOP
             		l_cpl_id  := CUR_PARTY_REC.ID;
Line: 1454

             	  	           -- Delete the  contact when Contact Account Id is not same as
             	  	           -- header Account Id
             	  	           IF l_header_cust_acct <> l_line_cust_acct THEN

             	  	              l_ctcv_tbl_in(l_contact).id                    := contact_rec.id;
Line: 1487

             	  	              l_ctcv_tbl_in(l_contact).last_updated_by       := contact_rec.last_updated_by;
Line: 1488

             	  	              l_ctcv_tbl_in(l_contact).last_update_date      := contact_rec.last_update_date;
Line: 1489

             	  	              l_ctcv_tbl_in(l_contact).last_update_login     := contact_rec.last_update_login;
Line: 1496

             	  	             okc_contract_party_pub.delete_contact
             	  	              (p_api_version    => l_api_version,
             	  	               p_init_msg_list  => l_init_msg_list,
             	  	               x_return_status  => l_return_status,
             	  	               x_msg_count      => l_msg_count,
             	  	               x_msg_data       => l_msg_data,
             	  	               p_ctcv_tbl       => l_ctcv_tbl_in
             	  	              );
Line: 1505

             	  	                  -- Delete Party Role --
             	  	                 IF (l_return_status = OKC_API.G_RET_STS_SUCCESS) THEN
             	  	                 -- Check if there is any contaact Present belonging to the party role ---
             	  	                     l_temp_contact_id := CHECK_LINE_CONTACT(l_chr_id,l_cpl_id);-- 5485054
Line: 1515

		  	                         okc_contract_party_pub.delete_k_party_role
             	  	                           (p_api_version   => l_api_version,
             	  	                            p_init_msg_list  => l_init_msg_list,
             	  	                            x_return_status  => l_return_status,
             	  	                            x_msg_count      => l_msg_count,
             	  	                            x_msg_data       => l_msg_data,
             	  	                            p_cplv_tbl       => l_cplv_tbl_in);
Line: 1617

	   --         Update the STO rule at lines leve with header
	   --         level Customer account if the accounts are
	   --         not same.
	   --         Delete all contacts which are not
	   --         billing contact and are belonging to
	   --         ship to account Party Role
	   -- CASE I
	   IF l_header_cust_acct <> nvl(l_line_cust_acct, -1) THEN
             -- Create/UPDATE a CAN RULE  and Create/UPDATE the BTO Rule  --
               l_clev_tbl_in(1).id                    := l_cle_id;
Line: 1671

		-- DELETE CONTACTS --

             	FOR  CUR_PARTY_REC IN CUR_LINE_PARTY_ROLE(l_chr_id, l_cle_id,l_line_party_id ) LOOP
             		l_cpl_id  := CUR_PARTY_REC.ID;
Line: 1686

             	  	           -- Delete the  contact when Contact Account Id is not same as
             	  	           -- header Account Id
             	  	           IF l_header_cust_acct <> l_line_cust_acct THEN

             	  	              l_ctcv_tbl_in(l_contact).id                    := contact_rec.id;
Line: 1719

             	  	              l_ctcv_tbl_in(l_contact).last_updated_by       := contact_rec.last_updated_by;
Line: 1720

             	  	              l_ctcv_tbl_in(l_contact).last_update_date      := contact_rec.last_update_date;
Line: 1721

             	  	              l_ctcv_tbl_in(l_contact).last_update_login     := contact_rec.last_update_login;
Line: 1727

             	  	             okc_contract_party_pub.delete_contact
             	  	              (p_api_version    => l_api_version,
             	  	               p_init_msg_list  => l_init_msg_list,
             	  	               x_return_status  => l_return_status,
             	  	               x_msg_count      => l_msg_count,
             	  	               x_msg_data       => l_msg_data,
             	  	               p_ctcv_tbl       => l_ctcv_tbl_in
             	  	              );
Line: 1736

             	  	                  -- Delete Party Role --
             	  	                 IF (l_return_status = OKC_API.G_RET_STS_SUCCESS) THEN
             	  	                 -- Check if there is any contaact Present belonging to the party role ---
             	  	                     l_temp_contact_id := CHECK_LINE_CONTACT(l_chr_id,l_cpl_id);-- 5485054
Line: 1748

		  	                         okc_contract_party_pub.delete_k_party_role
             	  	                           (p_api_version   => l_api_version,
             	  	                            p_init_msg_list  => l_init_msg_list,
             	  	                            x_return_status  => l_return_status,
             	  	                            x_msg_count      => l_msg_count,
             	  	                            x_msg_data       => l_msg_data,
             	  	                            p_cplv_tbl       => l_cplv_tbl_in);
Line: 1956

	               okc_contract_party_pub.update_contact
		       (p_api_version    => l_api_version,
			p_init_msg_list  => l_init_msg_list,
			x_return_status  => l_return_status,
			x_msg_count      => l_msg_count,
			x_msg_data       => l_msg_data,
			p_ctcv_tbl       => l_ctcv_tbl_in,
			x_ctcv_tbl       => l_ctcv_tbl_out);
Line: 2636

       OKS_BILL_SCH.update_bs_interface_date
                (
                 p_top_line_id         => l_cle_id,
                 p_invoice_rule_id     => l_clev_tbl_in(1).inv_rule_id,
                 x_return_status       => l_return_status,
                 x_msg_count           => l_msg_count,
                 x_msg_data            => l_msg_data
                );
Line: 2719

          OKS_BILL_SCH.update_bs_interface_date
                (
                 p_top_line_id         => l_cle_id,
                 p_invoice_rule_id     => l_clev_tbl_in(1).inv_rule_id,
                 x_return_status       => l_return_status,
                 x_msg_count           => l_msg_count,
                 x_msg_data            => l_msg_data
                );
Line: 2764

	       l_scrv_tbl_in.DELETE;
Line: 2779

              OKS_SALES_CREDIT_PUB.delete_Sales_credit
            (
             p_api_version         => 1.0,
             p_init_msg_list       => 'T',
             x_return_status       => l_return_status,
             x_msg_count           => l_msg_count,
             x_msg_data            => l_msg_data,
             p_scrv_tbl            => l_scrv_tbl_in);
Line: 2902

			-- Call the delete API to Delete Credit card details
			-- if the credit card details are present on the line level
			IF l_oks_comm_line_rec.trxn_extension_id IS NOT NULL
			THEN
				 Delete_credit_Card
				(p_trnx_ext_id => l_oks_comm_line_rec.trxn_extension_id,
				 p_line_id      => l_cle_id,
				 p_party_id     => l_oks_party_rec.party_id ,
				 p_cust_account_id => l_line_cust_acct,
				 x_return_status => l_return_status,
				 x_msg_data => l_msg_data );
Line: 2945

			-- Call the delete API to Delete Credit card details--
			IF l_oks_comm_line_rec.trxn_extension_id IS NOT NULL
			THEN
				Delete_credit_Card
				(p_trnx_ext_id => l_oks_comm_line_rec.trxn_extension_id,
				 p_line_id      => l_cle_id,
				 p_party_id     => l_oks_party_rec.party_id ,
				 p_cust_account_id => l_header_cust_acct,
				 x_return_status => l_return_status,
				 x_msg_data => l_msg_data );
Line: 3003

			Delete_credit_Card
			(p_trnx_ext_id     => l_oks_comm_line_rec.trxn_extension_id,
			 p_line_id         => l_cle_id,
			 -- p_party_id        => l_party_id ,
			 p_party_id        =>l_oks_party_rec.party_id,
			 p_cust_account_id => l_line_cust_acct,
			 x_return_status => l_return_status,
			 x_msg_data => l_msg_data );
Line: 3050

			Delete_credit_Card
			(p_trnx_ext_id => l_oks_comm_line_rec.trxn_extension_id,
			 p_line_id      => l_cle_id,
			 -- p_party_id     => l_party_id ,
			 p_party_id        =>l_oks_party_rec.party_id,
			 p_cust_account_id => l_header_cust_acct,
			 x_return_status => l_return_status,
			 x_msg_data => l_msg_data );
Line: 3142

		Delete_credit_Card
		(p_trnx_ext_id => l_oks_comm_line_rec.trxn_extension_id,
		 p_line_id      => l_cle_id,
		 p_party_id     => l_oks_party_rec.party_id ,
		 p_cust_account_id =>l_line_cust_acct,
		 x_return_status => l_return_status,
		 x_msg_data => l_msg_data );
Line: 3261

	    oks_qp_pkg.delete_locked_pricebreaks(l_api_version,
	 	                                 l_source_price_list_line_id,
						 l_init_msg_list,
						 l_return_status,
						 l_msg_count,
						 l_msg_data);
Line: 3369

      oks_contract_line_pub.update_line
              (
               p_api_version                  => l_api_version,
               p_init_msg_list                => l_init_msg_list,
               x_return_status                => l_return_status,
               x_msg_count                    => l_msg_count,
               x_msg_data                     => l_msg_data,
               p_klnv_tbl                     => l_klnv_tbl_in,
               x_klnv_tbl                     => l_klnv_tbl_out,
               p_validate_yn                  => 'N'
               );
Line: 3421

          update_line(
	               p_clev_tbl      => l_clev_tbl_in,
        	       x_clev_tbl      => l_clev_tbl_out,
                       x_return_status => l_return_status,
                       x_msg_count     => l_msg_count,
                       x_msg_data      => l_msg_data
                     );
Line: 3525

              OKS_COVERAGES_PVT.Update_COVERAGE_Effectivity(
                  p_api_version     => l_api_version,
                  p_init_msg_list   => l_init_msg_list,
                  x_return_status   => l_return_status,
                  x_msg_count	    => l_msg_count,
                  x_msg_data        => l_msg_data,
                  p_service_Line_Id => l_cle_id,
                  p_New_Start_Date  => header_dates_rec.start_date,
                  p_New_End_Date    => header_dates_rec.end_date  );
Line: 3874

          oks_contract_line_pub.update_line
              (
               p_api_version                  => l_api_version,
               p_init_msg_list                => l_init_msg_list,
               x_return_status                => l_return_status,
               x_msg_count                    => l_msg_count,
               x_msg_data                     => l_msg_data,
               p_klnv_tbl                     => l_klnv_tbl_in,
               x_klnv_tbl                     => l_klnv_tbl_out,
               p_validate_yn                  => 'N'
               );
Line: 3942

     oks_contract_line_pub.update_line
              (
               p_api_version           => l_api_version,
               p_init_msg_list         => l_init_msg_list,
               x_return_status         => l_return_status,
               x_msg_count             => l_msg_count,
               x_msg_data              => l_msg_data,
               p_klnv_tbl              => l_klnv_tbl_in,
               x_klnv_tbl              => l_klnv_tbl_out,
               p_validate_yn           => 'N'
               );
Line: 4026

          oks_contract_line_pub.update_line
              (
               p_api_version           => l_api_version,
               p_init_msg_list         => l_init_msg_list,
               x_return_status         => l_return_status,
               x_msg_count             => l_msg_count,
               x_msg_data              => l_msg_data,
               p_klnv_tbl              => l_klnv_tbl_in,
               x_klnv_tbl              => l_klnv_tbl_out,
               p_validate_yn           => 'N'
               );
Line: 4087

      oks_contract_hdr_pub.update_header(
        p_api_version              => l_api_version,
        p_init_msg_list            => l_init_msg_list,
        x_return_status            => l_return_status,
        x_msg_count                => l_msg_count,
        x_msg_data                 => l_msg_data,
        p_khrv_tbl                 => l_khrv_tbl_type_in,
        x_khrv_tbl                 => l_khrv_tbl_type_out,
        p_validate_yn              => 'N');
Line: 4212

     select start_date , end_date, lse_id
     from okc_k_lines_v
     where id = p_cle_id;
Line: 4218

  select
         id,
	 line_number,
         line_renewal_type_code
  from okc_k_lines_b
  where id = p_cle_id;
Line: 4227

  select
         id,
         sfwt_flag,
         object_version_number,
         inv_print_flag,
         price_uom,   -- 8/23/05 hkamdar R12 Partial Period
         invoice_text,
	 standard_cov_yn -- Issue# 14 Bug 4566346
  from oks_k_lines_v
  where cle_id = p_cle_id;
Line: 4242

  select id,lse_id
  from okc_k_lines_v
  where cle_id =p_cle_id
  and chr_id is null
  and lse_id in (7,8,9,10,11,13,18,25,35)
  and date_cancelled is null;		--[llc]
Line: 4252

  select id,
         lse_id,
	 line_number,
	 date_terminated -- new
  from okc_k_lines_v
  where id =p_subline_id;
Line: 4448

                       p_msg_name        => 'OKS_BA_UPDATE_NOT_ALLOWED',
                       p_token1	         => 'Sub Line No ',
                       p_token1_value    => l_sub_line_seq_number);
Line: 4644

	   l_klnv_tbl_in.DELETE;
Line: 4645

           l_clev_tbl_in.DELETE;
Line: 4649

		select billed_at_source INTO l_bill_y_n FROM okc_k_headers_all_b where id = l_chr_id ;
Line: 4681

            OKS_COVERAGES_PVT.Update_COVERAGE_Effectivity
                (
                  p_api_version     => l_api_version,
                  p_init_msg_list   => l_init_msg_list,
                  x_return_status   => l_return_status,
                  x_msg_count	    => l_msg_count,
                  x_msg_data        => l_msg_data,
                  p_service_Line_Id => l_cle_id,
                  p_New_Start_Date  => line_dates_rec.start_date,
                  p_New_End_Date    => line_dates_rec.end_date  );
Line: 4762

              oks_contract_line_pub.update_line
              (
               p_api_version                  => l_api_version,
               p_init_msg_list                => l_init_msg_list,
               x_return_status                => l_return_status,
               x_msg_count                    => l_msg_count,
               x_msg_data                     => l_msg_data,
               p_klnv_tbl                     => l_klnv_tbl_in,
               x_klnv_tbl                     => l_klnv_tbl_out,
               p_validate_yn                  => 'N'
               );
Line: 4804

           update_line(
	               p_clev_tbl      => l_clev_tbl_in,
        	       x_clev_tbl      => l_clev_tbl_out,
                       x_return_status => l_return_status,
                       x_msg_count     => l_msg_count,
                       x_msg_data      => l_msg_data
                      );
Line: 4845

           l_klnv_tbl_in.DELETE;
Line: 4846

           l_clev_tbl_in.DELETE;
Line: 4931

      oks_contract_line_pub.update_line
              (
               p_api_version                  => l_api_version,
               p_init_msg_list                => l_init_msg_list,
               x_return_status                => l_return_status,
               x_msg_count                    => l_msg_count,
               x_msg_data                     => l_msg_data,
               p_klnv_tbl                     => l_klnv_tbl_in,
               x_klnv_tbl                     => l_klnv_tbl_out,
               p_validate_yn                  => 'N'
               );
Line: 4971

              update_line(
	               p_clev_tbl      => l_clev_tbl_in,
        	       x_clev_tbl      => l_clev_tbl_out,
                       x_return_status => l_return_status,
                       x_msg_count     => l_msg_count,
                       x_msg_data      => l_msg_data
                      );
Line: 5212

Procedure Delete_credit_Card
 (p_trnx_ext_id IN NUMBER,
  p_line_id  IN NUMBER,
  p_party_id IN NUMBER,
  p_cust_account_id IN NUMBER ,
  x_return_status  OUT NOCOPY VARCHAR2 ,
  x_msg_data OUT NOCOPY VARCHAR2) IS

 l_msg_count                Number;
Line: 5226

 l_api_name                 CONSTANT VARCHAR2(30) := 'Delete_credit_Card';
Line: 5240

        FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT, G_PKG_NAME || '.' || l_api_name,'Calling IBY_FNDCPT_TRXN_PUB.Delete_Transaction_Extension.');
Line: 5248

    IBY_FNDCPT_TRXN_PUB.Delete_Transaction_Extension
           (
            p_api_version      => 1.0,
            p_init_msg_list    => FND_API.G_FALSE,
            p_commit           => FND_API.G_FALSE,
            x_return_status    => l_return_status,
            x_msg_count        => l_msg_count,
            x_msg_data         => l_msg_data,
            p_payer            => l_payer,
            --p_payer_equivalency=> IBY_FNDCPT_COMMON_PUB.G_PAYER_EQUIV_UPWARD, bug 5439978
            p_payer_equivalency=> IBY_FNDCPT_COMMON_PUB.G_PAYER_EQUIV_FULL,
            p_entity_id        => p_trnx_ext_id,
            x_response         => l_response
            );
Line: 5281

 End Delete_Credit_Card;
Line: 5308

  SELECT instr_assignment_id
  FROM IBY_TRXN_EXTENSIONS_V
  WHERE TRXN_EXTENSION_ID = l_trnx_ext_id;