Smaller X and Z report


J

Justin Janson

I am trying to make a smaller X and Z report. My XML is not that good, but I
changed some other things before. That all went well. I want to remove the
'hourly sales' and the 'shift', 'open', 'close' parts halfway of the receipt.
Can anyone help me with this? Thanks in advance.

Justin Janson
DotNet Solutions
 
Ad

Advertisements

J

Justin Janson

Hi John,

Maybe something went wrong. There is no link or suggestion.

Thanks,
Justin
 
G

Glenn Adams [MVP - Retail Mgmt]

There is an attachment on the post. You need to be using a newsreader
such as Outlook express or Thunderbird to view attachments. Look for
any post for Jeff at Checkpoint Software - the links/instructions for
connecting with a newsreader are in his footer...
 
J

John M.

Don't know what happened to the attachment, so here you go:

<?xml version = "1.0" encoding = "UTF-16"?>
<XML>
<!--
===========================
40 col. X & Z Reports and Blind Closeouts
===========================
-->
<PROPERTIES>
<DESCRIPTION> JFM-XML 40-col X and Z Report and Blind Closeouts
</DESCRIPTION>
<AUTHOR> Microsoft Corporation / John Murray
</AUTHOR>
<VERSION>Version 1.6 </VERSION>
</PROPERTIES>
<!-- V 1.3 - Removed individual Line Items Step Ahead not using
V 1.5 - Don't print 0 amounds in Open, Shift, Close, Even, Count,
Department, Hours
V 1.5 - Put Border around OVER/SHORT line item
V 1.6 - Moved over/short entries to right under over/short amount
-->
<!--
===========================
Variable Declarations
===========================
-->

<!-- These variables may be altered: -->
<SET name = "LogoFilename" custom = "true" description = "Logo Filename"
type = "vbString">
</SET>
<SET name = "PaperWidth" custom = "true" description = "PaperWidth" type =
"vbDouble"> 2.75 </SET>
<SET name = "PaperHeight" custom = "true" description = "PaperHeight" type
= "vbDouble"> 11.0 </SET>
<SET name = "MarginLeft" custom = "true" description = "MarginLeft" type =
"vbDouble"> 0.20 </SET>
<SET name = "MarginRight" custom = "true" description = "MarginRight" type
= "vbDouble"> 0.20 </SET>
<SET name = "MarginTop" custom = "true" description = "MarginTop" type =
"vbDouble"> 0.50 </SET>
<SET name = "MarginBottom" custom = "true" description = "MarginBottom"
type = "vbDouble"> 0.50 </SET>
<SET name = "HideZeroTaxes" custom = "true" description = "Hide Zero Taxes"
type = "vbBoolean"> False </SET>
<SET name = "PaperCutPercent" custom = "true" description = "Paper Cut
Percent (OPOS)" type = "vbLong"> 100 </SET>
<SET name = "CharacterSet" custom="true" description="Character Set
(OPOS)" type="vbLong"> 437 </SET>
<SET name = "PrintReceipt" custom = "true" description = "Print to Receipt
(OPOS)" type = "vbBoolean"> True </SET>
<SET name = "PrintJournal" custom = "true" description = "Print to Journal
(OPOS)" type = "vbBoolean"> True </SET>
<SET name = "PrintSlip" custom = "true" description = "Print to Slip
(OPOS)" type = "vbBoolean"> False </SET>
<SET name = "PageWidth" description = "PageWidth" type = "vbDouble">
PaperWidth - MarginLeft - MarginRight </SET>
<SET name = "PageHeight" description = "PageHeight" type = "vbDouble">
PaperHeight - MarginTop - MarginBottom </SET>
<!--
===========================
Page Settings
===========================
-->
<OPOS>
<CHARACTERSET> CharacterSet </CHARACTERSET>
<PAPERCUTPERCENT> PaperCutPercent </PAPERCUTPERCENT>
<PRINTRECEIPT> PrintReceipt </PRINTRECEIPT>
<PRINTJOURNAL> PrintJournal </PRINTJOURNAL>
<PRINTSLIP> PrintSlip </PRINTSLIP>
</OPOS>
<MARGIN>
<TOP> MarginTop </TOP>
<BOTTOM> MarginBottom </BOTTOM>
<LEFT> MarginLeft </LEFT>
<RIGHT> MarginRight </RIGHT>
<ORIENTATION>orPortrait</ORIENTATION>
</MARGIN>
<FONT name = "">
<!-- No ID is default font -->

