Quantcast
Channel: Microsoft Dynamics RMS Forum - Recent Threads
Viewing all 4469 articles
Browse latest View live

RE: Sell-Thru report! ON HAND QTY and SOLD QTY can be in same report?

$
0
0

Hi Archelle,

I tried without filters too, no luck.

Thanks & Regards,

Upendra Nath M.


RE: Sell-Thru report! ON HAND QTY and SOLD QTY can be in same report?

$
0
0

If your using anything in your testing Archelle of this report and options newer than RMS build and version 2.0.0110 (which is feature pack 1) released in 2007. You're likely going to see different results. The coding after feature pack 2, I believe has some impact on how reporting, forms and receipts work or don't work.  Just a thought.  

RE: Sell-Thru report! ON HAND QTY and SOLD QTY can be in same report?

$
0
0

Thank you so much Archelle! You da best!

Upendra, you will need to delete SelCritetia data so that you will see the result.

<END>

SelCriteria = "(SUBSTRING(Department.Name, 1, 2) IN ( 'OR', 'OB', 'CS', 'CC' ))"

GroupBy = ""

SortOrder = "dbo.Department.Name , Supplier.SupplierName , tblStore.StoreCode , tblheader.PONumber ,tblitem.ItemLookupCode"

End ReportSummary

RE: Purchase Order List Report with Created By (User who created the PO?)

$
0
0

We also use that field to put name on POs or ITO/ITI.

Will Credit Card Processing RMS EDC Preferred Acquirer Be Affected By TYSYS Updating to SHA-256 from SHA-1

$
0
0

According to Bank Of America Merchant Services TYSYS will be updating on July 31sy 2016 to SHA-256 from SHA-1.

Any information on how this will affect Preferred Acquirer in EDC ?

Salesforce and RMS integration

$
0
0

Has anyone seen a solution for this? Of course the RMS user went ahead and chose Salesforce without checking first to see if there was an existing integration or even an affordable possibility, just like they typically do with ecommerce, accounting, merchant processors, hardware, etc.

Interesting that otherwise intelligent businesspeople do this. If auto mechanics, A/C repairmen, etc. any other industry tradesmen chose and ordered aftermarket parts for without checking compatibility first, they would have a lot of problems!

Thanks

Mike

Error #-2147217833, Please Help, While Generating Inventory Valuation Report

$
0
0

I am receiving following error

Error #-2147217833

The statement has been terminated.

(Source: Microsoft OLE DB Provider for SQL Server)

(SQL State: 01000)

(NativeError:3621)

No Help file available

Update #temp2 set OldAmount =#temp3.OldAmount,NewAmount=

#temp3.OldAmount

from#temp3

where#temp2.ItemID=#temp3.ItemID

and#temp2.StoreId=#temp3.StoreId

select*into#temp4 from [tag:temp1] 

Union All

select *from #temp2

RE: Lost Inter Store Transfer (BUG)

$
0
0

Hi DW,

The connection schedule is already set to connect once every hour. And there are no overlapping synchronization. Thanks for the suggestion anyway! 


Lost Inter Store Transfer (BUG)

$
0
0

Hi there.

Occasionally, when a store transfers inventory to another store, the receiving store will never get it. I tried running a WS 401 and backdated to the transfer date but it still doesn't work. The only method which works is to run a query script to insert the hqmessage for the transfer that didn't go through. 

What I did was:

1. run a report MTD through yesterday to find lost transfers.
2. backdate a worksheet 401 to receiving store from the lost transfer's 
creation date
3. process 401 worksheet and check report again to see if the transfer went
4. if still won't go, update the hqmessage entry to flag transfer to 
transmit again <-- most effective solution
5. if hqmessage for that transfer doesn't exist, create one to force the queue
6. process another 401 worksheet and check again to see if that went
7. extremely rarely do previous steps not work, but sometime have to put the 
inventory back in sending store, remove all trace of previous transfer, and 
recreate

here are the queries that accomplish this 
1. run a report MTD through yesterday to find lost transfers.

Select 
Store.ID, po1.POTitle, Department.Name, po1.DateCreated, po1.LastUpdated, 
po1.Status, po1.PONumber, Store.Name, po1.[To], po1.autoid
from purchaseorder as po1 WITH(NOLOCK) 
left join purchaseorder as po2 WITH(NOLOCK) on po2.otherpoid = po1.id and 
po2.otherstoreid = po1.storeid
Inner JOIN PurchaseOrderEntry WITH(NOLOCK) ON 
po1.ID=PurchaseOrderEntry.PurchaseOrderID AND po1.StoreID = 
PurchaseOrderEntry.StoreID
LEFT JOIN Item WITH(NOLOCK) on PurchaseOrderEntry.ItemID=Item.ID
LEFT JOIN Department with(NOLOCK) on Item.DepartmentID=Department.ID
LEFT JOIN Category WITH(NOLOCK) ON Item.CategoryID=Category.ID
LEFT JOIN Supplier WITH(NOLOCK) ON Item.SupplierID=Supplier.ID
LEFT JOIN Store ON po1.OtherStoreID = Store.ID
WHERE
   po2.id Is Null and po1.otherstoreid > 0 and po1.status=2 and 
po1.otherpoid = 0
   and 
po1.lastupdated<convert(nvarchar,month(getdate()))+'/'+convert(nvarchar,day(getdate()))+'/'+convert(nvarchar,year(getdate()))
   and 
po1.lastupdated>convert(nvarchar,month(getdate()))+'/1/'+convert(nvarchar,year(getdate()))
Group By
   Store.ID, po1.POTitle, Department.Name, po1.DateCreated, po1.LastUpdated, 
po1.Status, po1.PONumber, Store.Name, po1.[To], po1.autoid
   Order By po1.PONumber

4. if still won't go, update the hqmessage entry to flag transfer to 
transmit again

update h set h.status=2 
from purchaseorder p join hqmessage h 
on fromstoreid=storeid and attachmentid=p.id 
where style=2 and h.status=3 and p.autoid=122390

5. if hqmessage for that transfer doesn't exist, create one to force the queue

insert into hqmessage (status, style, fromstoreid, tostoreid, attachmentid, 
datesent)
select 2,2,storeid,otherstoreid,id,datecreated from purchaseorder where 
autoid=122390

I referred to this thread: https://community.dynamics.com/rms/f/106/t/40321

Matt Hurst's reply on 8 Sep 2010 11:20 AM which solve this problem. But it is extremely manual and tedious. The process should be automatic if it is working as it should.

This seems to be a bug which affect not only me, but other users as well. I wondered if anyone has any permanent solution so far? 

Thank you.

Best regards,
Nelson Quek

License Key reverted to Trial Status

$
0
0

Customer has been running RMS for several years. Upgraded to RMS 2.0 2 years ago. Recently upgraded the operation System to windows 10 from 7.0.  Now he is getting an error: "You have entered a Trial Product Key, but not yet activated. Would you like to try another Key?

Like I said he has been operating for 2 years without incident. I have tried activating this over the Internet and it fails and I cannot call anyone as there is no number listed in the activation screen!

RE: Struggling with "memorized reports"

$
0
0

I found this somewhere (possibly here on the Dynamics Forum) - If you aren't afraid of tweaking things yourself it is pretty straightforward.

If not I can forward the .qrp report to you.

To modify a report to only show data from yesterday in Store Operations, follow these steps:

  1. Locate your Store Operations reports folder.

    Note By default, the path of the reports folder is the following:

C:\Program Files\Microsoft Retail Management System\Store Operations\Reports

  1. In Notepad, open the report that you want to modify.
  2. Scroll through the report until you locate the "SelCriteria =" line.
  3. Replace the "SelCriteria =" line with the following.

