بتاريخ: 31 أكتوبر 201213 سنة comment_228558 السلام عليكمممكن مساعدة في select بتجيب كل الداتا المرتبطة بالCustomer اللى انا احددهانا سألت قيل كده و قالولى ان الCustomer بيجى من تلات جدوال بس انا بصراحه مش عارف اعمل ال select و كمان الربط بين الجدوال دى .....لو جد يعرف ازاى يقولى اكون شاكر جدا .. تقديم بلاغ
بتاريخ: 7 نوفمبر 201213 سنة comment_228832 السلام عليكمبامكانك استخدام هذا الجدول: Ar_Customers تقديم بلاغ
بتاريخ: 8 نوفمبر 201213 سنة comment_228847 وعليكم السلام،،،يمكن استخدام هذه الجمله مع اضافة الباراميتر حسب الحاجه : Select Distinct A_.Customer_Id, A_.Customer_Number, A_.Customer_Name, A_.Class, A_.Category From Ar_Customer_Find_V A_ Where A_.Customer_Name = Decode (_Customer_Name, Null, A_.Customer_Name, _Customer_Name ) And Upper (A_.Class) = Decode (Upper (_Class), Null, Upper (A_.Class), Upper (_Class) ) And Upper (A_.Category) = Decode (Upper (_Category), Null, Upper (A_.Category), Upper (_Category) ) And A_.Country_Code = Decode (_Country_Code, Null, A_.Country_Code, _Country_Code ) Order By To_Number (Customer_Number) Asc كما يمكن احضار عنوان Customer : Select B_.Customer_Id, Nvl (B_.Address1, '--'), Nvl (B_.City, '--'), Nvl (B_.Postal_Code, '--'), Nvl (B_.Country, '--'), Nvl (B_.Country_Code, '--') From Ar_Customer_Find_V B_ ,احضار العقود من خلال : Select Distinct C_.Contact_Number, Nvl (C_.First_Name, '') || ' ' || Nvl (C_.Last_Name, ''), C_.Customer_Id, C_.Rel_Party_Id From Ar_Contacts_V C_ Where C_.Address_Id Is Null And C_.Status = 'A' حيث يمكن عمل تقرير يربط بين جميع هذه الجمل من خلال الحقل Custmer_id تم تعديل 8 نوفمبر 201213 سنة بواسطة malik alwadi تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.