<NAME> "Arial" </NAME>
<SIZE> 8 </SIZE>
<BOLD> False </BOLD>
<UNDERLINE> False </UNDERLINE>
<ITALIC> False </ITALIC>
<COLOR> False </COLOR>
<CPL>44</CPL>
</FONT>
<FONT name = "Small">
<NAME> "Arial" </NAME>
<SIZE> 8 </SIZE>
<BOLD> False </BOLD>
<UNDERLINE> False </UNDERLINE>
<ITALIC> False </ITALIC>
<COLOR> False </COLOR>
<CPL>44</CPL>
</FONT>
<FONT name = "Large">
<NAME> "Arial" </NAME>
<SIZE> 18 </SIZE>
<BOLD> True </BOLD>
<UNDERLINE> False </UNDERLINE>
<ITALIC> False </ITALIC>
<COLOR> False </COLOR>
<CPL>30</CPL>
</FONT>
<DOCUMENT>
<!--
===========================
Logo
===========================
-->

<PICTURE>
<FILENAME> LogoFilename </FILENAME>
<WIDTH> PageWidth </WIDTH>
<LEFT> MarginLeft </LEFT>
<HEIGHT> 0 </HEIGHT>
</PICTURE>
<!--
===========================
Transaction Type
===========================
-->

<TABLE>
<FONT> "Large" </FONT>
<BORDER> tbAll </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "^~" </ALIGNMENT>
<WIDTH> PageWidth </WIDTH>
<IF>
<CONDITION> (Transaction.Type = transactionXReport) </CONDITION>
<THEN>
<TEXT> "X REPORT" </TEXT>
</THEN>
</IF>
<IF>
<CONDITION> (Transaction.Type = transactionZReport) </CONDITION>
<THEN>
<TEXT> "Z REPORT" </TEXT>
</THEN>
</IF>
<IF>
<CONDITION> (Transaction.Type = transactionZZReport) </CONDITION>
<THEN>
<TEXT> "ZZ REPORT" </TEXT>
</THEN>
</IF>
<IF>
<CONDITION> (Transaction.Type = transactionBlindCloseout) </CONDITION>
<THEN>
<TEXT> "BLIND CLOSE" </TEXT>
</THEN>
</IF>
</COLUMNHEADER>
</TABLE>
<!--
===========================
Transaction Details
===========================
-->

<TABLE>
<BORDER> tbNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "&lt;~" </ALIGNMENT>
<WIDTH> PageWidth * 0.45 </WIDTH>
<TEXT> "" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "&gt;~" </ALIGNMENT>
<WIDTH> PageWidth * 0.35 </WIDTH>
<TEXT> "" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "&gt;~" </ALIGNMENT>
<WIDTH> PageWidth * 0.20 </WIDTH>
<TEXT> "" </TEXT>
</COLUMNHEADER>
<!--
===========================
Section:
===========================
-->

<ROW> "Report Date|" Transaction.Date </ROW>
<ROW> "Report Time|" Transaction.Time </ROW>
<ROW> "" </ROW>
<!--
===========================
Section: Batch Information
===========================
-->

