--CREATE VIEW MEM AS
SELECT
STL.DATE_ AS "Tarih"
,CL.DEFINITION_ AS "Okul"
,IT.NAME AS "Malzeme"
,STL.AMOUNT AS "Miktar"
,WH.NAME AS "Ambar"
FROM LG_003_01_STLINE STL
LEFT OUTER JOIN LG_003_CLCARD CL ON CL.LOGICALREF=STL.CLIENTREF
LEFT OUTER JOIN LG_003_ITEMS IT ON IT.LOGICALREF=STL.STOCKREF
LEFT OUTER JOIN L_CAPIWHOUSE WH ON WH.NR=STL.SOURCEINDEX
WHERE WH.FIRMNR=3
bu sorgu ile ambar bilgisi doğru geliyor ama önceki iletideki sqlinfo yanlış getiriyor.