SelCriteria = "convert(varchar(10),(Getdate()-1),101) = convert(varchar(10),[Transaction].Time,101)"

  1. Locate the "//--- Filters ---//" section, and then delete the following lines:

6. Begin Filter

  1. 7.    FieldName = "[Transaction].Time"
  2. 8.    FilterOp = reportfilteropBetween
  3. 9.    FilterLoLim = "<Today>"
  4.    FilterHilim = "<Today>"

End Filter

11. On the File menu, click Save As.

12. Change the file name to Custom - XXXXX Report.qrp

Note Replace the XXXXX characters with a descriptive title for your custom report.

13. In the Save as Type list, click All Files, and then click Save.

14. If Store Operations Manager is running, you will have to close the application and then restart it before the modified report will be available.

15. In Store Operations Manager, click Reports, point to Custom, and then click your modified report.

 

Struggling with "memorized reports"

$
0
0

So at my place of employment we do our previous days sales and reports every morning.  Recently I started toying around with the "memorized reports" option.  It's pretty straight forward how to pull up the reports and save them to the memorized category.  I am struggling the data though....... 

What I want is to be able to set the reports up with a filter, say like "Date sold - Yesterday" -- And when you pull it up, it will always be the previous day.  When I am currently doing it, it will do the initial day ---  If I were to do it right now it would do Sunday June 5th, which is great because that is yesterday.  However, if I come in tomorrow and do that same report, it will continue with Sunday June 5th instead of following "yesterday." 

I hope this makes sense.  I am just trying to make my team's life easier by setting up all the reports for them and just having them print them in seconds.

Thanks!

RE: Lost Inter Store Transfer (BUG)

$
0
0

We poll ours stores twice a night, but we have 320 stores that poll. We spread them out over 4 severs running about 40 HQ Servers on each.

We still have deadlocks on resources occasionally. This is our work around.

RE: Items modified or added after Date in RMS

$
0
0

select description,id,itemlookup,departmentid,lastupdated,categoryid,price,taxid,cost,quantity,barcodeformat,taxable,lastcost,datecreated from item where lastupdated > '6/2/2016'

Items modified or added after Date in RMS

$
0
0

I would like to retrieve items in an old database after a date, export them to a file, and import them into a new database.

If this is possible, what would the query be?

Can the retrieved items then be exported to a csv file?


40 Col Receipt Template Help - Discount Reason Code

$
0
0

Hi All,

Below is our current Receipt Template, We need to print The discount reason code wherever discount is applicable. Tried a lot somehow unable to print the discount reason code.

Can some one help on this.

<XML>
 <PROPERTIES>
  <DESCRIPTION>  Receipt - 40 column           </DESCRIPTION>
  <AUTHOR>       Microsoft Corporation      </AUTHOR>
  <VERSION>      Version 1.06                  </VERSION>
 </PROPERTIES>
 <!--
   ===========================
   Attributes
   ===========================
-->
 <SET name="ReceiptCount" custom="true" description="Receipt Count" type="vbLong">  1  </SET>
 <SET name="PaperWidth" custom="true" description="Paper Width" type="vbdouble">5.5</SET>
 <SET name="PaperHeight" custom="true" description="Paper Height" type="vbdouble">   11.00 </SET>
 <SET name="MarginLeft" custom="true" description="Margin Left" type="vbdouble">.2</SET>
 <SET name="MarginRight" custom="true" description="Margin Right" type="vbdouble">    0    </SET>
 <SET name="MarginTop" custom="true" description="Margin Top" type="vbdouble">    0    </SET>
 <SET name="MarginBottom" custom="true" description="Margin Bottom" type="vbdouble">    0    </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="ShowHeaderLogo" custom="true" description="Show Header Logo" type="vbBoolean">False</SET>
 <SET name="ShowFooterLogo" custom="true" description="Show Footer Logo" type="vbBoolean">  False </SET>
 <SET name="ShowStoreInfo" custom="true" description="Show Store Name/Address" type="vbBoolean">True</SET>
 <SET name="ShowCustomerAddress" custom="true" description="Show Customer Address" type="vbBoolean">False</SET>
 <SET name="ShowTotalDiscounts" custom="true" description="Show Total Discounts" type="vbBoolean">  True  </SET>
 <SET name="ShowLineDiscounts" custom="true" description="Show Line Discounts" type="vbBoolean">  True  </SET>
 <SET name="ShowTaxDetails" custom="true" description="Show Tax Details" type="vbBoolean">  True  </SET>
 <SET name="ShowVAT" custom="true" description="Show VAT" type="vbBoolean">  True  </SET>
 <SET name="ShowFullVAT" custom="true" description="Show Full VAT" type="vbBoolean">  True  </SET>
 <SET name="ShowAccountBalance" custom="true" description="Show Customer Account Balances" type="vbBoolean">  True  </SET>
 <SET name="ShowCCSignature" custom="true" description="Show C.C. Signature" type="vbBoolean">FALSE</SET>
 <SET name="CCPaperCutPercent" custom="true" description="CC Paper Cut Percent (OPOS)" type="vbLong">    75 </SET>
 <SET name="ShowBarcode" custom="true" description="Show Barcode" type="vbBoolean">FALSE</SET>
 <SET name="ShowDuplicateBefore" custom="true" description="Show Duplicate At Top" type="vbBoolean">TRUE</SET>
 <SET name="ShowDuplicateAfter" custom="true" description="Show Duplicate At Bottom" type="vbBoolean">FALSE</SET>
 <SET name="FooterLine1" custom="true" description="Footer Line 1" type="vbString">"PRICES INCLUSIVE OF VAT WHERE APPLICABLE"</SET>
 <SET name="FooterLine2" custom="true" description="Footer Line 2" type="vbString">"GOODS ONCE SOLD ARE NOT RETURNABLE"</SET>
 <SET name="FooterLine3" custom="true" description="Footer Line 3" type="vbString">"THANK YOU!"</SET>
 <SET name="FooterLine4" custom="true" description="Footer Line 4" type="vbString"></SET>
 <SET name="FooterLine5" custom="true" description="Footer Line 5" type="vbString"></SET>
 <SET name="LogoHeader" custom="true" description="Logo Filename (Header)" type="vbString"></SET>
 <SET name="LogoFooter" custom="true" description="Logo Filename (Footer)" type="vbString"></SET>
 <SET name="VariableA" custom="false" description="VariableA" type="vbcurrency"> 0 </SET>
 <SET name="VariableB" custom="false" description="VariableB" type="vbcurrency"> 0 </SET>
 <!--
   ===========================
   Variable Declarations
   ===========================
-->
 <SET name="PageWidth" type="vbdouble">  PaperWidth - MarginLeft - MarginRight  </SET>
 <SET name="PageHeight" type="vbdouble">  PaperHeight - MarginTop - MarginBottom </SET>
 <SET name="NewAccountBalance" type="vbcurrency">  0 </SET>
 <SET name="SigAmountOut" type="vbcurrency"> 0 </SET>
 <!--
   ===========================
   Page Settings
   ===========================
-->
 <OPOS>
  <CHARACTERSET>       CharacterSet    </CHARACTERSET>
  <PAPERCUTPERCENT>    PaperCutPercent </PAPERCUTPERCENT>
  <PRINTRECEIPT>       PrintReceipt    </PRINTRECEIPT>
  <PRINTJOURNAL>       PrintJournal    </PRINTJOURNAL>
  <PRINTSLIP>          PrintSlip       </PRINTSLIP>
 </OPOS>
 <MARGIN>
  <COPIES>             ReceiptCount    </COPIES>
  <TOP>                MarginTop       </TOP>
  <BOTTOM>             MarginBottom    </BOTTOM>
  <LEFT>               MarginLeft      </LEFT>
  <RIGHT>              MarginRight     </RIGHT>
  <ORIENTATION>        orPortrait      </ORIENTATION>
 </MARGIN>
 <!--
   ===========================
   Page Settings
   ===========================