<FOR each = "ReportBatch">
<ROW> "Register #|" Report.RegisterNumber </ROW>
<ROW> "Batch #|" Report.Batch.BatchNumber </ROW>
<ROW> "Batch Status|" Report.Batch.Status </ROW>
<ROW> "Start Date|" Report.Batch.StartDate </ROW>
<ROW> "Start Time|" Report.Batch.StartTime </ROW>
<IF>
<CONDITION> Len(Report.Batch.EndDate) </CONDITION>
<THEN>
<ROW> "Date|" Report.Batch.EndDate </ROW>
<ROW> "Time|" Report.Batch.EndTime </ROW>
</THEN>
<ELSE>
<ROW> "Date|n/a" </ROW>
<ROW> "Time|n/a" </ROW>
</ELSE>
</IF>
<ROW> "" </ROW>
</FOR>
<!-- Do not show the following on blind closeouts -->

<IF>
<CONDITION> (Transaction.Type &lt;&gt; transactionBlindCloseout)
</CONDITION>
<THEN>
<!--
===========================
Section: Grand Total In
===========================
-->
<IF>
<CONDITION> (Transaction.Type = transactionZReport) </CONDITION>
<THEN>
<ROW> "Opening Total|" Report.OpeningTotal </ROW>
<ROW> "Sales|" Report.Sales </ROW>
<ROW> "Returns|" Report.Returns </ROW>
<ROW> "Tax|" Report.Tax </ROW>
<ROW> "Shipping|" Report.Shipping </ROW>
<ROW> "Debit Surcharge|" Report.DebitSurcharge </ROW>
<ROW> "Cash Back Fee|" Report.CashBackSurcharge </ROW>
<ROW> "Paid on Layaway|" Report.LayawayPaid </ROW>
<ROW> "Paid to Account|" Report.PaidToAccount </ROW>
<ROW> "Deposit Made|" Report.CustomerDepositMade </ROW>
<ROW> "Total|" Report.TotalIn </ROW>
<ROW> "" </ROW>
</THEN>
</IF>
<IF>
<CONDITION> (Transaction.Type = transactionXReport) </CONDITION>
<THEN>
<ROW> "Opening Total|" Report.OpeningTotal </ROW>
<ROW> "Sales|" Report.Sales </ROW>
<ROW> "Returns|" Report.Returns </ROW>
<ROW> "Paid on Layaway|" Report.LayawayPaid </ROW>
<ROW> "Paid to Account|" Report.PaidToAccount </ROW>
<ROW> "" </ROW>
</THEN>
</IF>
<!--
===========================
Section: Grand Total Out
===========================
-->

<!--BOOKMARK-->

