تخطي للذهاب إلى المحتوى
أودو القائمة
  • تسجيل الدخول
  • جرب مجاناً
  • التطبيقات
    المالية
    • المحاسبة
    • فوترة
    • النفقات
    • جدول البيانات (BI)
    • المستندات
    • توقيع إلكتروني
    المبيعات
    • إدارة علاقات العملاء
    • المبيعات
    • نقطة البيع للمتاجر
    • نقطة البيع للمطاعم
    • الاشتراكات
    • تأجير
    المواقع الإلكترونية
    • أداة بناء المواقع الإلكترونية
    • متاجر إلكترونية
    • مدونة
    • المنتدى
    • دردشة مباشرة
    • التعليم الإلكتروني
    سلسلة التوريد
    • المستودعات
    • التصنيع
    • إدارة دورة حياة المنتج
    • المشتريات
    • الصيانة
    • الجودة
    الموارد البشرية
    • موظفون
    • التوظيف
    • إجازة عمل
    • التقييمات
    • الإحالات
    • تطبيق الأسطول
    التسويق
    • التسويق الإجتماعي
    • التسويق عبر البريد الإلكتروني
    • التسويق عبر الرسائل النصية
    • فعاليات
    • أتمتة التسويق
    • الاستطلاعات
    الخدمات
    • المشاريع
    • الجداول الزمنية
    • الخدمة الميدانية
    • مكتب المساعدة
    • التخطيط
    • مواعيد
    اﻹنتاجية
    • مناقشة
    • الموافقات
    • إنترنت الأشياء "IoT"
    • بروتوكول ربط المحادثات الصوتية عبر الإنترنت
    • المعرفة
    • WhatsApp
    التطبيقات الخارجية ستوديو أودو منصة أودو السحابية
  • قطاعات الأعمال
    البيع بالتجزئة
    • متجر كتب
    • متجر ملابس
    • متجر أثاث
    • متجر بقالة
    • متجر معدات
    • متجر ألعاب
    الطعام والضيافة
    • بار وحانة
    • المطعم
    • مطعم للوجبات السريعة
    • نزل للضيوف
    • موزّع مشروبات
    • فندق
    العقارات
    • وكالة عقارات
    • شركة هندسة معمارية
    • البناء
    • إدارة العقارات
    • العناية بالحدائق
    • اتحاد مُلاّك العقارات
    استشارة
    • مؤسسة محاسبية
    • شريك أودو
    • وكالة تسويقية
    • منشأة قانونية
    • استقطاب المواهب
    • التدقيق والتوثيق
    التصنيع
    • الأقمشة
    • معدني
    • الأثاث
    • الطعام
    • مصنع خمور
    • هدايا الشركات
    الصحة واللياقة البدنية
    • نادي رياضي
    • متجر نظارات
    • مركز لياقة بدنية
    • الممارسون الصحيون
    • صيدلية
    • صالون تصفيف الشعر
    التجارة
    • عامل صيانة
    • الأجهزة والمعدات التقنية ودعمها
    • أنظمة الطاقة الشمسية
    • صانع أحذية
    • خدمات التنظيف
    • خدمات التكييف (HVAC)
    غير ذلك
    • منظمة غير ربحية
    • وكالة بيئية
    • تأجير لوحات إعلانية
    • تصوير
    • تأجير دراجات
    • بائع وسيط للبرمجيات
    تصفح كافة قطاعات الأعمال
  • مجتمع أودو
    تعلم
    • دروس
    • التوثيق
    • شهادات
    • التدريب
    • مدونة
    • بودكاست
    قم بتعزيز التعليم
    • برنامج تعليم
    • Scale UP! لعبة الأعمال
    • قم بزيارة أودو
    احصل على البرنامج
    • تحميل
    • قارنْ الإصدارات
    • إطلاق
    تعاون
    • جيت هاب "Github"
    • المنتدى
    • فعاليات
    • الترجمات
    • كنْ شريكاً
    • خدمات الشركاء
    • سجل مكتب المحاسبة الخاص بك
    احصل على الخدمات
    • اعثر على شريك
    • اعثر على محاسب
    • قابل أحد مرشدي الأعمال
    • خدمات التنفيذ
    • مراجع العملاء
    • الدعم
    • الترقيات
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    الحصول على عرض توضيحي
  • الأسعار
  • المساعدة

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • إدارة علاقات العملاء
  • e-Commerce
  • المحاسبة
  • المخزون
  • PoS
  • المشروع
  • MRP