-->
 <FONT name="">
  <NAME>"Calibri"</NAME>
  <SIZE>      9              </SIZE>
  <BOLD>      False          </BOLD>
  <UNDERLINE> False          </UNDERLINE>
  <ITALIC>    False          </ITALIC>
  <COLOR>     vbBlack        </COLOR>
  <CPL>       50             </CPL>
 </FONT>
 <FONT name="Small">
  <NAME>"Calibri"</NAME>
  <SIZE>9</SIZE>
  <BOLD>      False          </BOLD>
  <UNDERLINE> False          </UNDERLINE>
  <ITALIC>    False          </ITALIC>
  <COLOR>     vbBlack        </COLOR>
  <CPL>       50             </CPL>
 </FONT>
 <FONT name="Medium">
  <NAME>"Calibri"</NAME>
  <SIZE>9</SIZE>
  <BOLD>      False          </BOLD>
  <UNDERLINE> False          </UNDERLINE>
  <ITALIC>    False          </ITALIC>
  <COLOR>     vbBlack        </COLOR>
  <CPL>       550             </CPL>
 </FONT>
 <FONT name="Large">
  <NAME>"Calibri"</NAME>
  <SIZE>9</SIZE>
  <BOLD>      True           </BOLD>
  <UNDERLINE> False          </UNDERLINE>
  <ITALIC>    False          </ITALIC>
  <COLOR>     vbBlack        </COLOR>
  <REVERSE>   True           </REVERSE>
  <SCALEH>    2              </SCALEH>
  <CPL>       50             </CPL>
 </FONT>
 <!--
   =============================
   SUB: PrintHeader
   =============================
-->
 <SUB name="PrintHeader">
  <!-- Print Header Logo -->
  <IF>
   <CONDITION> ShowHeaderLogo </CONDITION>
   <THEN>
    <PICTURE>
     <FILENAME>  LogoHeader           </FILENAME>
     <WIDTH>     PageWidth            </WIDTH>
     <LEFT>      MarginLeft           </LEFT>
     <HEIGHT>    0                    </HEIGHT>
    </PICTURE>
   </THEN>
  </IF>
  <!-- Print Store Information -->
  <TABLE>
   <BORDER>    tbNone            </BORDER>
   <COLUMNHEADER>
    <ALIGNMENT> "^"            </ALIGNMENT>
    <WIDTH>     PageWidth      </WIDTH>
   </COLUMNHEADER>
   <IF>
    <CONDITION> ShowStoreInfo </CONDITION>
    <THEN>
     <ROW></ROW>
     <IF><CONDITION> Len(Store.Name)     </CONDITION>
      <THEN><ROW>    Store.Name        </ROW></THEN>
     </IF>
     <IF><CONDITION> Len(Store.Address1) </CONDITION>
      <THEN><ROW>    Store.Address1    </ROW>
       <ROW>    "P.O. Box : 2007 - Dar Es Salaam, Tanzania"    </ROW>
       <ROW>    "Tin No: 100-191-350 VRN: 10000218-R"    </ROW>
       <ROW>    Store.Phone       </ROW>
      </THEN>
     </IF>
    </THEN>
   </IF>
   <ROW>
   </ROW>
  </TABLE>
 </SUB>
 <!--
   =============================
   SUB: PrintFooter
   =============================
-->
 <SUB name="PrintFooter">
  <!-- Print Footer Lines -->
  <TABLE>
   <BORDER> tbNone   </BORDER>
   <COLUMNHEADER>
    <ALIGNMENT>    "^~"        </ALIGNMENT>
    <WIDTH>        PageWidth   </WIDTH>
    <IF>
     <CONDITION> Len(FooterLine1) </CONDITION>
     <THEN>
      <TEXT> FooterLine1 </TEXT>
     </THEN>
    </IF>
   </COLUMNHEADER>
   <IF>
    <CONDITION> Len(FooterLine2) </CONDITION>
    <THEN>
     <ROW> FooterLine2 </ROW>
    </THEN>
   </IF>
   <IF>
    <CONDITION> Len(FooterLine3) </CONDITION>
    <THEN>
     <ROW> FooterLine3 </ROW>
    </THEN>
   </IF>
   <IF>
    <CONDITION> Len(FooterLine4) </CONDITION>
    <THEN>
     <ROW> FooterLine4 </ROW>
    </THEN>
   </IF>
   <IF>
    <CONDITION> Len(FooterLine5) </CONDITION>
    <THEN>
     <ROW> FooterLine5 </ROW>
    </THEN>
   </IF>
  </TABLE>
  <!-- Print Footer Logo -->
  <IF>
   <CONDITION> ShowFooterLogo </CONDITION>
   <THEN>
    <PICTURE>
     <FILENAME>  LogoFooter           </FILENAME>
     <WIDTH>     PageWidth            </WIDTH>
     <LEFT>      MarginLeft           </LEFT>
     <HEIGHT>    0                    </HEIGHT>
    </PICTURE>
   </THEN>
  </IF>
 </SUB>
 <!--
   =============================
   SUB: PrintCreditCard
   =============================
-->
 <SUB name="PrintCreditCardSlip">
  <IF>
   <CONDITION> ShowCCSignature &amp; (Transaction.Type &lt;&gt; transactionAbortedTransaction) </CONDITION>
   <THEN>
    <FOR each="tender">
     <IF>
      <CONDITION> (Tender.AmountIn &lt;&gt; 0 | Tender.AmountOut &lt;&gt; 0) &amp; (Tender.Descriptor.RequireSig | Tender.Descriptor.TenderType = tenderCreditCard) </CONDITION>
      <THEN>
       <CALL>   "PrintHeader"     </CALL>
       <!-- show transaction date/time/number -->
       <TABLE>
        <BORDER> tbNone </BORDER>
        <FONT>   "Small"  </FONT>
        <COLUMNHEADER>
         <ALIGNMENT> "&lt;~"      </ALIGNMENT>
         <WIDTH>     PageWidth * 0.50 </WIDTH>
         <TEXT>      ""  </TEXT>
        </COLUMNHEADER>
        <COLUMNHEADER>
         <ALIGNMENT> "&lt;~"      </ALIGNMENT>
         <WIDTH>     PageWidth * 0.50 </WIDTH>
         <TEXT>      ""  </TEXT>
        </COLUMNHEADER>
        <IF>
         <CONDITION> Transaction.ReceiptReferenceNumber </CONDITION>
         <THEN>
          <ROW> Transaction.ReceiptReferenceNumberCaption ":|" Transaction.ReceiptReferenceNumber </ROW>
         </THEN>
        </IF>
        <ROW> Transaction.ReceiptTransactionNumberCaption ":|" Transaction.ReceiptTransactionNumber </ROW>
        <IF>
         <CONDITION> Len(Customer.AccountNumber) </CONDITION>
         <THEN>
          <!-- <ROW> "Account #:|" Customer.AccountNumber </ROW> -->
          <ROW> "Customer: " Customer.FirstName</ROW>
         </THEN>
        </IF>
        <ROW> "Date:   " Transaction.Date "|Time:  " Transaction.Time </ROW>
        <ROW> "Cashier:   " Cashier.Number "|Till #:   " Register.Number </ROW>
        <ROW/>
       </TABLE>
       <SET name="SigAmountOut" type="vbcurrency"> Tender.AmountOut * -1.0 </SET>
       <TABLE>
        <BORDER> tbNone   </BORDER>
        <FONT>   "Small"  </FONT>
        <COLUMNHEADER>
         <ALIGNMENT>    "&lt;~"     </ALIGNMENT>
         <WIDTH>        PageWidth   </WIDTH>
        </COLUMNHEADER>
        <ROW> Tender.Descriptor.Description "       " Tender.AccountNumberMasked </ROW>
        <IF><CONDITION> Tender.Descriptor.TenderType = tenderCreditCard </CONDITION>
         <THEN><ROW> "AUTH:  " Tender.ApprovalCode </ROW>
         </THEN>
        </IF>
        <IF><CONDITION> Tender.AmountOut &gt; Tender.AmountIn </CONDITION>
         <THEN>
          <ROW> "AMOUNT:  " SigAmountOut </ROW>
          <!-- Tender.AmountOut -->
         </THEN>
         <ELSE>
          <ROW> "AMOUNT:  " Tender.AmountIn </ROW>
         </ELSE>
        </IF>
        <ROW></ROW>
        <ROW></ROW>
        <ROW></ROW>
        <ROW></ROW>
        <ROW> "X__________________________________" </ROW>
        <ROW> "I AGREE TO PAY ABOVE TOTAL AMOUNT"   </ROW>
        <ROW> "ACCORDING TO CARD ISSUER AGREEMENT" </ROW>
        <ROW></ROW>
        <ROW></ROW>
       </TABLE>
       <CALL>   "PrintFooter"     </CALL>
       <NEWPAGE>
        <PAPERCUTPERCENT>    CCPaperCutPercent </PAPERCUTPERCENT>
       </NEWPAGE>
      </THEN>
     </IF>
    </FOR>
   </THEN>
  </IF>
 </SUB>
 <!--
   =============================
   SUB: PrintTransactionType
   =============================
