eric.dizon
21st November 2012, 21:03
Hi,
I've created a custom print dialog session that has Input Fields that are based from user inputs. bfdt.f is a calculated field I would like to pass on the report I am using but I am confused how to do it because I can't utilize it in my read.main.table() function. How to to pass bfdt.f in my Select statement?
Input Fields of Dialog box
extern domain tcitem item.f fixed |Item
extern domain tcqsl1 qrdr.f |Quantity
extern domain tcpdno pdno.f |Production Order #
extern domain tcutcs pddt.f |Production Date
extern domain tcutcs bfdt.f |Best Before Date
In the function read.main.table()
select tisfc001.*, whwmd400.npsl, whwmd400.kpsl, tgbrg835.user, tccom 100.bpid, tccom100.nama, {bfdt.f}??
from tisfc001, whwmd400, tgbrg835, tccom100
where tisfc001._index1 = {:pdno.f}
and tisfc001.mitm = whwmd400.item
and tgbrg835.user = {:oprt.f}
and tccom100.bpid = {:spid.f}
selectdo
rprt_send()
endselect
I've created a custom print dialog session that has Input Fields that are based from user inputs. bfdt.f is a calculated field I would like to pass on the report I am using but I am confused how to do it because I can't utilize it in my read.main.table() function. How to to pass bfdt.f in my Select statement?
Input Fields of Dialog box
extern domain tcitem item.f fixed |Item
extern domain tcqsl1 qrdr.f |Quantity
extern domain tcpdno pdno.f |Production Order #
extern domain tcutcs pddt.f |Production Date
extern domain tcutcs bfdt.f |Best Before Date
In the function read.main.table()
select tisfc001.*, whwmd400.npsl, whwmd400.kpsl, tgbrg835.user, tccom 100.bpid, tccom100.nama, {bfdt.f}??
from tisfc001, whwmd400, tgbrg835, tccom100
where tisfc001._index1 = {:pdno.f}
and tisfc001.mitm = whwmd400.item
and tgbrg835.user = {:oprt.f}
and tccom100.bpid = {:spid.f}
selectdo
rprt_send()
endselect