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

مشكلة عاجلة في بناء تقرير على شكل tree

Featured Replies

بتاريخ:

السلام عليكم ورحمة الله وبركاته
أود عمل تقرير يظهر فيه شكل ال tree ويظهر امام كل node مجموع هذه ال node وجميع الnodes اللي تحتها
(childs)
مرفق ملفات بناء الجداول المستعملة في التقرير وملفات البيانات ، وصورة للشكل المطوب للتقرير:
وهذا هو الاستعلام المستخدم لبناء التقرير وإظهار العمود الاول في الصورة
(inquiry name)
--****
(SELECT
lpad(' ',
8*(level-1))||a.INQUIRY_name Inquiry_Name,
a.INQUIRY_CODE,
FROM
ctc_inquiry_types a
connect by prior a.INQUIRY_CODE = a.PARENT_INQUIRY_CODE
start with PARENT_INQUIRY_CODE is null)
--****
وهذا هو الكود المستخدم في (formula column )لاظهار العمود الثاني في الصورة
--****
(function CF_1FORMULA0009 return Number is
cnt number;
begin
select count(call_timestamp) into cnt from ctc_call_inquiries
where INQUIRY_CODE = :INQUIRY_CODE;
return nvl(cnt,0);
end;)
--****
المشكلة تكمن في العمود الثالث و الذي اريده ان يظهر فيه مجموع كل (node) مضافا اليه مجموع كل ال (childs) الخاصة بها ، كما يظهر في الصورة

الرجاء سرعة الرد وجزاكم الله كل خير

أخوكم
حاتم محمد

CASE_FILES.zip

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

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

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

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

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

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.