Skip to Content

Using pre-defined enumerators and additional options

fb-share
download

Hi, my name is Kumar and in this video I will demonstrate How to Use Predefined Enumerators and Additional Options in iVend POS receipts.

Any user with basic XML and programming knowledge can customize the iVend POS receipts.

Let us see how it is done.

In Management Console, under Administration select menu Retail Configuration and then select Print Profile. Print Profile Search screen appears. Choose the available Print Profile and click Edit button to edit the record. You can edit the XML format of any of these POS receipts by clicking on the Document icon in the Data column, and this is the list of objects where enumeration can be done.

Now, before moving ahead let us see the transaction receipt. Now, this is my Point of Sale where I have just completed the transaction. This is the transaction receipt where enumerators are used. This is the sales enumerator and this is transaction payment enumerator.

Now, let us open the sample TransactionReceipt.XML document which is available in your iVend Server at iVend Installation folder. In iVend Installation folder, go to Management Console and then go to folder Receipt Formats and this is the TransactionReceipt.XML. Open this in any XML editor. Let us scroll little bit down to search the enumerator element, and here we have enumerator element.

This element is used to pretend 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. Attribute of the enumerator element is object which refers to the object property on which looping needs to be executed.

Please note, there will be at least one row element and multiple element, element based on the element called Spin Value.

Then, we have Header Element. Header element has no attribute and it is more of giving separation in the code to identify different sections in the report.

Then, we have Blank Line element. Blank line element does not have any attribute and is used to give blank row in the receipt, and then we have Paper Cut element. Paper Cut element does not have any attribute and used to give paper cut feature in the receipt if supported by the hardware.

So, in this way user can use predefined enumerators and additional options in the iVend XML POS receipts.

With this, we end our session.

Thank you for watching this video.


Quick Links