Customising the Transaction Grid on the POS

Customising the Transaction Grid on the POS

Introduction

This knowledge base article will assist developers on how to customise the Transaction Grid on the iVend Retail Point of Sale (POS). Please refer to CitiXsys Knowledge Portal for more details and code samples.

Environment:

iVend Version 6.5

Purpose

The customisation allows developers to hide and/or show columns in the Transaction Grid of the POS. Developers can customise the Transaction Grid on the main screen of the POS.

How to Customise the Transaction Grid on the POS

1. Create a class and let us name it TransactionEntry.
2. Inherit the created class from TransactionEntryModuleBase class.
3. Create two lists of the TransactionGridColumn type; one for showing the column(s) and the other for hiding the column(s).
4. Then show and/or hide the column(s) you need.
Refer the following sample code for customising the Transaction Grid on the POS:
class TransactionEntry: TransactionEntryModuleBase
{
List<CXS.Retail.ViewModel.TransactionGridColumn> m_ShowList = new List<CXS.Retail.ViewModel.TransactionGridColumn>{ };
List<CXS.Retail.ViewModel.TransactionGridColumn> m_HideList = new List<CXS.Retail.ViewModel.TransactionGridColumn> { };
public override void OnViewIntialized(object sender, CXS.Retail.Extensibility.ViewInitializedEventArgs args)
{
//Show/Hide Columns to transaction entry
TransactionEntryView m_view;
m_view = sender as TransactionEntryView;
if (m_view != null)
{
m_ShowList.Add(TransactionGridColumn.Comment);
m_view.ShowColumns(m_ShowList);
m_HideList.Add(TransactionGridColumn.Total);
m_HideList.Add(TransactionGridColumn.Description);
m_view.HideColumns(m_HideList);
}
}
}


    • Related Articles

    • Customising the Transaction Grid on POS

      Introduction This knowledge base article will assist developers on how to customise the Transaction Grid on the iVend Retail Point of Sale (POS). Please refer to CitiXsys Knowledge Portal for more details and code samples. Purpose The customisation ...
    • POS- Transaction Grid Customization

      Introduction iVend Add-on Framework is used for writing Custom Business Logic independently by a programmer. iVend Addon allows to extend business logic either in Management Console or at the Terminal POS. The addon framework allows deployment of ...
    • POS - Transaction Info Grid Customization

      Introduction iVend Add-on Framework is used for writing Custom Business Logic independently by a programmer. iVend Addon allows to extend business logic either in Management Console or at the Terminal POS.The addon framework allows deployment of ...
    • POS - Transaction Info Grid Customization

      Introduction: iVend Add-on Framework is used for writing Custom Business Logic independently by a programmer. iVend Addon allows to extend business logic either in Management Console or at the Terminal POS. The addon framework allows deployment of ...
    • POS Transaction Info Grid : Button Up/Down Usage

      Environment:  iVend 6.6 8024 Unplugged Problem statement:  when Customer is asking that they are unable to use the Up/Down button in the POS Transaction Info Grid dialog to move rows Symptoms : Customer Requirement is that when they click the Up ...