-->
 <SUB name="PrintTransactionType">
  <TABLE>
   <FONT>   "Large" </FONT>
   <BORDER> tbAll </BORDER>
   <COLUMNHEADER>
    <ALIGNMENT> "^~"        </ALIGNMENT>
    <WIDTH>     PageWidth   </WIDTH>
    <!-- <TEXT> Transaction.ReceiptTransactionName </TEXT> -->
    <TEXT> "Tax Invoice / Cash Invoice" </TEXT>
   </COLUMNHEADER>
  </TABLE>
  <TABLE>
   <BORDER> tbNone </BORDER>
   <COLUMNHEADER>
    <ALIGNMENT> "&lt;~"      </ALIGNMENT>
    <WIDTH>     PageWidth * 0.50 </WIDTH>
    <TEXT>      ""  </TEXT>
   </COLUMNHEADER>
   <COLUMNHEADER>
    <ALIGNMENT> "&lt;~"      </ALIGNMENT>
    <WIDTH>     PageWidth * 0.50 </WIDTH>
    <TEXT>      ""  </TEXT>
   </COLUMNHEADER>
   <IF>
    <CONDITION> Transaction.ReceiptReferenceNumber </CONDITION>
    <THEN>
     <ROW> Transaction.ReceiptReferenceNumberCaption ":|" Transaction.ReceiptReferenceNumber </ROW>
    </THEN>
   </IF>
   <ROW> Transaction.ReceiptTransactionNumberCaption ":|" Transaction.ReceiptTransactionNumber </ROW>
   <IF>
    <CONDITION> Len(Customer.AccountNumber) </CONDITION>
    <THEN>
     <ROW> "Account #:|" Customer.AccountNumber </ROW>
     <ROW> "Customer: |" Customer.FirstName</ROW>
    </THEN>
   </IF>
   <ROW> "Date:   " Transaction.Date "|Time:  " Transaction.Time </ROW>
   <ROW> "Cashier:   " Cashier.Number "|Till #:   " Register.Number </ROW>
   <ROW/>
  </TABLE>
 </SUB>
 <!--
   =============================
   SUB: PrintCustomerData
   =============================
-->
 <SUB name="PrintCustomerData">
  <IF>
   <CONDITION> (Customer.ID &lt;&gt; 0) &amp; (ShowCustomerAddress) </CONDITION>
   <THEN>
    <TABLE>
     <BORDER> tbNone </BORDER>
     <COLUMNHEADER>
      <ALIGNMENT> "&lt;~"                 </ALIGNMENT>
      <WIDTH>     PageWidth * 0.30        </WIDTH>
      <TEXT>      "ACCOUNT:"              </TEXT>
     </COLUMNHEADER>
     <COLUMNHEADER>
      <ALIGNMENT> "&lt;"                  </ALIGNMENT>
      <WIDTH>     PageWidth * 0.70        </WIDTH>
      <TEXT>      Customer.AccountNumber  </TEXT>
     </COLUMNHEADER>
     <ROW>
      <COLUMNDATA>
       <TEXT> "BILL TO:" </TEXT>
      </COLUMNDATA>
      <COLUMNDATA>
       <TEXT skipblank="true" newline="true"> Customer.Name                          </TEXT>
       <TEXT skipblank="true" newline="true"> Customer.HomeAddress.Company           </TEXT>
       <TEXT skipblank="true" newline="true"> Customer.HomeAddress.StreetAddress     </TEXT>
       <TEXT skipblank="true" newline="true"> Customer.HomeAddress.StreetAddress2    </TEXT>
       <TEXT skipblank="true" newline="true"> Customer.HomeAddress.CityStateZip      </TEXT>
      </COLUMNDATA>
     </ROW>
     <ROW></ROW>
     <ROW>
      <COLUMNDATA>
       <TEXT> "SHIP TO:" </TEXT>
      </COLUMNDATA>
      <COLUMNDATA>
       <TEXT skipblank="true" newline="true"> Customer.ShipToAddress.Name            </TEXT>
       <TEXT skipblank="true" newline="true"> Customer.ShipToAddress.Company         </TEXT>
       <TEXT skipblank="true" newline="true"> Customer.ShipToAddress.StreetAddress   </TEXT>
       <TEXT skipblank="true" newline="true"> Customer.ShipToAddress.StreetAddress2  </TEXT>
       <TEXT skipblank="true" newline="true"> Customer.ShipToAddress.CityStateZip    </TEXT>
      </COLUMNDATA>
     </ROW>
    </TABLE>
   </THEN>
  </IF>
 </SUB>
 <!--
   =============================
   SUB: PrintTransactionComment
   =============================
-->
 <SUB name="PrintTransactionComment">
  <IF>
   <CONDITION> Transaction.Type &lt;&gt; transactionDrop &amp; Transaction.Type &lt;&gt; transactionPayOut </CONDITION>
   <THEN>
    <IF>
     <CONDITION> Len(Transaction.Comment) </CONDITION>
     <THEN>
      <TABLE>
       <BORDER>    tbNone      </BORDER>
       <COLUMNHEADER>
        <ALIGNMENT>    "^"         </ALIGNMENT>
        <WIDTH>        PageWidth   </WIDTH>
        <IF>
         <CONDITION> Len(Transaction.ReferenceNumber) </CONDITION>
         <THEN>
          <TEXT> "Reference: " Transaction.ReferenceNumber </TEXT>
         </THEN>
        </IF>
       </COLUMNHEADER>
       <ROW>
        <COLUMNDATA>
         <TEXT skipblank="true" newline="true"> Transaction.Comment </TEXT>
        </COLUMNDATA>
       </ROW>
       <ROW></ROW>
      </TABLE>
     </THEN>
    </IF>
   </THEN>
  </IF>
 </SUB>
 <!--
   =============================
   SUB: PrintDropPayOut
   =============================
