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

Gl Opening Balance

Featured Replies

بتاريخ:

i have a report .. it generates multiple transaction like debit and credit and generate opening balance i calculate opening balance in report builder formula but the query is too slow can u help me out to calculate opening balance in main query?? i have 2 date parameter :P_date_from and :P_date_to opening balance calculate main query + transaction_date < P_date_from in report builder formula column plzz help me


that is my query

function tryFormula return Number is
n number;
begin
  if :account_type in ('R','O','L') then
   select sum(nvl(ENTERED_CR,0)-nvl(ENTERED_dR,0)) into n
   from  GL_JE_HEADERS_V gh, GL_JE_LINES_V gli
  
  where gli.JE_HEADER_ID=gh.je_header_id
and :code_combination_id=gli.code_combination_id
and ( gh.DEFAULT_EFFECTIVE_DATE<=:p1 or :p1 is null);
  else
  
   select sum(nvl(ENTERED_dR,0)-nvl(ENTERED_cR,0)) into n
   from  GL_JE_HEADERS_V gh, GL_JE_LINES_V gli
  
  where gli.JE_HEADER_ID=gh.je_header_id
and :code_combination_id=gli.code_combination_id
and ( gh.DEFAULT_EFFECTIVE_DATE<=:p1 or :p1 is null);

  end if;
  return n;
end;

بتاريخ:

Try to get the balances from this view gl_balances_v it is much faster

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

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

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

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

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

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.