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

List Of Value

Featured Replies

بتاريخ:

السلام عليكم ورحمة الله وبركاته

عندى list of value   على حقل رقم الموظف والمفروض انه يجيب حقلين الاسم و  id

 

هل يمكن  ايجاد الحقلين  فى الرن تايم  بعد ايجاد رقم الموظف  بدون الضغط على ال list of value  باستخدام خصائصها autot submit   وال partital triger

ام الافضل استخدام ال sql

بتاريخ:

نعم

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

 

                 System.out.println("time.gettime COUN1 "+time);                 

                 amm.createRegion(state,time,id);     

                 showRows();

                 System.out.println("time.gettime COUN2 "+time);  

                 System.out.println("getrow");

                 getrow();

                 System.out.println("getrow2");

                 report[1] ="تمت بنجاح";

 

المفروض هذا السطر                      amm.createRegion(state,time,id);     

ينشئ اول row    

والكود كما يلى  

 

    public void createRegion(String state,Date time,Number id) 

    throws Exception

    {

        try {

        System.out.println("EntityImpl1");

        EntityDefImpl def = AttendanceDepartureEOImpl.getDefinitionObject();

                System.out.println("EntityImpl2");

        AttendanceDepartureEOImpl reg = (AttendanceDepartureEOImpl)def.createInstance2(getDBTransaction(), null);        

         System.out.println("EntityImpl3");

        reg.setAttDepState(state);        

                System.out.println("EntityImpl4");

        reg.setAttDepId(id);  

                System.out.println("EntityImpl5");  

        oracle.jbo.domain.Date time2=new oracle.jbo.domain.Date(time)    ;

                System.out.println("EntityImpl6");    

        reg.setAttDepDate(time2 );        

        reg.setAttDepTime(time2);    

      //  reg.setEmpId(reg.getEMP_ID());    

                System.out.println("EntityImpl7");

       // getDBTransaction().commit();

                System.out.println("EntityImpl8");   

            

            } catch (Exception e) {

            // TODO: Add catch code

            e.printStackTrace();

            throw new Exception(e.getMessage());

            }

 

وهذا السطر                       getrow();

 

حيجيب باقى البيانات اعتمادا على ال loav

 

ولكن ما يحدذ ان بعض البيانات لا تظهرعلى الشاشة  بالرغم من ظهورها فى ال log    مثل    System.out.println("empname = "+row.getAttribute("EmpName"));

كذلك السطر الاول لا يظهر ويظهر السطر الثانى فقط  على الشاشة حيث ان الاكسيل من سطرين

والكود كما يلى

 

        public boolean getrow()

        {

            System.out.println("get row action1");

            //showRows();

            exec_action();

        DCBindingContainer dcbc =  (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();

            System.out.println("get row action2");

        Row row =dcbc.findIteratorBinding("AttDepVOb1Iterator").getCurrentRow();

        System.out.println("get row action3");

            if (row!=null){   

                System.out.println("emp_id1 "+row.getAttribute("EMP_ID"));

              row.setAttribute("EmpNo", empno1);              

                System.out.println("emp_id2 "+row.getAttribute("EMP_ID"));

                //showRows();

                exec_action();

             id = (Number) row.getAttribute("EMP_ID");

             row.setAttribute("EmpId", id);

            System.out.println("empname = "+row.getAttribute("EmpName"));

                System.out.println("empid = "+row.getAttribute("EmpId"));        

                System.out.println("emp_id = "+id);  

                //showRows();

                exec_action();

            }

            else {

                System.out.println("getrow null");

            }

            return true;

        }

 

فما سبب عدم ظهور بينات 

 

بتاريخ:

تأكد من autoSubmit و partialTriggers

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

تم التأكد من autoSubmit و partialTriggers

بتاريخ:

السيناريو غير واضح

أين الخطأ بالضبط؟

أو ما الخطأ بالضبط؟

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

شكرا يا باشمهندس

 

list ov value  المفروض ترجع 3 متغيرات  يظهر واحد فقط منهم على الشاشة 
عن طريق هذا الكود  
 
        public boolean getrow()
        {
            System.out.println("get row action1");
            //showRows();
            exec_action();
        DCBindingContainer dcbc =  (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
            System.out.println("get row action2");
        Row row =dcbc.findIteratorBinding("AttDepVOb1Iterator").getCurrentRow();
        System.out.println("get row action3");
            if (row!=null){   
                System.out.println("state = "+row.getAttribute("AttDepState"));
                System.out.println("emp_id1 "+row.getAttribute("EMP_ID"));
                System.out.println("empno = "+empno1);
              row.setAttribute("EmpNo", empno1);              
                System.out.println("emp_id2 "+row.getAttribute("EMP_ID"));
                //showRows();
                exec_action();
             id = (Number) row.getAttribute("EMP_ID");
             row.setAttribute("EmpId", id);
            System.out.println("empname = "+row.getAttribute("EmpName"));
                System.out.println("empid = "+row.getAttribute("EmpId"));        
                System.out.println("emp_id = "+id);  
                //showRows();
                exec_action();
            }
            else {
                System.out.println("getrow null");
            }
            return true;
        }
 
ال EMP_ID    فقط بيظهر على الشاشة      لكن    empName   و  empno1  لا يظهروا على الشاشة
بتاريخ:

لا يبدو الكود واضحاً لكن لا أدري لماذا الكود

في إعدادات LOV يمكنك إرجاع أي عدد من المتغيرات دون كتابة كود

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

هو كان سؤالى فى البداية

 

 

عندى list of value   على حقل رقم الموظف والمفروض انه يجيب حقلين الاسم و  id   

 

هل يمكن  ايجاد الحقلين  فى الرن تايم  بعد ايجاد رقم الموظف  بدون الضغط على ال list of value  باستخدام خصائصها autot submit   وال partital triger

ام الافضل استخدام ال sql

بتاريخ:

نعم يمكن

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

صورة من الخطأ على الشاشة عدم ظهور رقم الموظف واسم الموظف 

 

Presentation1.ppt

 

 

 

من ال log   

السكر الاول

empno = 1
emp_id2 1
empname = فتحى
empid = 1
emp_id = 1
 
 
السطر الثانى
emp_id1 1
empno = 2
emp_id2 2
empname = سلامة
empid = 2
emp_id = 2
 

 

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

Presentation4.pptاشكرك يا باشمهندس  لغيت ال list of value  

وعملتها بال sql

 

واشتغلت ومرفق شكل الشاشة بعد جلب البيانات من الاكسيل 

 

 

بتاريخ:

جيد

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

اشكرك  يا باشمهندس   قمت بتطبيق دروس حضرتك فى استيراد بيانلت من الاكسيل  بمثال يقرأ  ثلاث متغيرات الوقت والنوع حضور او انصراف  ورقم الموظف

واشكر حضرتك على  شرح حضرتك الوافى ومجهوداتكم العظيمة وربنا يديم علمه على حضرتك

بتاريخ:

الحمد لله

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

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

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

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

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

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.