-->
 <SUB name="PrintDropPayout">
  <IF>
   <CONDITION> Transaction.Type = transactionDrop | Transaction.Type = transactionPayOut </CONDITION>
   <THEN>
    <TABLE>
     <BORDER>    tbNone                  </BORDER>
     <COLUMNHEADER>
      <ALIGNMENT>    &lt;              </ALIGNMENT>
      <WIDTH>        PageWidth * 0.30  </WIDTH>
      <IF>
       <CONDITION> Transaction.Type = transactionPayout </CONDITION>
       <THEN>
        <TEXT newline="true"> "To:" </TEXT>
       </THEN>
      </IF>
      <TEXT newline="true"> "Comment:" </TEXT>
     </COLUMNHEADER>
     <COLUMNHEADER>
      <ALIGNMENT>    &lt;              </ALIGNMENT>
      <WIDTH>        PageWidth * 0.70  </WIDTH>
      <IF>
       <CONDITION> Transaction.Type = transactionPayout </CONDITION>
       <THEN>
        <TEXT newline="true"> Transaction.PayOutRecipient </TEXT>
       </THEN>
      </IF>
      <TEXT newline="true"> Transaction.Comment </TEXT>
     </COLUMNHEADER>
     <ROW></ROW>
    </TABLE>
    <TABLE>
     <BORDER>    tbTop                   </BORDER>
     <COLUMNHEADER>
      <ALIGNMENT>    "&lt;~"           </ALIGNMENT>
      <WIDTH>        PageWidth * 0.40  </WIDTH>
      <TEXT>         "Tender Type"     </TEXT>
     </COLUMNHEADER>
     <COLUMNHEADER>
      <ALIGNMENT>    "&gt;~"           </ALIGNMENT>
      <WIDTH>        PageWidth * 0.30  </WIDTH>
      <TEXT>         "In"              </TEXT>
     </COLUMNHEADER>
     <COLUMNHEADER>
      <ALIGNMENT>    "&gt;~"           </ALIGNMENT>
      <WIDTH>        PageWidth * 0.30  </WIDTH>
      <TEXT>         "Out"             </TEXT>
     </COLUMNHEADER>
     <FOR each="tender">
      <IF>
       <CONDITION> (Tender.AmountIn &lt;&gt; 0) | (Tender.AmountOut &lt;&gt; 0) </CONDITION>
       <THEN>
        <ROW>
                        Tender.Descriptor.Description "|" Tender.AmountIn "|" Tender.AmountOut
                     </ROW>
       </THEN>
      </IF>
     </FOR>
     <ROW></ROW>
    </TABLE>
   </THEN>
  </IF>
 </SUB>
 <SUB name="PrintAccountPayment">
  <!--
   =============================
   Account Payment
   =============================
-->
  <IF>
   <CONDITION> (Transaction.Type = transactionAccountPayment)  </CONDITION>
   <THEN>
    <!--
         Account Payment - Receivable date
-->
    <IF>
     <CONDITION> (Customer.AccountDateDueType = accountdueAccountReceivableDatePlusGracePeriod) </CONDITION>
     <THEN>
      <TABLE>
       <BORDER>    tbNone      </BORDER>
       <COLUMNHEADER>
        <ALIGNMENT>             "&lt;"            </ALIGNMENT>
        <WIDTH>                 PageWidth * .42   </WIDTH>
       </COLUMNHEADER>
       <COLUMNHEADER>
        <ALIGNMENT>             "&gt;"            </ALIGNMENT>
        <WIDTH>                 PageWidth * .29   </WIDTH>
       </COLUMNHEADER>
       <COLUMNHEADER>
        <ALIGNMENT>             "&gt;"            </ALIGNMENT>
        <WIDTH>                 PageWidth * .29   </WIDTH>
       </COLUMNHEADER>
       <FOR each="accountreceivable">
        <IF>
         <CONDITION> (Customer.AccountReceivable.Payment &lt;&gt; 0) | (Customer.AccountReceivable.Balance &lt;&gt; 0) </CONDITION>
         <THEN>
          <ROW> "  Payment||"      Customer.AccountReceivable.Payment          </ROW>
          <ROW> "  Reference|"   Customer.AccountReceivable.Reference          </ROW>
          <ROW> "  Inv. Date|"   Customer.AccountReceivable.OriginalDate       </ROW>
          <ROW> "  Due Date|"    Customer.AccountReceivable.DueDate            </ROW>
          <ROW> "  Orig. Amt.|"  Customer.AccountReceivable.OriginalAmount     </ROW>
          <ROW> "  Prev. Bal.|"  Customer.AccountReceivable.PreviousBalance    </ROW>
          <ROW> "  New Bal.|"    Customer.AccountReceivable.Balance            </ROW>
          <ROW>
          </ROW>
         </THEN>
        </IF>
       </FOR>
      </TABLE>
     </THEN>
    </IF>
    <TABLE>
     <BORDER>    tbNone      </BORDER>
     <COLUMNHEADER>
      <ALIGNMENT>             "&gt;~"           </ALIGNMENT>
      <WIDTH>                 PageWidth * .71   </WIDTH>
     </COLUMNHEADER>
     <COLUMNHEADER>
      <ALIGNMENT>             "&gt;~"            </ALIGNMENT>
      <WIDTH>                 PageWidth * .29   </WIDTH>
     </COLUMNHEADER>
     <ROW> "Total Payments|" Customer.AccountReceivables.TotalPayments  </ROW>
     <IF>
      <CONDITION> Customer.AccountReceivables.AppliedCredits &lt;&gt; 0  </CONDITION>
      <THEN>
       <ROW> "Applied Credit|" Customer.AccountReceivables.AppliedCredits </ROW>
      </THEN>
     </IF>
     <FOR each="tender">
      <IF>
       <CONDITION> Tender.AmountIn &lt;&gt; 0 </CONDITION>
       <THEN>
        <ROW> "PAID " Tender.Descriptor.Description "|" Tender.AmountIn   </ROW>
       </THEN>
      </IF>
      <IF>
       <CONDITION> Tender.AmountInRounding &lt;&gt; 0 </CONDITION>
       <THEN>
        <ROW> "Rounding " Tender.Descriptor.Description "|" Tender.AmountInRounding   </ROW>
       </THEN>
      </IF>
     </FOR>
     <FOR each="tender">
      <IF>
       <CONDITION> Tender.AmountOut &lt;&gt; 0 </CONDITION>
       <THEN>
        <ROW> "CHANGE " Tender.Descriptor.Description "|" Tender.AmountOut  </ROW>
       </THEN>
      </IF>
      <IF>
       <CONDITION> Tender.AmountOutRounding &lt;&gt; 0 </CONDITION>
       <THEN>
        <ROW> "Rounding " Tender.Descriptor.Description "|" Tender.AmountOutRounding   </ROW>
       </THEN>
      </IF>
     </FOR>
     <ROW></ROW>
    </TABLE>
   </THEN>
  </IF>
 </SUB>
 <SUB name="PrintTransactionDetails">
  <!--
   =============================
   Transaction Details
   =============================