All apps
يجب أن تكون مسجلاً حتى تتفاعل مع المجتمع.
كافة المنشورات الأفراد الشارات
علامات التصنيف (عرض الكل)
odoo accounting v14 pos v15
حول هذا المنتدى
يجب أن تكون مسجلاً حتى تتفاعل مع المجتمع.
كافة المنشورات الأفراد الشارات
علامات التصنيف (عرض الكل)
odoo accounting v14 pos v15
حول هذا المنتدى
المساعدة

OpenERP 7.0, jasper_report, iReport and SQL parameters

اشتراك

تسلم الإشعارات عندما يكون هناك نشاط في هذا المنشور

لقد تم الإبلاغ عن هذا السؤال
parameterssqlireportjasper_reports
7609 أدوات العرض
الصورة الرمزية
jsallent

Hello,

I am using the iReport integrated with jasper_report module in OpenERP 7.0. with XML without problems.

But, I created a report using iReport 5.5 with a JDBC SQL connection to my postgresql database with a sql query as the datasource. In iReport, I added a parameter named IDS to capture the data passed from OpenERP to the report. This parameter data type is set java.lang.Object..

I added another parameter named PIDS with a data type of java.util.List and a default expression of $P{IDS}.toList(). Finally, the report language is set to Groovy.

In the WHERE clause of the query, I used the $X syntax to retrieve records for all the passed ids:
where $X{IN, id, PIDS}

I have a following compile error:

Imágenes integradas 1

  The SQL QUERY ->

SELECT

     iqcirugia."id" AS iqcirugia_id,

     iqcirugia."create_uid" AS iqcirugia_create_uid,

     iqcirugia."create_date" AS iqcirugia_create_date,

     iqcirugia."write_date" AS iqcirugia_write_date,

     iqcirugia."write_uid" AS iqcirugia_write_uid,

     iqcirugia."autoriza" AS iqcirugia_autoriza,

     iqcirugia."paciente" AS iqcirugia_paciente,

     iqcirugia."nhc" AS iqcirugia_nhc,

     iqcirugia."payment_term" AS iqcirugia_payment_term,

     iqcirugia."fec_oper" AS iqcirugia_fec_oper,

     iqcirugia."centro" AS iqcirugia_centro,

     iqcirugia."partner_invoice_id" AS iqcirugia_partner_invoice_id,

     iqcirugia."tarjeta" AS iqcirugia_tarjeta,

     iqcirugia."otros" AS iqcirugia_otros,

     iqcirugia."partner_id" AS iqcirugia_partner_id,

     iqcirugia."name" AS iqcirugia_name,

     iqcirugia."fiscal_position" AS iqcirugia_fiscal_position,

     iqcirugia."user_id" AS iqcirugia_user_id,

     iqcirugia."tipo_id" AS iqcirugia_tipo_id,

     iqcirugia."doctor" AS iqcirugia_doctor,

     iqcirugia."company_id" AS iqcirugia_company_id,

     iqcirugia."state" AS iqcirugia_state,

     iqcirugia."payment_type" AS iqcirugia_payment_type,

     iqcirugia."pricelist_id" AS iqcirugia_pricelist_id,

     iqcirugia."poliza" AS iqcirugia_poliza,

     iqcirugia_location."id" AS iqcirugia_location_id,

     iqcirugia_location."create_uid" AS iqcirugia_location_create_uid,

     iqcirugia_location."create_date" AS iqcirugia_location_create_date,

     iqcirugia_location."write_date" AS iqcirugia_location_write_date,

     iqcirugia_location."write_uid" AS iqcirugia_location_write_uid,

     iqcirugia_location."cirugia_id" AS iqcirugia_location_cirugia_id,

     iqcirugia_location."location_id" AS iqcirugia_location_location_id,

     iqcirugia_location."name" AS iqcirugia_location_name,

     stock_location."id" AS stock_location_id,

     stock_location."parent_left" AS stock_location_parent_left,

     stock_location."parent_right" AS stock_location_parent_right,

     stock_location."create_uid" AS stock_location_create_uid,

     stock_location."create_date" AS stock_location_create_date,

     stock_location."write_date" AS stock_location_write_date,

     stock_location."write_uid" AS stock_location_write_uid,

     stock_location."comment" AS stock_location_comment,

     stock_location."chained_delay" AS stock_location_chained_delay,

     stock_location."chained_company_id" AS stock_location_chained_company_id,

     stock_location."active" AS stock_location_active,

     stock_location."posz" AS stock_location_posz,

     stock_location."posx" AS stock_location_posx,

     stock_location."posy" AS stock_location_posy,

     stock_location."valuation_in_account_id" AS stock_location_valuation_in_account_id,

     stock_location."partner_id" AS stock_location_partner_id,

     stock_location."icon" AS stock_location_icon,

     stock_location."valuation_out_account_id" AS stock_location_valuation_out_account_id,

     stock_location."scrap_location" AS stock_location_scrap_location,

     stock_location."name" AS stock_location_name,

     stock_location."chained_location_id" AS stock_location_chained_location_id,

     stock_location."chained_journal_id" AS stock_location_chained_journal_id,

     stock_location."chained_picking_type" AS stock_location_chained_picking_type,

     stock_location."company_id" AS stock_location_company_id,

     stock_location."chained_auto_packing" AS stock_location_chained_auto_packing,

     stock_location."complete_name" AS stock_location_complete_name,

     stock_location."usage" AS stock_location_usage,

     stock_location."location_id" AS stock_location_location_id,

     stock_location."chained_location_type" AS stock_location_chained_location_type

