الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

مساعدة فى Query ...ازاى اقدر اقولة لو البارميتر فاضى يجيب كل حاجة

Featured Replies

بتاريخ:

انا عامل query بالشكل دة

select b.ITEM_DESCRIPTION,b.QUANTITY,a.SEGMENT1,c.VENDOR_NAME,b.UNIT_PRICE,d.SEGMENT1
from po_headers_all a,po_lines_all b,po_vendors c,mtl_system_items d
where a.type_lookup_code='QUOTATION' and a.PO_HEADER_ID=b.PO_HEADER_ID and a.VENDOR_ID=c.VENDOR_ID and b.ITEM_ID=d.INVENTORY_ITEM_ID and b.ORG_ID=d.ORGANIZATION_ID and d.SEGMENT1 between :s1 and :s2

group by b.item_description,b.QUANTITY,a.SEGMENT1,c.VENDOR_name,b.UNIT_PRICE,d.SEGMENT1


ازاى اقدر اقولة لو البارميتر فاضى يجيب كل حاجة
منتظر ردودكم

تم تعديل بواسطة sors

بتاريخ:

مرحبا

select b.ITEM_DESCRIPTION,b.QUANTITY,a.SEGMENT1,c.VENDOR_NAME,b.UNIT_PRICE,d.SEGMENT1
from po_headers_all a,po_lines_all b,po_vendors c,mtl_system_items d
where a.type_lookup_code='QUOTATION' and a.PO_HEADER_ID=b.PO_HEADER_ID and a.VENDOR_ID=c.VENDOR_ID and b.ITEM_ID=d.INVENTORY_ITEM_ID and b.ORG_ID=d.ORGANIZATION_ID and d.SEGMENT1 between nvl(:s1,d.SEGMENT1) and nvl(:s2,d.SEGMENT1)

group by b.item_description,b.QUANTITY,a.SEGMENT1,c.VENDOR_name,b.UNIT_PRICE,d.SEGMENT1

بتاريخ:

Select B.Item_Description,
   B.Quantity,
   A.Segment1,
   C.Vendor_Name,
   B.Unit_Price,
   D.Segment1
 From Po_Headers_All A,
   Po_Lines_All B,
   Po_Vendors C,
   Mtl_System_Items D
Where A.Type_Lookup_Code   = 'QUOTATION' 
  And A.Po_Header_Id	   = B.Po_Header_Id 
  And A.Vendor_Id		  = C.Vendor_Id 
  And B.Item_Id			= D.Inventory_Item_Id 
  And B.Org_Id			 = D.Organization_Id 
  And D.Segment1		   Between Nvl(:S1, D.Segment1) And Nvl(:S2, D.Segment1)
Group By B.Item_Description,
	  B.Quantity,
	  A.Segment1,
	  C.Vendor_Name,
	  B.Unit_Price,
	  D.Segment1

بتاريخ:
  • كاتب الموضوع

انا متشكر جدا لردودكم

بتاريخ:

دا حل تانى يارب ينفعك
/* Formatted on 2010/01/27 11:49 (Formatter Plus v4.8.8) */

SELECT   b.item_description, b.quantity, a.segment1, c.vendor_name,
        b.unit_price, d.segment1
   FROM po_headers_all a, po_lines_all b, po_vendors c, mtl_system_items d
  WHERE a.type_lookup_code = 'QUOTATION' AND a.po_header_id = b.po_header_id AND a.vendor_id = c.vendor_id AND b.item_id = d.inventory_item_id AND b.org_id = d.organization_id AND d.segment1 BETWEEN (:s1 OR :S1 IS NULL )AND (:s2 OR :S2 IS NULL)
GROUP BY b.item_description,
        b.quantity,
        a.segment1,
        c.vendor_name,
        b.unit_price,
        d.segment1



كل الى عملته انى قلتله البراميتر ممكن يكون فيه قيمه او فاضى فلو فاضى هيختار كل حاجه

بتاريخ:

فعلا الاخوة اجابوا على الاستفسار ويفضل ان يكون الكود مرتب ومتناسق مثل كود الاخ المهندس احمد ليسهل اتباع الكود وتعديله .

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.