UHF - Header

SBX - Search With Button

SBX - Forum Post Title

Problem is Transaction Entry Comment, Department & Category in side POS Receipts

Microsoft Dynamics RMS Forum

Fareed Ahmed asked a question on 12 Nov 2013 4:28 AM

Problem is Transaction Entry Comment, Department & Category in side POS Receipts

Suggested Answer

Hi, I have tried a lot

1. I have enabled "Enable the record item comments option in SO configuration"

2. I have added <ROW> Entry.Comment  </ROW>

But the Comments are not printed in the Receipt.

Would you please help me what else I have to do.

THIS IS AN URGENT ISSUE SO PLEASE HELP ME

Reply
Antonijo Todorovikj Dimishkov responded on 12 Nov 2013 5:31 AM
My Badges

Problem is Transaction Entry Comment, Department & Category in side POS Receipts

Suggested Answer

Hi there.

OK, I supose You are talking about the option of comment per Item (as you are mentioning Entry.Comment), means using the Ctrl+F10 standard POS option - adding comment in the moment of sale.

It could be that You are adding the <ROW> on incorrect place, as there are, at least in the standard receipt (receipt.xml), several possibilitites in the recipt design where the item line can be shown.

To avoid white lines (when sale Item is not commented), I would put this following code into the "PrintTransactionDetails" sub-function:

<IF>

       <CONDITION> Entry.Comment </CONDITION>

       <THEN>

                       <ROW> Entry.Comment "||" </ROW>

        </THEN>

</IF>

If You have problems, just mail me your recepit in XML file and I'll add this for You...

Kind regards, A.

Reply
Fareed Ahmed responded on 14 Nov 2013 10:51 AM

Problem is Transaction Entry Comment, Department & Category in side POS Receipts

Unanswered

Many thanks for your prompt reply. Its highly appreciated. Actually I tried to reply you but was in one of our showroom where we don't have internet.

The details of issue and problem is

1. We need to put the Department and Category inside the Cash Receipt. I could not find any facility inside RMS to Print Departments and Categories (In sales receipts).

2. I have updated the Trigger (tr_TransactionEntryComputedQuantity)  to store Department and Category name inside the TransactionEntry Table which is working very fine (I have tested with  by making Test POS Transactions in 1 of our showrooms)

3. I have updated Receipt Template with <ROW> Entry.Comment  </ROW> in side Transaction Details Section under For Each Entry

Everything is working fine except The Comments are not coming in receipts.

I will be thankful for you further support

Reply
Antonijo Todorovikj Dimishkov responded on 14 Nov 2013 2:21 PM
My Badges

Problem is Transaction Entry Comment, Department & Category in side POS Receipts

Suggested Answer

Hi Fareed,

It's too late now to see it, it's midnight overhere... Can You please mail me the reciept and I will check it out for You tomorrow. Send it to antonijo_todorovik@hotmail.com.

Kind regards, A.

Reply
Fareed Ahmed responded on 16 Nov 2013 1:53 AM

Problem is Transaction Entry Comment, Department & Category in side POS Receipts

Unanswered

Hi there,

Good Afternoon I just saw your email. I am pasting the XML code below because it will be blocked in email.

===================================================

<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">2</SET>

<SET name="PaperWidth" custom="true" description="Paper Width" type="vbdouble">2.45</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">FALSE</SET>

<SET name="ShowVAT" custom="true" description="Show VAT" type="vbBoolean">FALSE</SET>

<SET name="ShowFullVAT" custom="true" description="Show Full VAT" type="vbBoolean">FALSE</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">  True  </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">  True  </SET>

<SET name="MaskCreditCard" custom="true" description="Mask Credit Card Number" type="vbBoolean">  True  </SET>

<SET name="FooterLine1" custom="true" description="Footer Line 1" type="vbString">"التبديل أو الرد إذا كانت القطعه بحاله جيده"</SET>

<SET name="FooterLine2" custom="true" description="Footer Line 2" type="vbString">"خلال 5 أيام من تاريخ الشراء بوجود فاتوره"</SET>

<SET name="FooterLine3" custom="true" description="Footer Line 3" type="vbString">"Exchange/refund of item in good"</SET>

<SET name="FooterLine4" custom="true" description="Footer Line 4" type="vbString">"condition allowed within 5 days"</SET>

<SET name="FooterLine5" custom="true" description="Footer Line 5" type="vbString">"from purchase if Invoice present"</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>

<!--

  ===========================

  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>"Arabic Transparent"</NAME>

<SIZE>10</SIZE>

<BOLD>True</BOLD>

<UNDERLINE> False          </UNDERLINE>

<ITALIC>    False          </ITALIC>

<COLOR>     vbBlack        </COLOR>

<CPL>       44             </CPL>

</FONT>

<FONT name="Small">

<NAME>      "Arial"        </NAME>

<SIZE>8.5</SIZE>

<BOLD>      False          </BOLD>

<UNDERLINE> False          </UNDERLINE>

<ITALIC>    False          </ITALIC>

<COLOR>     vbBlack        </COLOR>

<CPL>       44             </CPL>

</FONT>

<FONT name="Large">

<NAME>      "Arial"        </NAME>

<SIZE>      12             </SIZE>

<BOLD>      True           </BOLD>

<UNDERLINE> False          </UNDERLINE>

<ITALIC>    False          </ITALIC>

<COLOR>     vbBlack        </COLOR>

<REVERSE>   True           </REVERSE>

<SCALEH>    2              </SCALEH>

<CPL>       30             </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></THEN>

