Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
b.renqty [Quantity],
a.rendate AS DATE,
CASE
else 'Emergency'
from pspatinv A
inner join
where
b.FK_iwItemsREN = 'MED00155'
and convert(varchar, a.rendate, 120) between '2018-09-14 00:00:01' and '2018-09-14 23:59:59'
from
pspatinv
where
select
PK_TRXNO,
STINo,
itemid,
itemdesc,
qty,
WarehouseDST,
WarehouseSCR,
STIDate,
UserLog,
remarks
from
vwReportStockIssuance
select * from vwReportStockIssuance where UserLog = 'LOPEZ, ANGELA P.' and STINo = '13850'
select
a.IssNo,
a.ItemDesc,
a.qty,
a.IssDept,
a.ReqDept,
a.IssDate,
a.ExReqDate,
a.UserLog,
a.remarks
from
vwReportExpenceIssuance a
where
group by a.IssNo,
b.itemid,
a.ItemDesc,
a.qty,
a.IssDept,
a.ReqDept,
a.IssDate,
a.ExReqDate,
a.UserLog,
a.remarks
select
PK_TRXNO,
STINo,
itemid,
itemdesc,
qty,
WarehouseDST,
WarehouseSCR,
STIDate,
UserLog,
remarks
from
vwReportStockIssuance
where
UserLog = @name
dbo.udf_GetItemDescription(a.PK_iwitems) as [Item
Descripton],
----------final
dbo.udf_getitemdescription(b.FK_iwItemsREN),
renqty [Quantity],
from iwWareitem a