<IF>
<CONDITION> (Transaction.Type = transactionZReport) </CONDITION>
<THEN>
<ROW> "Paid Out|" Report.PaidOut </ROW>
<ROW> "Dropped|" Report.Dropped </ROW>
<ROW> "Layaway Closed|" Report.LayawayClosed </ROW>
<ROW> "Paid on Account|" Report.PaidOnAccount </ROW>
<ROW> "Deposit Redeemed|" Report.CustomerDepositRedeemed </ROW>
<ROW> "Closing Total|" Report.ClosingTotal </ROW>
<IF>
<CONDITION> (Report.TenderRoundingError &lt;&gt; 0) </CONDITION>
<THEN>
<ROW> "Round off Error|" Report.TenderRoundingError </ROW>
</THEN>
</IF>
<ROW> "Total|" Report.TotalOut </ROW>
<ROW> "" </ROW>
</THEN>
</IF>
<IF>
<CONDITION> (Transaction.Type = transactionXReport) </CONDITION>
<THEN>
<ROW> "Paid Out|" Report.PaidOut </ROW>
<ROW> "Dropped|" Report.Dropped </ROW>
<ROW> "Paid on Account|" Report.PaidOnAccount </ROW>
<ROW> "Closing Total|" Report.ClosingTotal </ROW>
<IF>
<CONDITION> (Report.TenderRoundingError &lt;&gt; 0) </CONDITION>
<THEN>
<ROW> "Round off Error|" Report.TenderRoundingError </ROW>
</THEN>
</IF>
<ROW> "Total|" Report.TotalOut </ROW>
<ROW> "" </ROW>
</THEN>
</IF>
<!--
===========================
Section: Total Over Short
===========================
-->
<ROW>
"--------------------------------------------|""------------------------------------"
</ROW>
<ROW> "Over / Short|" Report.OverShort </ROW>
<ROW>
"--------------------------------------------|""------------------------------------"
</ROW>
<ROW> "" </ROW>
<!--
===========================
Section: Tender Totals (Even)
===========================
-->
<FOR each = "ReportTender">
<IF>
<CONDITION> Report.Tender.TenderType &lt;&gt; tenderAccount
</CONDITION>
<THEN>
<IF>
<CONDITION> Report.Tender.OverShort &gt; 0 </CONDITION>
<THEN>
<ROW> Report.Tender.Description "|" Report.Tender.OverShort
"|(over)" </ROW>
</THEN>
</IF>
<IF>
<CONDITION> Report.Tender.OverShort &lt; 0 </CONDITION>
<THEN>
<ROW> Report.Tender.Description "|" Report.Tender.OverShort
"|(short)" </ROW>
</THEN>
</IF>
</THEN>
</IF>
</FOR>
<ROW> "" </ROW>
<!--
===========================
Section: Total Batch Info
===========================
-->

<ROW> "Total Tendered|" Report.TotalTendered </ROW>
<ROW> "Total Change|" Report.TotalChange </ROW>
<ROW> "Discounts|" Report.Discounts </ROW>
<ROW> "Customer Count|" Report.CustomerCount </ROW>
<ROW> "No Sales|" Report.NoSalesCount </ROW>
<ROW> "Aborted Trans|" Report.AbortedTransCount </ROW>
<ROW> "" </ROW>
<!--
===========================
Section: Tax Totals
===========================
-->

<ROW> "Tax Collected:" </ROW>
<IF>
<CONDITION> HideZeroTaxes </CONDITION>
<THEN>
<FOR each = "ReportTax">
<IF>
<CONDITION> Report.Tax.Total &lt;&gt; 0 </CONDITION>
<THEN>
<ROW> Report.Tax.Description "|" Report.Tax.Total </ROW>
</THEN>
</IF>
</FOR>
</THEN>
<ELSE>
<FOR each = "ReportTax">
<ROW> Report.Tax.Description "|" Report.Tax.Total </ROW>
</FOR>
</ELSE>
</IF>
<ROW> "" </ROW>
<!--
===========================
Section: Tender Totals (Open)
===========================
-->
<ROW> "OPENING TOTALS:" </ROW>
<FOR each = "ReportTender">
<IF>
<CONDITION> Report.Tender.TenderType &lt;&gt; tenderAccount
</CONDITION>
<THEN>
<IF>
<CONDITION> Report.Tender.OpenTotal &gt; 0 </CONDITION>
<THEN>
<ROW> Report.Tender.Description "|" Report.Tender.OpenTotal
"|(open)" </ROW>
</THEN>
</IF>
</THEN>
</IF>
</FOR>
<ROW> "" </ROW>
<!--
===========================
Section: Tender Totals (Shift)
===========================
-->
<ROW> "SHIFT TOTALS:" </ROW>
<FOR each = "ReportTender">
<IF>
<CONDITION> Report.Tender.TenderType &lt;&gt; tenderAccount
</CONDITION>
<THEN>
<IF>
<CONDITION> Report.Tender.ShiftTotal &gt; 0 </CONDITION>
<THEN>
<ROW> Report.Tender.Description "|" Report.Tender.ShiftTotal
"|(shift)" </ROW>
</THEN>
</IF>
</THEN>
</IF>
</FOR>
<ROW> "" </ROW>
<!--
===========================
Section: Tender Totals (Close)
===========================
-->
<ROW> "CLOSE TOTALS:" </ROW>
<FOR each = "ReportTender">
<IF>
<CONDITION> Report.Tender.TenderType &lt;&gt; tenderAccount
</CONDITION>
<THEN>
<IF>
<CONDITION> Report.Tender.CloseTotal &gt; 0 </CONDITION>
<THEN>
<ROW> Report.Tender.Description "|" Report.Tender.CloseTotal
"|(close)" </ROW>
</THEN>
</IF>
</THEN>
</IF>
</FOR>
<ROW> "" </ROW>
<!--
===========================
Section: Tender Totals (Count)
===========================
-->
<ROW> "TENDER COUNTS:" </ROW>
<FOR each = "ReportTender">
<IF>
<CONDITION> Report.Tender.TenderType &lt;&gt; tenderAccount
</CONDITION>
<THEN>
<IF>
<CONDITION> Report.Tender.CountTotal &gt; 0 </CONDITION>
<THEN>
<ROW> Report.Tender.Description "|" Report.Tender.CountTotal
"|(count)" </ROW>
</THEN>
</IF>
</THEN>
</IF>
</FOR>
<ROW> "" </ROW>
<!--
===========================
Only print totals if Z Report
===========================
-->

