DBA Data[Home] [Help]

APPS.CN_ADJ_DISP_PUB SQL Statements

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

Line: 6

  G_LAST_UPDATE_DATE          DATE    := sysdate;
Line: 7

  G_LAST_UPDATED_BY           NUMBER  := fnd_global.user_id;
Line: 10

  G_LAST_UPDATE_LOGIN         NUMBER  := fnd_global.login_id;
Line: 73

	select nvl(credit_type_id, -1000)
	  from cn_quotas
	 where quota_id = l_quota_id;
Line: 78

      SELECT
        ctrx.invoice_number 	       invoice_number,
        ctrx.invoice_date	       invoice_date,
        ctrx.order_number 	       order_number,
        ctrx.booked_date 	       order_date,
        ctrx.creation_date             creation_date,
        ctrx.processed_date            processed_date,
        ctrx.trx_type_disp	       trx_type_disp,
        ctrx.adjust_status_disp        adjust_status_disp,
        ctrx.adjusted_by               adjusted_by,
        ctrx.adjust_date               adjust_date,
        ctrx.status_disp               calc_status_disp,
        ctrx.orig_currency_code        currency_code,
        ctrx.transaction_amount        sales_credit,
        ctrx.commission_amount         commission,
        ctrx.attribute1                attribute1,
        ctrx.attribute2                attribute2,
	ctrx.attribute3                attribute3,
	ctrx.attribute4                attribute4,
	ctrx.attribute5                attribute5,
	ctrx.attribute6                attribute6,
	ctrx.attribute7                attribute7,
	ctrx.attribute8                attribute8,
	ctrx.attribute9                attribute9,
	ctrx.attribute10               attribute10,
	ctrx.attribute11               attribute11,
	ctrx.attribute12               attribute12,
	ctrx.attribute13               attribute13,
	ctrx.attribute14               attribute14,
	ctrx.attribute15               attribute15,
	ctrx.attribute16               attribute16,
	ctrx.attribute17               attribute17,
	ctrx.attribute18               attribute18,
	ctrx.attribute19               attribute19,
	ctrx.attribute20               attribute20,
	ctrx.attribute21               attribute21,
	ctrx.attribute22               attribute22,
	ctrx.attribute23               attribute23,
	ctrx.attribute24               attribute24,
	ctrx.attribute25               attribute25,
	ctrx.attribute26               attribute26,
	ctrx.attribute27               attribute27,
	ctrx.attribute28               attribute28,
	ctrx.attribute29               attribute29,
	ctrx.attribute30               attribute30,
	ctrx.attribute31               attribute31,
	ctrx.attribute32               attribute32,
	ctrx.attribute33               attribute33,
	ctrx.attribute34               attribute34,
	ctrx.attribute35               attribute35,
	ctrx.attribute36               attribute36,
	ctrx.attribute37               attribute37,
	ctrx.attribute38               attribute38,
	ctrx.attribute39               attribute39,
	ctrx.attribute40               attribute40,
	ctrx.attribute41               attribute41,
	ctrx.attribute42               attribute42,
	ctrx.attribute43               attribute43,
	ctrx.attribute44               attribute44,
	ctrx.attribute45               attribute45,
	ctrx.attribute46               attribute46,
	ctrx.attribute47               attribute47,
	ctrx.attribute48               attribute48,
	ctrx.attribute49               attribute49,
	ctrx.attribute50               attribute50,
	ctrx.attribute51               attribute51,
	ctrx.attribute52               attribute52,
	ctrx.attribute53               attribute53,
	ctrx.attribute54               attribute54,
	ctrx.attribute55               attribute55,
	ctrx.attribute56               attribute56,
	ctrx.attribute57               attribute57,
	ctrx.attribute58               attribute58,
	ctrx.attribute59               attribute59,
	ctrx.attribute60               attribute60,
	ctrx.attribute61               attribute61,
	ctrx.attribute62               attribute62,
	ctrx.attribute63               attribute63,
	ctrx.attribute64               attribute64,
	ctrx.attribute65               attribute65,
	ctrx.attribute66               attribute66,
	ctrx.attribute67               attribute67,
	ctrx.attribute68               attribute68,
	ctrx.attribute69               attribute69,
	ctrx.attribute70               attribute70,
	ctrx.attribute71               attribute71,
	ctrx.attribute72               attribute72,
	ctrx.attribute73               attribute73,
	ctrx.attribute74               attribute74,
	ctrx.attribute75               attribute75,
	ctrx.attribute76               attribute76,
	ctrx.attribute77               attribute77,
	ctrx.attribute78               attribute78,
	ctrx.attribute79               attribute79,
	ctrx.attribute80               attribute80,
	ctrx.attribute81               attribute81,
	ctrx.attribute82               attribute82,
	ctrx.attribute83               attribute83,
	ctrx.attribute84               attribute84,
	ctrx.attribute85               attribute85,
	ctrx.attribute86               attribute86,
	ctrx.attribute87               attribute87,
	ctrx.attribute88               attribute88,
	ctrx.attribute89               attribute89,
	ctrx.attribute90               attribute90,
	ctrx.attribute91               attribute91,
	ctrx.attribute92               attribute92,
	ctrx.attribute93               attribute93,
	ctrx.attribute94               attribute94,
	ctrx.attribute95               attribute95,
	ctrx.attribute96               attribute96,
	ctrx.attribute97               attribute97,
	ctrx.attribute98               attribute98,
	ctrx.attribute99               attribute99,
	ctrx.attribute100              attribute100,
        ctrx.customer_id	       customer_id,
        NULL                           customer_name,
        NULL                           customer_number,
        ctrx.bill_to_address_id	       bill_to_address_id,
        ctrx.ship_to_address_id	       ship_to_address_id,
        ctrx.bill_to_contact_id	       bill_to_contact_id,
        ctrx.ship_to_contact_id	       ship_to_contact_id,
        ctrx.rollup_date	       rollup_date,
        ctrx.comments		       comments,
        ctrx.reason_code	       reason_code,
        ctrx.reason                    reason,
        ctrx.quota_id		       quota_id,
        NULL                           quota_name,
        ctrx.revenue_class_id	       revenue_class_id,
        NULL                           revenue_class_name

     FROM
       cn_trx_details 	       ctrx';
Line: 237

   x_loading_status := 'CN_INSERTED';
Line: 361

      select s.currency_code into l_func_curr
      from gl_sets_of_books s, cn_repositories r
      where r.set_of_books_id = s.set_of_books_id
      and r.application_id = 283 and r.org_id=l_org_id;
Line: 614

	     SELECT substrb(PARTY.PARTY_NAME,1,50), CUST_ACCT.ACCOUNT_NUMBER
		 INTO l_customer_name, l_customer_number
	     FROM HZ_PARTIES PARTY, HZ_CUST_ACCOUNTS CUST_ACCT
	     WHERE CUST_ACCT.CUST_ACCOUNT_ID = adj.customer_id
	       AND CUST_ACCT.PARTY_ID = PARTY.PARTY_ID;
Line: 643

	      SELECT name INTO l_quota_name
		FROM cn_quotas WHERE quota_id =  adj.quota_id;
Line: 657

	      SELECT name INTO l_revenue_class_name
		FROM cn_revenue_classes
		WHERE revenue_class_id = adj.revenue_class_id;