</IF>

<IF><CONDITION> Len(Store.Address2) </CONDITION>

<THEN><ROW>    Store.Address2    </ROW></THEN>

</IF>

<IF><CONDITION> Len(Store.CityStateZip)   </CONDITION>

<THEN><ROW>    Store.CityStateZip      </ROW></THEN>

</IF>

<IF><CONDITION> Len(Store.Phone)    </CONDITION>

<THEN><ROW>    Store.Phone       </ROW></THEN>

</IF>

<IF><CONDITION> Len(Store.Fax)      </CONDITION>

<THEN><ROW>    Store.Fax         </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 & (Transaction.Type <> transactionAbortedTransaction) </CONDITION>

<THEN>

<FOR each="tender">

<IF>

<CONDITION> (Tender.AmountIn <> 0 | Tender.AmountOut <> 0) & (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> "<~"      </ALIGNMENT>

<WIDTH>     PageWidth * 0.50 </WIDTH>

<TEXT>      "  </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT> "<~"      </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>

</THEN>

</IF>

<ROW> "Date:   " Transaction.Date "|Time:  " Transaction.Time </ROW>

<ROW> "Cashier:   " Cashier.Number "|Register #:   " Register.Number </ROW>

<ROW/>

</TABLE>

<SET name="SigAmountOut" type="vbcurrency"> Tender.AmountOut * -1.0 </SET>

<TABLE>

<BORDER> tbNone   </BORDER>

<FONT>   "Small"  </FONT>

<COLUMNHEADER>

<ALIGNMENT>    "<~"     </ALIGNMENT>

<WIDTH>        PageWidth   </WIDTH>

</COLUMNHEADER>

<IF>

<CONDITION> MaskCreditCard </CONDITION>

<THEN>

<ROW> Tender.Descriptor.Description "       " Tender.AccountNumberMasked </ROW>

</THEN>

<ELSE>

<ROW> Tender.Descriptor.Description "       " Tender.AccountNumber </ROW>

</ELSE>

</IF>

<IF><CONDITION> Tender.Descriptor.TenderType = tenderCreditCard </CONDITION>

<THEN><ROW> "AUTH:  " Tender.ApprovalCode </ROW>

</THEN>

</IF>

<IF><CONDITION> Tender.AmountOut > 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> "الفاتورة" </TEXT>

</COLUMNHEADER>

</TABLE>

<TABLE>

<COLUMNHEADER>

<ALIGNMENT> "^~"        </ALIGNMENT>

<WIDTH>     PageWidth   </WIDTH>

<TEXT> "Sales Receipt" </TEXT>

</COLUMNHEADER>

</TABLE>

<TABLE>

<BORDER> tbNone </BORDER>

<COLUMNHEADER>

<ALIGNMENT> "<~"      </ALIGNMENT>

<WIDTH>     PageWidth * 0.50 </WIDTH>

<TEXT>      "  </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT> "<~"      </ALIGNMENT>

<WIDTH>     PageWidth * 0.50 </WIDTH>

<TEXT>      "  </TEXT>

</COLUMNHEADER>

<IF>

<CONDITION> Transaction.ReceiptReferenceNumber </CONDITION>

<THEN>

<ROW> Transaction.ReceiptReferenceNumberCaption ":|" Transaction.ReceiptReferenceNumber </ROW>

</THEN>

</IF>

<ROW>  "Invoice الفاتورة #:|" Transaction.ReceiptTransactionNumber </ROW>

<IF>

<CONDITION> Len(Customer.AccountNumber) </CONDITION>

<THEN>

<ROW> "Account #:|" Customer.AccountNumber </ROW>

</THEN>

</IF>

<ROW>Transaction.Date "|"Transaction.Time </ROW>

<ROW>  "Cashier الكاشير:|" Cashier.Number   </ROW>

<ROW/>

</TABLE>

</SUB>

<!--

  =============================

  SUB: PrintCustomerData

  =============================

-->

<SUB name="PrintCustomerData">

<IF>

<CONDITION> (Customer.ID <> 0) & (ShowCustomerAddress) </CONDITION>

<THEN>

<TABLE>

<BORDER> tbNone </BORDER>

<COLUMNHEADER>

<ALIGNMENT> "<~"                 </ALIGNMENT>

<WIDTH>     PageWidth * 0.30        </WIDTH>

<TEXT>      "ACCOUNT:"              </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT> "<"                  </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 <> transactionDrop & Transaction.Type <> 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>    <              </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>    <              </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>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.40  </WIDTH>

<TEXT>         "Tender Type"     </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    ">~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.30  </WIDTH>

<TEXT>         "In"              </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    ">~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.30  </WIDTH>

<TEXT>         "Out"             </TEXT>

</COLUMNHEADER>

<FOR each="tender">

<IF>

<CONDITION> (Tender.AmountIn <> 0) | (Tender.AmountOut <> 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>             "<"            </ALIGNMENT>

<WIDTH>                 PageWidth * .42   </WIDTH>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>             ">"            </ALIGNMENT>

<WIDTH>                 PageWidth * .29   </WIDTH>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>             ">"            </ALIGNMENT>

<WIDTH>                 PageWidth * .29   </WIDTH>

</COLUMNHEADER>

<FOR each="accountreceivable">

<IF>

<CONDITION> (Customer.AccountReceivable.Payment <> 0) | (Customer.AccountReceivable.Balance <> 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>             ">~"           </ALIGNMENT>

<WIDTH>                 PageWidth * .71   </WIDTH>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>             ">~"            </ALIGNMENT>

<WIDTH>                 PageWidth * .29   </WIDTH>

</COLUMNHEADER>

<ROW> "Total Payments|" Customer.AccountReceivables.TotalPayments  </ROW>

<IF>

<CONDITION> Customer.AccountReceivables.AppliedCredits <> 0  </CONDITION>

<THEN>

<ROW> "Applied Credit|" Customer.AccountReceivables.AppliedCredits </ROW>

</THEN>

</IF>

<FOR each="tender">

<IF>

<CONDITION> Tender.AmountIn <> 0 </CONDITION>

<THEN>

<ROW> "PAID " Tender.Descriptor.Description "|" Tender.AmountIn   </ROW>

</THEN>

</IF>

<IF>

<CONDITION> Tender.AmountInRounding <> 0 </CONDITION>

<THEN>

<ROW> "Rounding " Tender.Descriptor.Description "|" Tender.AmountInRounding   </ROW>

</THEN>

</IF>

</FOR>

<FOR each="tender">

<IF>

<CONDITION> Tender.AmountOut <> 0 </CONDITION>

<THEN>

<ROW> "Remaining الباقي :- " Tender.Descriptor.Description "|" Tender.AmountOut  </ROW>

</THEN>

</IF>

<IF>

<CONDITION> Tender.AmountOutRounding <> 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 <> transactionDrop & Transaction.Type <> transactionPayout &  Transaction.Type <> transactionNoSale & Transaction.Type <> transactionAccountPayment </CONDITION>

<THEN>

<TABLE>

<FONT>      "Large"     </FONT>

<BORDER>    tbNone      </BORDER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.45  </WIDTH>

<TEXT>         "    الصنف"            </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.17  </WIDTH>

<TEXT>         "البائع"     </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.20  </WIDTH>

<TEXT>         "الكمية"     </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    ">~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.20  </WIDTH>

<TEXT>         "السعر"          </TEXT>

</COLUMNHEADER>

</TABLE>

<TABLE>

<FONT>      "Large"     </FONT>

<BORDER>    tbNone      </BORDER>

<ROW> "================|=========================|==== | =============" </ROW>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.45  </WIDTH>

<TEXT>         "    Item"            </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.19  </WIDTH>

<TEXT>         "Rep"     </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.17  </WIDTH>

<TEXT>         "Qty"   </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.25  </WIDTH>

<TEXT>         "Amnt"          </TEXT>

</COLUMNHEADER>

</TABLE>

<!--<ROW> "================|=========================|=================" </ROW>-->

<FOR each="entry">

<IF>

<CONDITION> ShowLineDiscounts & (Entry.ExtendedDiscountPurchased <> 0) </CONDITION>

<THEN>

<TABLE>

<FONT>      "Small"     </FONT>

<BORDER>    tbNone      </BORDER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.48  </WIDTH>

<TEXT> " THIS IF" </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.17  </WIDTH>

<TEXT>         Entry.Salesrep.Number        </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.14  </WIDTH>

<TEXT>         Entry.Quantity        </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.35  </WIDTH>

<TEXT>         Entry.ExtendedPrice          </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.35  </WIDTH>

</COLUMNHEADER>

</TABLE>

<!--

<ROW> Entry.Item.ItemLookupCode        </ROW>

<ROW> "|" Entry.Description "|" Entry.ExtendedPrice       </ROW>

-->

<IF>

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

<THEN>

<TABLE>

<FONT>      "Small"     </FONT>

<BORDER>    tbNone      </BORDER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.65 </WIDTH>

<TEXT>         Entry.Comment</TEXT>

</COLUMNHEADER>

<!--

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.20  </WIDTH>

<TEXT>         Entry.SalesRep.Number        </TEXT>

</COLUMNHEADER>

-->

</TABLE>

<TABLE>

<FONT>      "Small"     </FONT>

<BORDER>    tbNone      </BORDER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.65  </WIDTH>

</COLUMNHEADER>

</TABLE>

<TABLE>

<FONT>      "Small"     </FONT>

<BORDER>    tbNone      </BORDER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.13  </WIDTH>

<TEXT>

</TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.65  </WIDTH>

<TEXT>        "Discount الخصم :--"           </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.30  </WIDTH>

<TEXT>         Entry.ExtendedDiscountNegative           </TEXT>

</COLUMNHEADER>

</TABLE>

<!--

<ROW> "|Discount|" Entry.ExtendedDiscountNegative  </ROW>

-->

</THEN>

</IF>

</THEN>

<ELSE>

<TABLE>

<FONT>      "Small"     </FONT>

<BORDER>    tbNone      </BORDER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.48  </WIDTH>

<TEXT> Entry.Comment </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.17  </WIDTH>

<TEXT>         Entry.Salesrep.Number        </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.14  </WIDTH>

<TEXT>         Entry.Quantity        </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.35  </WIDTH>

<TEXT>         Entry.ExtendedPrice          </TEXT>

</COLUMNHEADER>

</TABLE>

<TABLE>

<FONT>      "Small"     </FONT>

<BORDER>    tbNone      </BORDER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.65  </WIDTH>

</COLUMNHEADER>

</TABLE>

<TABLE>

<FONT>      "Small"     </FONT>

<BORDER>    tbNone      </BORDER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.65  </WIDTH>

</COLUMNHEADER>

</TABLE>

<!--

<ROW> Entry.Item.ItemLookupCode        </ROW>

<ROW> "|" Entry.Description "|" Entry.ExtendedPrice       </ROW>

-->

</ELSE>

</IF>

<IF>

<CONDITION> Entry.Item.ItemType = itemtypeWeighed </CONDITION>

<THEN>

<TABLE>

<FONT>      "Small"     </FONT>

<BORDER>    tbNone      </BORDER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.15  </WIDTH>

<TEXT> </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.70  </WIDTH>

<TEXT>         Entry.Quantity " Entry.Item.UnitOfMeasure " @ rr" Entry.Price "/" Entry.Item.UnitOfMeasure        </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.20  </WIDTH>

<TEXT>

</TEXT>

</COLUMNHEADER>

</TABLE>

<!--

<ROW> "|" Entry.Quantity "" Entry.Item.UnitOfMeasure " @ " Entry.Price "/" Entry.Item.UnitOfMeasure "|"    </ROW>

-->

<IF>

<CONDITION> Entry.WeightFromScale = 0 </CONDITION>

<THEN>

<TABLE>

<FONT>      "Small"     </FONT>

<BORDER>    tbNone      </BORDER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.15  </WIDTH>

<TEXT>

</TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.70  </WIDTH>

<TEXT>         "Manual Weight"        </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.20  </WIDTH>

<TEXT>

</TEXT>

</COLUMNHEADER>

</TABLE>

<!--

<ROW> "|Manual Weight|"    </ROW>

-->

</THEN>

</IF>

</THEN>

<ELSE>

<IF>

<CONDITION> Entry.Quantity <> 1 </CONDITION>

<THEN>

<TABLE>

<FONT>      "Small"     </FONT>

<BORDER>    tbNone      </BORDER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.15  </WIDTH>

<TEXT>

</TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.70  </WIDTH>

<!-- <TEXT>        Entry.Quantity " @ " Entry.Price       </TEXT> -->

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.20  </WIDTH>

<TEXT>

</TEXT>

</COLUMNHEADER>

</TABLE>

<!--

<ROW> "|" Entry.Quantity " @ " Entry.Price "|"              </ROW>

-->

</THEN>

</IF>

</ELSE>

</IF>

<IF>

<CONDITION> ((Entry.QuantityOnOrder <> 0) | (Entry.QuantityRTD <> 0)) & (Transaction.Type <> transactionQuote) </CONDITION>

<THEN>

<TABLE>

<FONT>      "Small"     </FONT>

<BORDER>    tbNone      </BORDER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.15  </WIDTH>

<TEXT> "|RTD:|"        Entry.QuantityRTD       "   "                  </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.70  </WIDTH>

<TEXT>       "|On Order:|"   Entry.QuantityOnOrder   "   "      </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"           </ALIGNMENT>

<WIDTH>        PageWidth * 0.20  </WIDTH>

<TEXT> "|Picked up:|"  Entry.QuantityPurchased "   "                   </TEXT>

</COLUMNHEADER>

</TABLE>

<!--

<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 <> transactionDrop & Transaction.Type <> transactionPayout &  Transaction.Type <> transactionNoSale & Transaction.Type <> transactionAccountPayment </CONDITION>

<THEN>

<IF>

<CONDITION> Transaction.Type <> transactionAbortedTransaction </CONDITION>

<THEN>

<TABLE>

<FONT>      "Small"     </FONT>

<BORDER>    tbNone      </BORDER>

<COLUMNHEADER>

<ALIGNMENT> ">~"              </ALIGNMENT>

<WIDTH>     PageWidth * 0.71     </WIDTH>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT> ">~"              </ALIGNMENT>

<WIDTH>     PageWidth * 0.33     </WIDTH>

<TEXT>      "==================" </TEXT>

</COLUMNHEADER>

<!-- <ROW> "Sub Total|" Transaction.SubTotal   </ROW> -->

<IF>

<CONDITION>  ShowTaxDetails  </CONDITION>

<THEN>

<FOR each="SalesTaxes">

<IF>

<CONDITION> Transaction.SalesTaxes.ShowOnReceipt & Transaction.SalesTaxes.IsTransactionMember </CONDITION>

<THEN>

<ROW> Transaction.SalesTaxes.Description "|" Transaction.SalesTaxes.Total  </ROW>

</THEN>

</IF>

</FOR>

</THEN>

</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></ROW>

<IF>

<CONDITION> (Transaction.TotalDue <> 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 <> 0 | Tender.AmountInRounding <> 0 </CONDITION>

<THEN>

<IF>

<CONDITION> Tender.Descriptor.TenderType = tenderAccount </CONDITION>

<THEN>

<ROW> Tender.Descriptor.Description "|" Tender.AmountIn </ROW>

</THEN>

<ELSE>

<ROW> Tender.Descriptor.Description " Paid  المدفوع :- |" Tender.AmountIn </ROW>

</ELSE>

</IF>

<IF>

<CONDITION> Tender.Descriptor.TenderType = tenderCreditCard | Tender.Descriptor.TenderType = tenderDebitCard </CONDITION>

<THEN>

<IF>

<CONDITION> MaskCreditCard </CONDITION>

<THEN>

<ROW> "Card: " Tender.AccountNumberMasked "|" </ROW>

</THEN>

<ELSE>

<ROW> "Card: " Tender.AccountNumber "|" </ROW>

</ELSE>

</IF>

<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) & 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 <> 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 <> 0 | Tender.AmountOutRounding <> 0 </CONDITION>

<THEN>

<ROW> "Remaining " Tender.Descriptor.Description "  الباقي  :- |" Tender.AmountOut </ROW>

<IF>

<CONDITION> Tender.Descriptor.TenderType = tenderCreditCard  | Tender.Descriptor.TenderType = tenderDebitCard </CONDITION>

<THEN>

<IF>

<CONDITION> MaskCreditCard </CONDITION>

<THEN>

<ROW> "Card: " Tender.AccountNumberMasked "|" </ROW>

</THEN>

<ELSE>

<ROW> "Card: " Tender.AccountNumber "|" </ROW>

</ELSE>

</IF>

<ROW> "Auth: " Tender.ApprovalCode "|" </ROW>

</THEN>

</IF>

<IF>

<CONDITION> (Tender.Descriptor.TenderType = tenderAccount) & 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 <> 0 </CONDITION>

<THEN>

<ROW> "Roundoff " Tender.Descriptor.Description "|" Tender.AmountOutRounding </ROW>

</THEN>

</IF>

</THEN>

</IF>

</FOR>

</THEN>

<ELSE>

<ROW> "Remaining  الباقي :-   |" Transaction.TotalTenderOut </ROW>

</ELSE>

</IF>

<IF>

<CONDITION> (Transaction.TotalDue <> 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> "<~"       </ALIGNMENT>

<WIDTH>     PageWidth     </WIDTH>

</COLUMNHEADER>

<ROW></ROW>

<ROW> "Transaction cancelled..." </ROW>

<ROW></ROW>

<ROW></ROW>

</TABLE>

</ELSE>

</IF>

</THEN>

</IF>

</SUB>

<SUB name="PrintVATAnalysis">

<!--

  =============================

  VAT Analysis

  =============================

-->

<IF>

<CONDITION> (Transaction.Type <> transactionAbortedTransaction) & (Transaction.SubtotalPurchased <> 0) & (ShowVAT) & (Receipt.TaxSystem = taxsystemVAT) </CONDITION>

<THEN>

<IF>

<CONDITION> ShowFullVAT </CONDITION>

<THEN>

<TABLE>

<BORDER> tbNone </BORDER>

<COLUMNHEADER>

<ALIGNMENT>    "^~"        </ALIGNMENT>

<WIDTH>        PageWidth   </WIDTH>

</COLUMNHEADER>

<ROW>

</ROW>

<ROW>

</ROW>

<ROW> "_____________________________" </ROW>

<ROW> "VAT Analysis" </ROW>

<ROW>

</ROW>

</TABLE>

</THEN>

</IF>

<TABLE>

<BORDER> tbNone </BORDER>

<COLUMNHEADER>

<ALIGNMENT>    "<~"        </ALIGNMENT>

<WIDTH>        PageWidth      </WIDTH>

<TEXT>         "VAT Number: " Store.VATRegistrationNumber </TEXT>

</COLUMNHEADER>

</TABLE>

<IF>

<CONDITION> ShowFullVAT </CONDITION>

<THEN>

<TABLE>

<BORDER> tbTop    </BORDER>

<FONT>   "Small"  </FONT>

<COLUMNHEADER>

<ALIGNMENT>    "<~"              </ALIGNMENT>

<WIDTH>        PageWidth * 0.16     </WIDTH>

<TEXT>         "Rate"              </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    ">~"              </ALIGNMENT>

<WIDTH>        PageWidth * 0.28     </WIDTH>

<TEXT>         "Exclusive"          </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    ">~"              </ALIGNMENT>

<WIDTH>        PageWidth * 0.28     </WIDTH>

<TEXT>         "Tax"                </TEXT>

</COLUMNHEADER>

<COLUMNHEADER>

<ALIGNMENT>    ">~"              </ALIGNMENT>

<WIDTH>        PageWidth * 0.28     </WIDTH>

<TEXT>         "Price"              </TEXT>

</COLUMNHEADER>

<FOR each="entry">

<IF>

<CONDITION> Entry.QuantityPurchased </CONDITION>

<THEN>

<ROW> Entry.TaxRate "|" Entry.ExtendedExclsvPricePurchased "|" Entry.Tax "|" Entry.ExtendedPricePurchased </ROW>

</THEN>

</IF>

</FOR>

<ROW>

</ROW>

<ROW>

</ROW>

<ROW> "Total|" Transaction.TotalExclsvPurchased "|" Transaction.SalesTaxPurchased "|" Transaction.TotalPurchased </ROW>

<ROW>

</ROW>

</TABLE>

</THEN>

<ELSE>

<TABLE>

<BORDER> tbNone    </BORDER>

<COLUMNHEADER>

<ALIGNMENT>    ">~"              </ALIGNMENT>

<WIDTH>        PageWidth            </WIDTH>

<TEXT>         "VAT Total: " Transaction.SalesTaxPurchased </TEXT>

</COLUMNHEADER>

<ROW>

</ROW>

</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 & ((Transaction.Discount > 0) & (Transaction.Type <> transactionAbortedTransaction)) </CONDITION>

<THEN>

<TABLE>

<BORDER> tbNone   </BORDER>

<FONT>   "Large"  </FONT>

<COLUMNHEADER>

<ALIGNMENT>    "^~"     </ALIGNMENT>

<WIDTH>        PageWidth   </WIDTH>

<TEXT>         "مجموع الخصم" </TEXT>

</COLUMNHEADER>

<ROW></ROW>

</TABLE>

<TABLE>

<BORDER> tbNone   </BORDER>

<FONT>   "Large"  </FONT>

<COLUMNHEADER>

<ALIGNMENT>    "^~"     </ALIGNMENT>

<WIDTH>        PageWidth   </WIDTH>

<TEXT>         "Total Discount </TEXT>

</COLUMNHEADER>

<ROW></ROW>

</TABLE>

<TABLE>

<BORDER> tbNone   </BORDER>

<FONT>   "Large"  </FONT>

<COLUMNHEADER>

<ALIGNMENT>    "^~"     </ALIGNMENT>

<WIDTH>        PageWidth   </WIDTH>

<TEXT>         Transaction.Discount "!" </TEXT>

</COLUMNHEADER>

<ROW></ROW>

</TABLE>

</THEN>

</IF>

</SUB>

<SUB name="PrintBarcode">

<!--

  =============================

  Barcode

  =============================

-->

<IF>

<CONDITION> ShowBarcode & (Transaction.ReceiptTransactionNumber <> 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>         "نسخةالفاتورة" </TEXT>

</COLUMNHEADER>

<ROW></ROW>

</TABLE>

<TABLE>

<BORDER> tbNone   </BORDER>

<FONT>   "Large"  </FONT>

<COLUMNHEADER>

<ALIGNMENT>    "^~"     </ALIGNMENT>

<WIDTH>        PageWidth   </WIDTH>

<TEXT>         "DUPLICATE RECEIPT" </TEXT>

</COLUMNHEADER>

<ROW></ROW>

</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>

================================================

Regards

Reply
Fareed Ahmed responded on 16 Nov 2013 2:02 AM

Problem is Transaction Entry Comment, Department & Category in side POS Receipts

Unanswered

For your kind information. I used <Row>

entry.comment </Row>

and

<Text> entry.comment </Text>

both are not giving result

Reply
Antonijo Todorovikj Dimishkov responded on 17 Nov 2013 10:21 AM
My Badges

Problem is Transaction Entry Comment, Department & Category in side POS Receipts

Suggested Answer

Hi there.

Your PrintTransactionDetails sub-routine is completly wrong, thats why your entry comments are not printed out. I'm changing this sub-routine for You now, will test it and send it to you tomorrow.

Kind regards, A.

Reply
Antonijo Todorovikj Dimishkov responded on 18 Nov 2013 8:32 AM
My Badges

Problem is Transaction Entry Comment, Department & Category in side POS Receipts

Suggested Answer

Hi again.

Your TransactionDetails sub-rotine is completly wrong, so instead of fixing it, I just create a new one for You, just substitute this text with yours in the file:

<SUB name="PrintTransactionDetails">

<!--

  =============================

  Transaction Details

  =============================

-->

     <IF>

        <CONDITION> Transaction.Type <> transactionDrop & Transaction.Type <> transactionPayout &  Transaction.Type <> transactionNoSale & Transaction.Type <> transactionAccountPayment </CONDITION>

        <THEN>

           <TABLE>

              <FONT>      "Small"     </FONT>

              <BORDER>    tbNone      </BORDER>

              <COLUMNHEADER>

                 <ALIGNMENT>    "<~"           </ALIGNMENT>

                 <WIDTH>        PageWidth * 0.25  </WIDTH>

                 <TEXT>         "Item / الصنف"            </TEXT>

              </COLUMNHEADER>

              <COLUMNHEADER>

                 <ALIGNMENT>    "<~"           </ALIGNMENT>

                 <WIDTH>        PageWidth * 0.35  </WIDTH>

                 <TEXT>         "Description"     </TEXT>

              </COLUMNHEADER>

<COLUMNHEADER>

                 <ALIGNMENT>    "<~"           </ALIGNMENT>

                 <WIDTH>        PageWidth * 0.10  </WIDTH>

                 <TEXT>         "Rep / البائع"            </TEXT>

              </COLUMNHEADER>

<COLUMNHEADER>

                 <ALIGNMENT>    "<~"           </ALIGNMENT>

                 <WIDTH>        PageWidth * 0.10  </WIDTH>

                 <TEXT>         "Qty / لكمية"            </TEXT>

              </COLUMNHEADER>

              <COLUMNHEADER>

                 <ALIGNMENT>    ">~"           </ALIGNMENT>

                 <WIDTH>        PageWidth * 0.20  </WIDTH>

                 <TEXT>         "Amount / السعر"          </TEXT>

              </COLUMNHEADER>

              <ROW> "================|=========================|=================" </ROW>

              <FOR each="entry">

                 <IF>

                    <CONDITION> ShowLineDiscounts & (Entry.ExtendedDiscount <> 0) </CONDITION>

                    <THEN>

<IF>

  <CONDITION> (Receipt.TaxSystem = taxsystemVAT) & (Entry.Taxable = 0) </CONDITION>

  <THEN>

     <SET name="ExtendedExclsvPricePlusDiscount" type="vbcurrency">  Entry.ExtendedExclsvPrice + Entry.ExtendedDiscount </SET>

                        <ROW> Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.Salesrep.Number "|" Entry.Quantity "|" ExtendedExclsvPricePlusDiscount </ROW>

<IF>

<CONDITION> Entry.Comment </CONDITION>

<THEN>

<ROW> Entry.Comment </ROW>

</THEN>

</IF>

  </THEN>

  <ELSE>

                        <ROW> Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.Salesrep.Number "|" Entry.Quantity "|" Entry.ExtendedExclsvPrice </ROW>

<IF>

<CONDITION> Entry.Comment </CONDITION>

<THEN>

<ROW> Entry.Comment </ROW>

</THEN>

</IF>

  </ELSE>

</IF>

                       <IF>

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

                          <THEN>

                             <ROW> "|Discount|" Entry.ExtendedDiscountNegative  </ROW>

                          </THEN>

                       </IF>

                    </THEN>

                    <ELSE>

<IF>

  <CONDITION> (Receipt.TaxSystem = taxsystemVAT) & (Entry.Taxable = 0) </CONDITION>

  <THEN>

                        <ROW> Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.Salesrep.Number "|" Entry.Quantity "|" Entry.ExtendedExclsvPrice </ROW>

<IF>

<CONDITION> Entry.Comment </CONDITION>

<THEN>

<ROW> Entry.Comment </ROW>

</THEN>

</IF>

  </THEN>

  <ELSE>

                        <ROW> Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.Salesrep.Number "|" Entry.Quantity "|" Entry.ExtendedPrice </ROW>

<IF>

<CONDITION> Entry.Comment </CONDITION>

<THEN>

<ROW> Entry.Comment </ROW>

</THEN>

</IF>

  </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.Comment </CONDITION>

<THEN>

<ROW> Entry.Comment </ROW>

</THEN>

</IF>

<IF>

  <CONDITION> Entry.WeightFromScale = 0 </CONDITION>

  <THEN>

     <ROW> "|Manual Weight|"    </ROW>

  </THEN>

</IF>

</THEN>

<ELSE>

                    <IF>

                           <CONDITION> Entry.Quantity <> 1 </CONDITION>

                    <THEN>

                        <ROW> "|" Entry.Quantity " @ " Entry.Price "|"                                      </ROW>

                    </THEN>

                    </IF>

                    </ELSE>

                 </IF>

                 <IF>

                    <CONDITION> ((Entry.QuantityOnOrder <> 0) | (Entry.QuantityRTD <> 0)) & (Transaction.Type <> 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>

Apart from the Entry.Comment, I have seen You need the SalesRep so I kept that too.

Don't know who have changed the original ticket receipt for You, but remember that table and colimn tags are only for design of the receipt and you must use <ROW> </ROW> to print out the transactionentries values...

So, make a backup copy of your receipt file (just in case) and change the TransactionDetails part with the code I'm sending You and try it . Came back to me if You have any doubts.

Regards, A.

Reply
Fareed Ahmed responded on 19 Nov 2013 2:51 AM

Problem is Transaction Entry Comment, Department & Category in side POS Receipts

Unanswered

Hi,

I have replaced TransactionDetails part with the code provided by you but could not import in RMS

(Store Operation --->> Database >> Registers >> Receipt Formats >> Properties) it giving me error. Please let me know where I am wrong,

Regards

Reply
Antonijo Todorovikj Dimishkov responded on 19 Nov 2013 6:22 AM
My Badges

Problem is Transaction Entry Comment, Department & Category in side POS Receipts

Suggested Answer

OK, zip the whole file (or use WinRar) and send it to my mail:   antonijo_todorovik@hotmail.com

and I'll have a look.

Regards, A.

Reply
Fareed Ahmed responded on 24 Nov 2013 8:34 AM

Problem is Transaction Entry Comment, Department & Category in side POS Receipts

Unanswered

Hi

I already sent the zip file but a copy of that is attaching again

Reply
MGabr responded on 14 Nov 2017 9:09 PM

Problem is Transaction Entry Comment, Department & Category in side POS Receipts

Unanswered

could you feedme back about the solution, or attach the arabic receipt

Reply
Antonijo Todorovikj Dimishkov responded on 12 Nov 2013 5:31 AM
My Badges

Problem is Transaction Entry Comment, Department & Category in side POS Receipts

Suggested Answer

Hi there.

OK, I supose You are talking about the option of comment per Item (as you are mentioning Entry.Comment), means using the Ctrl+F10 standard POS option - adding comment in the moment of sale.

It could be that You are adding the <ROW> on incorrect place, as there are, at least in the standard receipt (receipt.xml), several possibilitites in the recipt design where the item line can be shown.

To avoid white lines (when sale Item is not commented), I would put this following code into the "PrintTransactionDetails" sub-function:

<IF>

       <CONDITION> Entry.Comment </CONDITION>

       <THEN>

                       <ROW> Entry.Comment "||" </ROW>

        </THEN>

</IF>

If You have problems, just mail me your recepit in XML file and I'll add this for You...

Kind regards, A.

Reply
Antonijo Todorovikj Dimishkov responded on 14 Nov 2013 2:21 PM
My Badges

Problem is Transaction Entry Comment, Department & Category in side POS Receipts

Suggested Answer

Hi Fareed,

It's too late now to see it, it's midnight overhere... Can You please mail me the reciept and I will check it out for You tomorrow. Send it to antonijo_todorovik@hotmail.com.

Kind regards, A.

Reply
Antonijo Todorovikj Dimishkov responded on 17 Nov 2013 10:21 AM
My Badges

Problem is Transaction Entry Comment, Department & Category in side POS Receipts

Suggested Answer

Hi there.

Your PrintTransactionDetails sub-routine is completly wrong, thats why your entry comments are not printed out. I'm changing this sub-routine for You now, will test it and send it to you tomorrow.

Kind regards, A.

Reply
Antonijo Todorovikj Dimishkov responded on 18 Nov 2013 8:32 AM
My Badges

Problem is Transaction Entry Comment, Department & Category in side POS Receipts

Suggested Answer

Hi again.

Your TransactionDetails sub-rotine is completly wrong, so instead of fixing it, I just create a new one for You, just substitute this text with yours in the file:

<SUB name="PrintTransactionDetails">

<!--

  =============================

  Transaction Details

  =============================

-->

     <IF>

        <CONDITION> Transaction.Type <> transactionDrop & Transaction.Type <> transactionPayout &  Transaction.Type <> transactionNoSale & Transaction.Type <> transactionAccountPayment </CONDITION>

        <THEN>

           <TABLE>

              <FONT>      "Small"     </FONT>

              <BORDER>    tbNone      </BORDER>

              <COLUMNHEADER>

                 <ALIGNMENT>    "<~"           </ALIGNMENT>

                 <WIDTH>        PageWidth * 0.25  </WIDTH>

                 <TEXT>         "Item / الصنف"            </TEXT>

              </COLUMNHEADER>

              <COLUMNHEADER>

                 <ALIGNMENT>    "<~"           </ALIGNMENT>

                 <WIDTH>        PageWidth * 0.35  </WIDTH>

                 <TEXT>         "Description"     </TEXT>

              </COLUMNHEADER>

<COLUMNHEADER>

                 <ALIGNMENT>    "<~"           </ALIGNMENT>

                 <WIDTH>        PageWidth * 0.10  </WIDTH>

                 <TEXT>         "Rep / البائع"            </TEXT>

              </COLUMNHEADER>

<COLUMNHEADER>

                 <ALIGNMENT>    "<~"           </ALIGNMENT>

                 <WIDTH>        PageWidth * 0.10  </WIDTH>

                 <TEXT>         "Qty / لكمية"            </TEXT>

              </COLUMNHEADER>

              <COLUMNHEADER>

                 <ALIGNMENT>    ">~"           </ALIGNMENT>

                 <WIDTH>        PageWidth * 0.20  </WIDTH>

                 <TEXT>         "Amount / السعر"          </TEXT>

              </COLUMNHEADER>

              <ROW> "================|=========================|=================" </ROW>

              <FOR each="entry">

                 <IF>

                    <CONDITION> ShowLineDiscounts & (Entry.ExtendedDiscount <> 0) </CONDITION>

                    <THEN>

<IF>

  <CONDITION> (Receipt.TaxSystem = taxsystemVAT) & (Entry.Taxable = 0) </CONDITION>

  <THEN>

     <SET name="ExtendedExclsvPricePlusDiscount" type="vbcurrency">  Entry.ExtendedExclsvPrice + Entry.ExtendedDiscount </SET>

                        <ROW> Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.Salesrep.Number "|" Entry.Quantity "|" ExtendedExclsvPricePlusDiscount </ROW>

<IF>

<CONDITION> Entry.Comment </CONDITION>

<THEN>

<ROW> Entry.Comment </ROW>

</THEN>

</IF>

  </THEN>

  <ELSE>

                        <ROW> Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.Salesrep.Number "|" Entry.Quantity "|" Entry.ExtendedExclsvPrice </ROW>

<IF>

<CONDITION> Entry.Comment </CONDITION>

<THEN>

<ROW> Entry.Comment </ROW>

</THEN>

</IF>

  </ELSE>

</IF>

                       <IF>

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

                          <THEN>

                             <ROW> "|Discount|" Entry.ExtendedDiscountNegative  </ROW>

                          </THEN>

                       </IF>

                    </THEN>

                    <ELSE>

<IF>

  <CONDITION> (Receipt.TaxSystem = taxsystemVAT) & (Entry.Taxable = 0) </CONDITION>

  <THEN>

                        <ROW> Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.Salesrep.Number "|" Entry.Quantity "|" Entry.ExtendedExclsvPrice </ROW>

<IF>

<CONDITION> Entry.Comment </CONDITION>

<THEN>

<ROW> Entry.Comment </ROW>

</THEN>

</IF>

  </THEN>

  <ELSE>

                        <ROW> Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.Salesrep.Number "|" Entry.Quantity "|" Entry.ExtendedPrice </ROW>

<IF>

<CONDITION> Entry.Comment </CONDITION>

<THEN>

<ROW> Entry.Comment </ROW>

</THEN>

</IF>

  </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.Comment </CONDITION>

<THEN>

<ROW> Entry.Comment </ROW>

</THEN>

</IF>

<IF>

  <CONDITION> Entry.WeightFromScale = 0 </CONDITION>

  <THEN>

     <ROW> "|Manual Weight|"    </ROW>

  </THEN>

</IF>

</THEN>

<ELSE>

                    <IF>

                           <CONDITION> Entry.Quantity <> 1 </CONDITION>

                    <THEN>

                        <ROW> "|" Entry.Quantity " @ " Entry.Price "|"                                      </ROW>

                    </THEN>

                    </IF>

                    </ELSE>

                 </IF>

                 <IF>

                    <CONDITION> ((Entry.QuantityOnOrder <> 0) | (Entry.QuantityRTD <> 0)) & (Transaction.Type <> 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>

Apart from the Entry.Comment, I have seen You need the SalesRep so I kept that too.

Don't know who have changed the original ticket receipt for You, but remember that table and colimn tags are only for design of the receipt and you must use <ROW> </ROW> to print out the transactionentries values...

So, make a backup copy of your receipt file (just in case) and change the TransactionDetails part with the code I'm sending You and try it . Came back to me if You have any doubts.

Regards, A.

Reply
Antonijo Todorovikj Dimishkov responded on 19 Nov 2013 6:22 AM
My Badges

Problem is Transaction Entry Comment, Department & Category in side POS Receipts

Suggested Answer

OK, zip the whole file (or use WinRar) and send it to my mail:   antonijo_todorovik@hotmail.com

and I'll have a look.

Regards, A.

Reply

SBX - Two Col Forum

SBX - Migrated JS