- Wed Feb 14, 2018 5:39 am
#813186
hi all,
i have a problem about trigger which select datas from mssql.
the problem is turkish character. sp.notes sometimes include "ş,ç,ğ". there is 2 image i am showing you will understand the problem. is working well because there is no turkish character. when i click its clear all area start like new. the note have this sentence"MÜŞTERİ BİLGİLERİ KULLANILACAK"
i searched web and forum. there is some solution for MYSQL but no solution for MSSQL
i have a problem about trigger which select datas from mssql.
Code: Select all
thats my trigger. its not completed yet.$AA01 = @@AA01;
$db = "4546508785a77f4fd886ea4091331478";
$query = ("select A.cus_desc AS CUSTOMER,A.sp_orderno,qty_desc AS KALITE,rnk_palet,rnk_desc,edge_kodu,A.sp_note1,A.sp_note2 as note2,A.sp_note3 as note3,A.sp_note4,A.sp_note5,A.sp_note6
,ns_desc,ts_desc,a.sp_ordate,a.sp_odeme,a.sp_sonyukleme,
(select obt_values from cw_000_orderbilgi where obt_orderref=a.sp_referans and obt_bilkodu=10) AS LANSET
from cwv_000_orderlist AS A
left outer join cwv_000_orderfis as B on (B.sp_referans=ss_orderref)
where A.sp_orderno='$AA01' group by A.sp_orderno,A.cus_desc,qty_desc,rnk_palet,rnk_desc,edge_kodu,A.sp_note1,A.sp_note2,A.sp_note3,A.sp_note4,A.sp_note5,A.sp_note6,ns_desc,ts_desc,a.sp_ordate,a.sp_odeme,a.sp_sonyukleme,A.sp_referans
");
$result = executeQuery($query,$db);
$CUSTOMER = $result['1']['CUSTOMER'];
$KALITE = $result['1']['KALITE'];
$note3 = $result['1']['note3'];
$note2 = $result['1']['note2'];
@@BB01 = "Müsteri: $CUSTOMER \nKalite : $KALITE \nNote : $note3 \n$note2";
PMFRedirectToStep(@@APPLICATION, @%INDEX, 'DYNAFORM', '8620300295a6f0ed93e80c9025529768');
the problem is turkish character. sp.notes sometimes include "ş,ç,ğ". there is 2 image i am showing you will understand the problem. is working well because there is no turkish character. when i click its clear all area start like new. the note have this sentence"MÜŞTERİ BİLGİLERİ KULLANILACAK"
i searched web and forum. there is some solution for MYSQL but no solution for MSSQL