<IF>
<CONDITION> (Transaction.Type = transactionZReport) </CONDITION>
<THEN>
<!--
===========================
Section: Department Totals
===========================
-->

<ROW> "DEPARTMENT SALES:" </ROW>
<FOR each = "ReportDepartment">
<IF>
<CONDITION> Report.Department.Sales &gt; 0 </CONDITION>
<THEN>
<ROW> Report.Department.Name "|" Report.Department.Sales "|"
Report.Department.PercentageSales </ROW>
</THEN>
</IF>
</FOR>
<ROW>
"|==============================================|=============================================="
</ROW>
<!--
===========================
Section: Department Grand Total
===========================
-->

<ROW> "|" Report.DepartmentTotalSales "|"
Report.DepartmentTotalPercentage </ROW>
<ROW> "" </ROW>
<!--
===========================
Section: Hourly Totals
===========================
-->

<ROW> "HOURLY SALES:" </ROW>
<FOR each = "ReportHour">
<IF>
<CONDITION> Report.Hour.Sales &gt; 0 </CONDITION>
<THEN>
<ROW> Report.Hour.Hour "|" Report.Hour.Sales "|"
Report.Hour.TransactionCount </ROW>
</THEN>
</IF>
</FOR>
<ROW>
"|==============================================|=============================================="
</ROW>
<!--
===========================
Section: Hourly Grand Total
===========================
-->

<ROW> "|" Report.HourlyTotalSales "|"
Report.HourlyTotalTransactionCount </ROW>
</THEN>
</IF>
</THEN>
</IF>
<!--
<IF>
<CONDITION> 0 </CONDITION>
<THEN></THEN>
</IF>
-->

</TABLE>
</DOCUMENT>
</XML>
 
G

GregDxb

Hi Glenn,
I was trying to install thunderbird for reading this newsgroup...
do you know the newsgroup server ? microsoft.public.pos --> i was trying
this but with no luck..

Can you help me out ?

thanks
 
G

Glenn Adams [MVP - Retail Mgmt]

Server = msnews.microsoft.com (your company or ISP may have their own
server that you could use, but MS makes this one available to the public)
Group = microsoft.public.pos
 
Ad

Advertisements

Joined
Sep 21, 2011
Messages
2
Reaction score
0
Hi everyone,
Can someone help me to modify my x and z reports. I do not want to print department sales and hourly sales
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

X and Z report 1
X/Z Report 1
Z/X Report 1
X & Z Reports 2
X and Z Report Problem 15
X Z and ZZ reports? 3
X & Z Reports - Help 3
BUG In X & Z Report 0

Top