[CONSECUTIVO:1]
ZETA {WORKPERIOD ID}
[Primer recibo del periodo:1]
{FIRST TICKET ID}
[Ultimo Recibo del periodo:1]
{LAST TICKET ID}
[Ventas Dinero:1, 1]
{REPORT TICKET TYPES:!PreOrder && TotalAmount >= 0}
[Ingresos ventas:1,2,1]
Efectivo||{ACCOUNT TRANSACTION TOTAL:Pago Transacción:Pago Cuentas}
Tarjeta de crédito||{ACCOUNT TRANSACTION TOTAL:Cliente Pago con tarjeta de crédito:Tarjeta de crédito}
Base||{ACCOUNT TRANSACTION TOTAL:INGRESAR BASE:Efectivo}
total||{ACCOUNT DEBIT TOTAL:Efectivo}
[Egresos:1,1,1,1]
>Name|Fecha|Detalle|Total
{REPORT ACCOUNT TRANSACTION DETAILS:T.Target,T.Date,T.TransactionName,T.Amount.Sum:(ATT=Transaccion de Egresos)}
>Total|||{ACCOUNT TRANSACTION TOTAL:Transaccion de Egresos:Efectivo}
[Totales:3,1]
Efectivo|{ACCOUNT TOTAL:Efectivo}
Credit Card|{ACCOUNT TOTAL:Tarjeta de crédito}
Total|{ACCOUNT TOTAL:Efectivo}
[Ventas por depatamento:2, 1, 2]
@{TICKET TYPE LIST}
@{TAX TYPE LIST}
@{REPORT PAYMENT DETAILS:P.Department::,}
$3|$1|{REPORT PAYMENT DETAILS:P.Amount.Sum:(TY=$1) and (DE=$3)}
{REPORT PAYMENT DETAILS:P.Name,P.Amount.Percent,P.Amount.Sum:(TY=$1) and (DE=$3)}
{REPORT CALCULATION DETAILS:C.Name,C.X,C.CalculationAmount.Sum:(TY=$1) and (DE=$3)}
$3|$2|{REPORT TICKET DETAILS:TX.$2.Sum:(TY=$1) and (DE=$3)}
[Ventas de usuario:1, 1]
{REPORT ORDER DETAILS:O.User,O.ExactTotal.Sum,}
@{REPORT PAYMENT DETAILS:P.User,P.Amount.Sum::{0}:,}
@{REPORT ORDER DETAILS:O.MenuItemName,O.ExactTotal.Sum.desc:(DE=Restaurante) and (ODI=True):{0}:,}
>{REPORT ORDER DETAILS:O.MenuItemName,O.Quantity.Sum.desc,O.ExactTotal.Sum.desc:(ODI=True) and O.MenuItemName="$1"}
{REPORT ORDER DETAILS:' '+[O.PortionName],O.Quantity.Sum.desc,O.ExactTotal.Sum.desc:(ODI=True) and O.MenuItemName="$1":2}
[Ventas Para LLevar:5, 2, 2,1]
@{REPORT ORDER DETAILS:O.MenuItemName,O.ExactTotal.Sum.desc:(DE=Barra para llevar) and (ODI=True):{0}:,}
>{REPORT ORDER DETAILS:O.MenuItemName,O.Quantity.Sum.desc,O.ExactTotal.Sum.desc:(OCP=True) and O.MenuItemName="$1"}
{REPORT ORDER DETAILS:' '+[O.PortionName],O.Quantity.Sum.desc,O.ExactTotal.Sum.desc:(ODI=True) and O.MenuItemName="$1":2}
TOTAL||$[=F(TN('{REPORT ORDER DETAILS:O.ExactTotal.sum:(DE=Barra para llevar) and (OCP=True) }'))]
[Venta Para Restaurante:5, 2, 2,1]
@{REPORT ORDER DETAILS:O.MenuItemName,O.ExactTotal.Sum.desc:(DE=Restaurante) and (ODI=True):{0}:,}
>{REPORT ORDER DETAILS:O.MenuItemName,O.Quantity.Sum.desc,O.ExactTotal.Sum.desc:(OCP=True) and O.MenuItemName="$1"}
{REPORT ORDER DETAILS:' '+[O.PortionName],O.Quantity.Sum.desc,O.ExactTotal.Sum.desc:(ODI=True) and O.MenuItemName="$1":2}
TOTAL||$[=F(TN('{REPORT ORDER DETAILS:O.ExactTotal.sum:(DE=Restaurante) and (OCP=True) }'))]
[GLOBAL VENTAS PARA LLEVAR :2, 2, 2, 2]
>PRODUCTO|ETIQUETA|CANTIDAD|TOTAL
{REPORT ORDER DETAILS:O.MenuItemName,OT.PARA LLEVAR,O.Quantity.Sum.desc,O.ExactTotal.Sum.desc:(OT=PARA LLEVAR) and (OCP=True)}
TOTAL|||$[=F(TN('{REPORT ORDER DETAILS:O.ExactTotal.sum:(OT=PARA LLEVAR) and (OCP=True) }'))]
[Regalo Detail:1,2,2,2,1,1,1]
>Ticket#|Usuario|Hora|Articulo|Cantidad|Mesa|Total
{REPORT ORDER DETAILS:T.TicketNumber,OSU.GStatus,O.Time,O.MenuItemName,O.Quantity,EN.Mesas,O.TotalPrice:(OS.GStatus=Regalo)}
TOTAL||||||$[=F(TN('{REPORT ORDER DETAILS:O.TotalPrice.sum:(OS.GStatus=Regalo) }'))]
[Regalo Familia Detail:1,1,1,1,1,1, 1]
>Ticket#|Usuario|Hora|Articulo|Cantidad|Mesa|Total
{REPORT ORDER DETAILS:T.TicketNumber,OSU.RStatus,O.Time,O.MenuItemName,O.Quantity,EN.Mesas,O.TotalPrice:(OS.RStatus=Regalo Familia)}
TOTAL||||||$[=F(TN('{REPORT ORDER DETAILS:O.TotalPrice.sum:(OS.RStatus=Regalo Familia) }'))]
[Descuento%:1,1, 1, 1, 1]
>Ticket#|Usuario|Ticket Total|Porcentaje|Cantidad Descuento
{REPORT CALCULATION DETAILS:T.TicketNumber,C.User,T.TotalAmount,C.Amount,C.CalculationAmount:(CT=Descuento %)}
[Descuento$:1,1, 1, 1]
>Ticket#|User|Ticket Total|Cantidad Descuento $
{REPORT CALCULATION DETAILS:T.TicketNumber,C.User,T.TotalAmount,C.Amount:(CT=Descuento $)}
[Detalle producto Regalos y Regalos Familia:2, 1, 1, 1]
>Articulo|Cantidad|Valor|Total
{REPORT ORDER DETAILS:O.MenuItemName,O.Quantity.Sum.desc,O.Price,[$2*$3]:(ODI=True) and (OCP=False)}
>Total|{REPORT ORDER DETAILS:O.Quantity.Sum,O.Price.Average,([O.Quantity]*[O.Price]).sum:(ODI=True) and (OCP=False)}
im having trouble formatting this report to excel syntax,more precisely with the first tables “primer recibo del periodo” “ultimo recibo del periodo”, can anyone give a hand with how should it be for those tables.