الانتقال إلى المحتوى
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.

مساعدة فى استعلام برجاء المساعدة

Featured Replies

بتاريخ:

select  b.description,sum(TRANSACTION_QUANTITY),b.segment1
from MTL_MATERIAL_TRANSACTIONS a,mtl_system_items_b b
where a.inventory_item_id=b.inventory_item_id and a.organization_id=b.organization_id and a.organization_id=: P1 and b.segment1 between : P2 and : P3 
group by b.description ,b.segment1





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

بتاريخ:

hi
please accept me friend for you
this is very simple query you should be in the next time depend on your selfe more
ok

((b.segment1 between : P2 and : P3) or( : P2 is null ) or( : P3 is null ))

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

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

i made that before you said to me
but it doesnt work

بتاريخ:

i give you sir statment 100% it's correct
just try tested

select b.description,sum(TRANSACTION_QUANTITY),b.segment1
from MTL_MATERIAL_TRANSACTIONS a,mtl_system_items_b b
where a.inventory_item_id=b.inventory_item_id and a.organization_id=b.organization_id and a.organization_id=: P1 and ((b.segment1 between P2 and P3) or ( P2 is null ) or( P3 is null ))


this command stander in oracle reports not from my head


sir put : besied eash parameter

and i am sorry mr PALI.ORACLE your statment its do delay for the report in the system why you used nvl
its not good way

بتاريخ:

االسلام عليكم
ايضا
ايضا يمكنك النظر في مثل هذا المثال
http://www.araboug.org/ib/index.php?s=&amp...st&p=166949

موفقين

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

i try to use it again but it give me null result
not all as i want

بتاريخ:

اقتراح اخر ... بالاضافة للحلول السابقة الصحيحة

يتم اعداد قيم اوليه ال p1 وp2
if p1 is null then p1:=0
if p2 is null then p2 := 99999999

او

and ( b.segment1 between nvl(p1,0) and nvl(p2,99999) ) x

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

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

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

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

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

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.