I am using this (from Pmegan)
select * from
micros.trans_dtl as tdtl join
micros.dtl as d on
tdtl.trans_seq = d.trans_seq join
micros.mi_dtl as mdtl on
d.trans_seq = mdtl.trans_seq and
d.dtl_seq = mdtl.dtl_seq join
micros.mi_def as mdef on
mdtl.mi_seq = mdef.mi_seq join
micros.chk_dtl as ckdtl on
tdtl.chk_seq = ckdtl.chk_seq
where ckdtl. chk_num = 8217
and getting menu items detail for guest checks.
I can find almost the same data in the view vta_base_baseDtl
I am seeing the original menu item and then 2 additional items for voided items.... how would I go about getting just the actual items that are currently on the check ?
Thanks in advance !!!!!
select * from
micros.trans_dtl as tdtl join
micros.dtl as d on
tdtl.trans_seq = d.trans_seq join
micros.mi_dtl as mdtl on
d.trans_seq = mdtl.trans_seq and
d.dtl_seq = mdtl.dtl_seq join
micros.mi_def as mdef on
mdtl.mi_seq = mdef.mi_seq join
micros.chk_dtl as ckdtl on
tdtl.chk_seq = ckdtl.chk_seq
where ckdtl. chk_num = 8217
and getting menu items detail for guest checks.
I can find almost the same data in the view vta_base_baseDtl
I am seeing the original menu item and then 2 additional items for voided items.... how would I go about getting just the actual items that are currently on the check ?
Thanks in advance !!!!!