iVend POS Receipt Using predefined enumerators on data and additional options

iVend POS Receipt Using predefined enumerators on data and additional options

Introduction

This article explains how to use predefined enumerators and additional options in the iVend POS Receipt.
Any user with basic XML and programming knowledge can customize the iVend POS Receipt.

Log into the iVend Management Console and navigate to: Administration > Retail configuration > Print Profile – the Print Profile Search window comes up.

2.Choose the available print profile and click the [F4 Edit] button to edit the record.
You can edit the XML format of any of the following POS receipts however this cannot be performed directly within the Print Profile window. The user must export the design via the Receipt Print Format window (Receipt Designer).

1.Log into the iVend Management Console and navigate to: Administration > Retail Configuration > Receipt Print Formats – the Receipt Search window comes up.

2.Choose a receipt and click the [F4 Edit] button to edit the record. The Receipt Designer window should come up.

3.Click the [Design] button to bring up the Receipt Designer settings page. Here you can edit the XML format of any of the following POS receipts.

The following represents the list of editable POS Receipts:

The following represents the list of iVend Object where enumeration can be performed:

The following is a screen image that shows the Enumerators used in the Transaction Receipt.
“Enumerator” Element
This element is used as an alias for the ‘for-each loop’ on the object. Once the object name is specified in the ‘object’ attribute, then all the sub-objects and properties can be accessed directly inside the enumerator element.
Sample XML
<Enumerator object="Transaction.SalesPersons">
<Row>
<Element colspan="4" align="left" object0="User.Id" object1="User.FirstName" object2="User.MiddleName" object3="User.LastName" string="Sales Person: {0}, {1} {2} {3}"/>
</Row>
</Enumerator>
The “Enumerator” element has the following attributes:
1. An object: : refers to the object property on which the looping needs to be executed.
Note: There will be at least one <Row> element and multiple <Element> elements based on the element colspan value.
2. “Header” element:
Sample XML
<Header>
<Separator object="-"/>
<Row>
<Element colspan="4" align="left" string="Delivery Items"/>
</Row>
<Separator object="-"/>
</Header>
The “Header” element has no attributes and it is more about providing separation in the code to identify different sections in the report.
3. “BlankLine” element:
Sample XML
<BlankLine/>
The BlankLine element does not have any attributes and is used to give blank rows in the receipt.
4. “PaperCut” element.
Sample XML
<PaperCut/>
The “PaperCut” element does not have any attributes and is used to give a paper cut feature in the receipt if supported by the hardware.
5. “Signature” Element
Sample XML
<Signature width="250" alignment="center"></Signature>
The "Signature" element will print the signature capture for the card payments by the customer on the receipt.

    • Related Articles

    • Multiple Receipt Printing issue

      Environment: iVend 6.6 7989 SAP B1 10 Problem Statement: iVend is sending lots of receipts for single transaction until printing has to be stopped. Symptoms: It was observed that for Receipt ID ‘Transaction receipt’, Transaction receipt was selected ...
    • Not able to receive a Stock Transfer in SAPB1 ErrorMessage: Not enough data

      Environment : iVend 6.6 with SAP B1 Problem Statement : Not able to receive a Stock Transfer in SAPB1 ErrorMessage "Not enough data" Symptom: Specific computer are not able to receive the stock transfer in SAP. Resolution/Work Around : Clear the junk ...
    • General Settings in SAP Business One

      Introduction The iVend Add-on helps in setting up some configurations required for integrating iVend with SAP Business One. The following sections of this document capture the functionality of the new screens created and new fields added to the SAP ...
    • iVend Loyalty Customer Registration Options

      iVend Loyalty – Customer Registration Options Overview How to add Loyalty Customers in iVend Retail iVend Loyalty provides various options for registration of a Loyalty customer. The process of registering a Loyalty customer depends on the ...
    • Offline Terminal POS Data Sync with Store

      iVend Retail - Offline Terminal POS Data Synchronisation with the Store server This document describes the Offline Terminal POS feature and the data synchronisation with the Store Server. · This feature allows the Terminal POS to function even if the ...