FROM

     "public"."iqcirugia" iqcirugia INNER JOIN "public"."iqcirugia_location" iqcirugia_location ON iqcirugia."id" = iqcirugia_location."cirugia_id"

     INNER JOIN "public"."stock_location" stock_location ON iqcirugia_location."location_id" = stock_location."id"

WHERE $X{IN, iqcirugia.id, PIDS}

 

Sorry for my english.

 

I appreciate any help.

 

Best regards

Juan Sallent

 

 

0
الصورة الرمزية
إهمال
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!

أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!

تسجيل
المنشورات ذات الصلة الردود أدوات العرض النشاط
Print image from postgreSQL to iReport ?
ireport jasper_reports
الصورة الرمزية
الصورة الرمزية
الصورة الرمزية
2
مايو 18
9245
Error in Printing Jasper Report with Sub Reports in openerp
ireport python2.7 jasper_reports
الصورة الرمزية
الصورة الرمزية
الصورة الرمزية
2
مايو 18
13635
How can I use Jarper Reports and iReport in Odoo 9?
reports ireport jasper_reports odoo9
الصورة الرمزية
الصورة الرمزية
2
يونيو 16
6355
iReport designer 4.0.2 not work with “print repeated value” for Sale Order Line
reports ireport openerp7 jasper_reports odoo
الصورة الرمزية
0
أغسطس 17
9641
Unable to Delete Company Parameter تم الحل
parameters
الصورة الرمزية
الصورة الرمزية
1
مايو 24
3054
المجتمع
  • دروس
  • التوثيق
  • المنتدى
مصدر مفتوح
  • تحميل
  • جيت هاب "Github"
  • المشغل الآلي رنبوت
  • الترجمات
خدماتنا
  • استضافة أودو إس إتش
  • الدعم
  • الترقية
  • التطويرات المخصصة
  • التعليم
  • اعثر على محاسب
  • اعثر على شريك
  • كنْ شريكاً
معلومات عنا
  • شركتنا
  • أصول العلامة التجارية
  • اتصلْ بنا
  • الوظائف
  • فعاليات
  • بودكاست
  • مدونة
  • عملاء
  • قانوني • الخصوصية
  • الحماية
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

أودو هو عبارة عن مجموعة من تطبيقات الأعمال مفتوحة المصدر التي تغطي جميع احتياجات شركتك، مثل: إدارة علاقات العملاء والتجارة الإلكترونية والمحاسبة والمخزون ونقاط البيع وإدارة المشاريع وما إلى ذلك.

ما يجعل من أودو مميزاً هو هدفه بأن يكون سهل الاستخدام للغاية ومتكاملاً تمامًا في الوقت ذاته.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now