-->
  <IF>
   <CONDITION> Transaction.Type &lt;&gt; transactionDrop &amp; Transaction.Type &lt;&gt; transactionPayout &amp;  Transaction.Type &lt;&gt; transactionNoSale &amp; Transaction.Type &lt;&gt; transactionAccountPayment </CONDITION>
   <THEN>
    <TABLE>
     <FONT>      "Small"     </FONT>
     <BORDER>    tbNone      </BORDER>
     <COLUMNHEADER>
      <ALIGNMENT>    "&lt;~"           </ALIGNMENT>
      <WIDTH>        PageWidth * 0.51  </WIDTH>
      <TEXT>         "Item"            </TEXT>
     </COLUMNHEADER>
     <COLUMNHEADER>
      <ALIGNMENT>    "&gt;~"           </ALIGNMENT>
      <WIDTH>        PageWidth * 0.12  </WIDTH>
      <TEXT>         "Qty"     </TEXT>
     </COLUMNHEADER>
     <COLUMNHEADER>
      <ALIGNMENT>    "&lt;~"           </ALIGNMENT>
      <WIDTH>        PageWidth * 0.08  </WIDTH>
      <TEXT>         "TC"          </TEXT>
     </COLUMNHEADER>
     <COLUMNHEADER>
      <ALIGNMENT>    "&gt;~"           </ALIGNMENT>
      <WIDTH>        PageWidth * 0.29  </WIDTH>
      <TEXT>         "Amount"          </TEXT>
     </COLUMNHEADER>
     <ROW> "==============================|=========================|==|=================" </ROW>
     <FOR each="entry">
      <IF>
       <CONDITION> ShowLineDiscounts &amp; (Entry.ExtendedDiscountPurchased &lt;&gt; 0) </CONDITION>
       <THEN>
        <IF>
         <CONDITION> (Receipt.TaxSystem = taxsystemVAT) &amp; (Entry.Taxable = 0) </CONDITION>
         <THEN>
          <SET name="ExtendedExclsvPricePlusDiscount" type="vbcurrency">  Entry.ExtendedExclsvPrice + Entry.ExtendedDiscountPurchased </SET>
          <ROW> Entry.Description </ROW>
          <ROW> Entry.Item.ItemLookupCode "|" Entry.Quantity "|" Entry.Item.SubDescription3 "|" ExtendedExclsvPricePlusDiscount    </ROW>
          <!-- <ROW> Entry.Item.ItemLookupCode "|" Entry.Description "|" ExtendedExclsvPricePlusDiscount         </ROW> -->
         </THEN>
         <ELSE>
          <ROW> Entry.Description </ROW>
          <ROW> Entry.Item.ItemLookupCode "|" Entry.Quantity "|" Entry.Item.SubDescription3  "|" Entry.ExtendedFullPrice       </ROW>
          <!-- <ROW> Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.ExtendedFullPrice         </ROW> -->
         </ELSE>
        </IF>
        <IF>
         <CONDITION> Entry.ExtendedDiscountNegative &lt;&gt; 0 </CONDITION>
         <THEN>
          <ROW> "                      ( Discount )|||" Entry.ExtendedDiscountNegative  </ROW>
         </THEN>
        </IF>
       </THEN>
       <ELSE>
        <IF>
         <CONDITION> (Receipt.TaxSystem = taxsystemVAT) &amp; (Entry.Taxable = 0) </CONDITION>
         <THEN>
          <ROW> Entry.Description </ROW>
          <ROW> Entry.Item.ItemLookupCode "|" Entry.Quantity "|B|" Entry.ExtendedExclsvPrice          </ROW>
          <!-- <ROW> Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.ExtendedExclsvPrice         </ROW>  -->
         </THEN>
         <ELSE>
          <ROW> Entry.Description </ROW>
          <ROW> Entry.Item.ItemLookupCode "|" Entry.Quantity "|A|"  Entry.ExtendedPrice        </ROW>
          <!-- <ROW> Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.ExtendedPrice         </ROW> -->
         </ELSE>
        </IF>
       </ELSE>
      </IF>
      <IF>
       <CONDITION> Entry.Item.ItemType = itemtypeWeighed </CONDITION>
       <THEN>
        <ROW>  "( "Entry.Quantity "" Entry.Item.UnitOfMeasure " @ " Entry.Price "/" Entry.Item.UnitOfMeasure "| )"    </ROW>
        <IF>
         <CONDITION> Entry.WeightFromScale = 0 </CONDITION>
         <THEN>
          <ROW> "|Manual Weight|"    </ROW>
         </THEN>
        </IF>
       </THEN>
       <ELSE>
        <IF>
         <CONDITION> Entry.Quantity &lt;&gt; 1 </CONDITION>
         <THEN>
          <ROW> "( "Entry.Quantity " @ " Entry.Price " )|"                            </ROW>
         </THEN>
        </IF>
       </ELSE>
      </IF>
      <IF>
       <CONDITION> ((Entry.QuantityOnOrder &lt;&gt; 0) | (Entry.QuantityRTD &lt;&gt; 0)) &amp; (Transaction.Type &lt;&gt; transactionQuote) </CONDITION>
       <THEN>
        <ROW> "|RTD:|"        Entry.QuantityRTD       "   "                                 </ROW>
        <ROW> "|On Order:|"   Entry.QuantityOnOrder   "   "                                 </ROW>
        <ROW> "|Picked up:|"  Entry.QuantityPurchased "   "                                 </ROW>
        <ROW> "||"                                                                          </ROW>
       </THEN>
      </IF>
     </FOR>
    </TABLE>
   </THEN>
  </IF>
 </SUB>
 <SUB name="PrintTransactionTotals">
  <!--
   =============================
   Transaction Totals
   =============================
-->
  <IF>
   <CONDITION> Transaction.Type &lt;&gt; transactionDrop &amp; Transaction.Type &lt;&gt; transactionPayout &amp;  Transaction.Type &lt;&gt; transactionNoSale &amp; Transaction.Type &lt;&gt; transactionAccountPayment </CONDITION>
   <THEN>
    <IF>
     <CONDITION> Transaction.Type &lt;&gt; transactionAbortedTransaction </CONDITION>
     <THEN>
      <TABLE>
       <FONT>      "Large"     </FONT>
       <BORDER>    tbNone      </BORDER>
       <COLUMNHEADER>
        <ALIGNMENT> "&gt;~"              </ALIGNMENT>
        <WIDTH>     PageWidth * 0.71     </WIDTH>
       </COLUMNHEADER>
       <COLUMNHEADER>
        <ALIGNMENT> "&gt;~"              </ALIGNMENT>
        <WIDTH>     PageWidth * 0.29     </WIDTH>
        <TEXT>      "==================" </TEXT>
       </COLUMNHEADER>
       <!-- <ROW> "SUB TOTAL|" Transaction.SubTotal   </ROW> -->
       <IF>
        <CONDITION>  ShowTaxDetails  </CONDITION>
        <THEN>
         <FOR each="SalesTaxes">
          <IF>
           <CONDITION> Transaction.SalesTaxes.ShowOnReceipt &amp; Transaction.SalesTaxes.IsTransactionMember </CONDITION>
           <THEN>
            <!-- <ROW> "VAT|" Transaction.SalesTaxes.Total  </ROW> -->
           </THEN>
          </IF>
         </FOR>
        </THEN>
        <ELSE>
         <!-- <ROW> "VAT|" Transaction.SalesTax   </ROW> -->
        </ELSE>
       </IF>
       <IF>
        <CONDITION> Shipping.Charge   </CONDITION>
        <THEN>
         <ROW> Shipping.Carrier "|" Shipping.Charge   </ROW>
         <ROW> Shipping.Service "|"                   </ROW>
         <ROW> Shipping.TrackingNumber "|"            </ROW>
        </THEN>
       </IF>
       <IF>
        <CONDITION> Transaction.DebitSurcharge </CONDITION>
        <THEN>
         <ROW> "Debit Surcharges|" Transaction.DebitSurcharge </ROW>
        </THEN>
       </IF>
       <IF>
        <CONDITION> Transaction.CashBackSurcharge </CONDITION>
        <THEN>
         <ROW> "Cash Back Surcharges|" Transaction.CashBackSurcharge </ROW>
        </THEN>
       </IF>
       <ROW> "TOTAL|" Transaction.Total </ROW>
       <ROW>  "[ "Transaction.TotalQuantity " ]          TOTAL Quantity                    " </ROW>
       <ROW> "--------------------------------------|--------------" </ROW>
       <IF>
        <CONDITION> (Transaction.TotalDue &lt;&gt; Transaction.Total) </CONDITION>
        <THEN>
         <ROW> "Deposit Payment|" Transaction.Deposit </ROW>
         <ROW> "Total Purchased|" Transaction.TotalPurchased </ROW>
         <ROW> "Total Due|" Transaction.TotalDue </ROW>
         <ROW></ROW>
        </THEN>
       </IF>
       <FOR each="tender">
        <IF>
         <CONDITION> Tender.AmountIn &lt;&gt; 0 | Tender.AmountInRounding &lt;&gt; 0 </CONDITION>
         <THEN>
          <IF>
           <CONDITION> Tender.Descriptor.TenderType = tenderAccount </CONDITION>
           <THEN>
            <ROW> Tender.Descriptor.Description "|" Tender.AmountIn </ROW>
           </THEN>
           <ELSE>
            <ROW> Tender.Descriptor.Description " Tendered|" Tender.AmountIn </ROW>
           </ELSE>
          </IF>
          <IF>
           <CONDITION> Tender.Descriptor.TenderType = tenderCreditCard | Tender.Descriptor.TenderType = tenderDebitCard </CONDITION>
           <THEN>
            <ROW> "Card: " Tender.AccountNumberMasked "|" </ROW>
            <!-- <ROW> "Auth: " Tender.ApprovalCode "|" </ROW> -->
           </THEN>
          </IF>
          <IF>
           <CONDITION> Tender.Descriptor.TenderType = tenderVoucher </CONDITION>
           <THEN>
            <ROW> "Number:" Tender.VoucherNumber "|" </ROW>
           <!-- <ROW> "Previous Balance|" Tender.VoucherPreviousBalance </ROW>
            <ROW> "New Balance|" Tender.VoucherNewBalance </ROW> -->
            <ROW></ROW>
           </THEN>
          </IF>
          <IF>
           <CONDITION> (Tender.Descriptor.TenderType = tenderAccount) &amp; ShowAccountBalance </CONDITION>
           <THEN>
           <!-- <SET name="NewAccountBalance" type="vbcurrency">  Customer.AccountBalance + Tender.AmountIn - Tender.AmountOut </SET>
            <ROW> "Previous Balance|" Customer.AccountBalance </ROW>
            <ROW> "New Balance|" NewAccountBalance </ROW> -->
            <ROW></ROW>
           </THEN>
          </IF>
          <IF>
           <CONDITION> Tender.AmountInRounding &lt;&gt; 0 </CONDITION>
           <THEN>
            <ROW> "Roundoff " Tender.Descriptor.Description "|" Tender.AmountInRounding </ROW>
           </THEN>
          </IF>
         </THEN>
        </IF>
       </FOR>
       <IF>
        <CONDITION> Transaction.TotalTenderOut </CONDITION>
        <THEN>
         <FOR each="tender">
          <IF>
           <CONDITION> Tender.AmountOut &lt;&gt; 0 | Tender.AmountOutRounding &lt;&gt; 0 </CONDITION>
           <THEN>
            <ROW> "Change " Tender.Descriptor.Description "|" Tender.AmountOut </ROW>
            <IF>
             <CONDITION> Tender.Descriptor.TenderType = tenderCreditCard  | Tender.Descriptor.TenderType = tenderDebitCard </CONDITION>
             <THEN>
              <ROW> "Card: " Tender.AccountNumberMasked "|" </ROW>
              <!-- <ROW> "Auth: " Tender.ApprovalCode "|" </ROW> -->
             </THEN>
            </IF>
            <IF>
             <CONDITION> (Tender.Descriptor.TenderType = tenderAccount) &amp; ShowAccountBalance </CONDITION>
             <THEN>
              <SET name="NewAccountBalance" type="vbcurrency">  Customer.AccountBalance + Tender.AmountIn - Tender.AmountOut </SET>
              <ROW> "Previous Balance|" Customer.AccountBalance </ROW>
              <ROW> "New Balance|" NewAccountBalance </ROW>
              <ROW></ROW>
             </THEN>
            </IF>
            <IF>
             <CONDITION> Tender.AmountOutRounding &lt;&gt; 0 </CONDITION>
             <THEN>
              <ROW> "Roundoff " Tender.Descriptor.Description "|" Tender.AmountOutRounding </ROW>
             </THEN>
            </IF>
           </THEN>
          </IF>
         </FOR>
        </THEN>
        <ELSE>
         <ROW> "Change Due|" Transaction.TotalTenderOut </ROW>
        </ELSE>
       </IF>
       <IF>
        <CONDITION> (Transaction.TotalDue &lt;&gt; Transaction.Total) </CONDITION>
        <THEN>
         <ROW></ROW>
         <ROW> "Remaining Deposit|" Transaction.DepositTotal </ROW>
         <ROW> "New Balance|" Transaction.OrderBalanceNew </ROW>
        </THEN>
       </IF>
       <ROW></ROW>
      </TABLE>
     </THEN>
     <ELSE>
      <TABLE>
       <FONT>      "Small"     </FONT>
       <BORDER>    tbNone      </BORDER>
       <COLUMNHEADER>
        <ALIGNMENT> "&lt;~"       </ALIGNMENT>
        <WIDTH>     PageWidth     </WIDTH>
       </COLUMNHEADER>
       <ROW></ROW>
       <ROW> "Transaction cancelled..." </ROW>
      </TABLE>
     </ELSE>
    </IF>
   </THEN>
  </IF>
 </SUB>
 <SUB name="PrintVATAnalysis">
  <!--
   =============================
   VAT Analysis
   =============================
-->
  <IF>
   <CONDITION> (Transaction.Type &lt;&gt; transactionAbortedTransaction) &amp; (Transaction.SubtotalPurchased &lt;&gt; 0) &amp; (ShowVAT) &amp; (Receipt.TaxSystem = taxsystemVAT) </CONDITION>
   <THEN>
    <IF>
     <CONDITION> ShowFullVAT </CONDITION>
     <THEN>
      <TABLE>
       <BORDER> tbNone </BORDER>
       <COLUMNHEADER>
        <ALIGNMENT>    "^~"        </ALIGNMENT>
        <WIDTH>        PageWidth   </WIDTH>
       </COLUMNHEADER>
      </TABLE>
     </THEN>
    </IF>
    <IF>
     <CONDITION> ShowFullVAT </CONDITION>
     <THEN>
      <TABLE>
       <BORDER> tbTop    </BORDER>
       <FONT>   "Small"  </FONT>
       <COLUMNHEADER>
        <ALIGNMENT>    "&lt;~"              </ALIGNMENT>
        <WIDTH>        PageWidth * 0.15     </WIDTH>
        <TEXT>         "CODE"              </TEXT>
       </COLUMNHEADER>
       <COLUMNHEADER>
        <ALIGNMENT>    "&lt;~"              </ALIGNMENT>
        <WIDTH>        PageWidth * 0.25     </WIDTH>
        <TEXT>         "RATE"              </TEXT>
       </COLUMNHEADER>
       <COLUMNHEADER>
        <ALIGNMENT>    "&gt;~"              </ALIGNMENT>
        <WIDTH>        PageWidth * 0.30     </WIDTH>
        <TEXT>         "VATABLE AMT"          </TEXT>
       </COLUMNHEADER>
       <COLUMNHEADER>
        <ALIGNMENT>    "&gt;~"              </ALIGNMENT>
        <WIDTH>        PageWidth * 0.30     </WIDTH>
        <TEXT>         "VAT AMT"                </TEXT>
       </COLUMNHEADER>
       <FOR each="entry">
        <IF>
         <CONDITION> Entry.Taxable </CONDITION>
         <THEN>
          <SET name="VariableA" custom="false" description="VariableA" type="vbcurrency"> VariableA + Entry.ExtendedExclsvPricePurchased </SET>
         </THEN>
         <ELSE>
          <SET name="VariableB" custom="false" description="VariableB" type="vbcurrency"> VariableB +  Entry.ExtendedExclsvPricePurchased </SET>
         </ELSE>
        </IF>
       </FOR>
       <IF>
        <CONDITION>  (VariableA &lt;&gt; 0) </CONDITION>
        <THEN>
         <ROW> "A| 18.00% |" VariableA "|" Transaction.SalesTaxPurchased  </ROW>
        </THEN>
       </IF>
       <IF>
        <CONDITION>  (VariableB &lt;&gt; 0) </CONDITION>
        <THEN>
         <ROW> "E| 0.00% |" VariableB "|" 0.00  </ROW>
        </THEN>
       </IF>
      </TABLE>
     </THEN>
     <ELSE>
      <TABLE>
       <BORDER> tbNone    </BORDER>
       <COLUMNHEADER>
        <ALIGNMENT>    "&gt;~"              </ALIGNMENT>
        <WIDTH>        PageWidth            </WIDTH>
        <TEXT>         "VAT Total: " Transaction.SalesTaxPurchased </TEXT>
       </COLUMNHEADER>
      </TABLE>
     </ELSE>
    </IF>
    <TABLE>
     <BORDER> tbNone </BORDER>
     <COLUMNHEADER>
      <ALIGNMENT>    "^~"        </ALIGNMENT>
      <WIDTH>        PageWidth   </WIDTH>
     </COLUMNHEADER>
     <ROW> "-------------------------------------------------------------------------" </ROW>
     <ROW>
     </ROW>
    </TABLE>
   </THEN>
  </IF>
 </SUB>
 <SUB name="PrintDiscounts">
  <!--
   =============================
   Discounts
   =============================
-->
  <IF>
   <CONDITION> ShowTotalDiscounts &amp; ((Transaction.Discount &gt; 0) &amp; (Transaction.Type &lt;&gt; transactionAbortedTransaction)) </CONDITION>
   <THEN>
    <TABLE>
     <BORDER> tbNone   </BORDER>
     <FONT>   "Large"  </FONT>
     <COLUMNHEADER>
      <ALIGNMENT>    "^~"     </ALIGNMENT>
      <WIDTH>        PageWidth   </WIDTH>
      <TEXT>         "You saved " Transaction.Discount "!" </TEXT>
     </COLUMNHEADER>
     <ROW></ROW>
    </TABLE>
   </THEN>
  </IF>
 </SUB>
 <SUB name="PrintBarcode">
  <!--
   =============================
   Barcode
   =============================
-->
  <IF>
   <CONDITION> ShowBarcode &amp; (Transaction.ReceiptTransactionNumber &lt;&gt; 0) </CONDITION>
   <THEN>
    <BARCODE>
     <STYLE>        msS3of9              </STYLE>
     <UPCNOTCHES>   msUPCNBelow          </UPCNOTCHES>
     <LEFT>         MarginLeft + PageWidth * 0.30           </LEFT>
     <WIDTH>        PageWidth * .40      </WIDTH>
     <HEIGHT>       0.2                  </HEIGHT>
     <PRINTCAPTION> True                 </PRINTCAPTION>
     <BARWIDTH>     0                    </BARWIDTH>
     <TEXT>         Transaction.ReceiptTransactionNumber </TEXT>
    </BARCODE>
   </THEN>
  </IF>
 </SUB>
 <SUB name="PrintDuplicate">
  <!--
   =============================
   PrintDuplicate
   =============================
-->
  <TABLE>
   <BORDER> tbNone   </BORDER>
   <FONT>   "Large"  </FONT>
   <COLUMNHEADER>
    <ALIGNMENT>    "^~"     </ALIGNMENT>
    <WIDTH>        PageWidth   </WIDTH>
    <TEXT>         "DUPLICATE RECEIPT" </TEXT>
   </COLUMNHEADER>
  </TABLE>
 </SUB>
 <SUB name="DuplicateBefore">
  <!--
   =============================
   DuplicateBefore
   =============================
-->
  <IF>
   <CONDITION> ShowDuplicateBefore </CONDITION>
   <THEN>
    <CALL> "PrintDuplicate" </CALL>
   </THEN>
  </IF>
 </SUB>
 <SUB name="DuplicateAfter">
  <!--
   =============================
   DuplicateAfter
   =============================
-->
  <IF>
   <CONDITION> ShowDuplicateAfter </CONDITION>
   <THEN>
    <CALL> "PrintDuplicate" </CALL>
   </THEN>
  </IF>
 </SUB>
 <!--
   =============================
   MAIN DOCUMENT
   =============================
-->
 <DOCUMENT>
  <CALL>   "PrintCreditCardSlip"      </CALL>
  <CALL>   "PrintHeader"              </CALL>
  <CALL>   "PrintTransactionType"     </CALL>
  <CALL>   "PrintCustomerData"        </CALL>
  <CALL>   "PrintTransactionComment"  </CALL>
  <CALL>   "PrintDropPayout"          </CALL>
  <CALL>   "PrintAccountPayment"      </CALL>
  <CALL>   "PrintTransactionDetails"  </CALL>
  <CALL>   "PrintTransactionTotals"   </CALL>
  <CALL>   "PrintVATAnalysis"         </CALL>
  <CALL>   "PrintDiscounts"           </CALL>
  <CALL>   "PrintBarcode"             </CALL>
  <CALL>   "PrintFooter"              </CALL>
 </DOCUMENT>
</XML>

Thanks in  advance.

Upendra Nath M.

Default discount "From Retail Price"

$
0
0

HI All,

At present when we click on the discount button on POS it opens up a screen which defaults to "Discount from minimum price" 

I would like the default to be "from retail price"  Has anyone an idea if it is possible to change that setting. Registry entry?  config file?

I don't want to set up a macro as it needs to be the default.

Shane

RE: How to display Reason codes in Receipt

$
0
0

Hi Joie,

Use this:

<IF>

<CONDITION> Entry.ExtendedDiscountNegative <> 0 </CONDITION>

<THEN>

<!--<ROW> "                      ( Discount )|||" Entry.ExtendedDiscountNegative  </ROW>-->

<ROW> Entry.ReasonDiscount.Description  "|||" Entry.ExtendedDiscountNegative  </ROW>

</THEN>

</IF>

How to display Reason codes in Receipt

$
0
0

 Dear Everyone.

 My RMS is Store Operations 2.0

Is there a way to print the current reason code / description used when making payment.

I tried the following but does not work

Transaction.ReasonCode

Transaction.ReasonCodes

Transaction.ReasonCode.Description

 

the following loop variable doesnot work either

reasoncode

reasoncodes

rc

 

please help

reason code is useful when tracking payment since comment field is free text

 

rgds,

Joie

RE: License Key reverted to Trial Status

$
0
0

North America product activation by telephone is 888 652 2342

Viewing all 4469 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>