示例#1
0
        public TxnReferences GetTxnReferences(QueryArgument queryArgument)
        {
            TxnReferences txnReferences;

            try
            {
                TransactionReadHelper.QueryArgument = queryArgument;
                txnReferences = TransactionReadHelper.GetTxnReferences();
            }
            catch (Exception ex)
            {
                EventLogger.LogEvent(SysEventType.ERROR.ToString(), "Error", "GetTxnReferences failed with exception", ex);
                throw;
            }
            return(txnReferences);
        }
示例#2
0
        public BillTrackings GetAlternativeOrdData(QueryArgument queryArgument)
        {
            var billTrackings = new BillTrackings();

            try
            {
                TransactionReadHelper.QueryArgument = queryArgument;
                billTrackings = TransactionReadHelper.GetAlternativeOrdData();
            }
            catch (Exception ex)
            {
                EventLogger.LogEvent(SysEventType.ERROR.ToString(), "Error", "GetAlternativeOrdData failed with exception", ex);
                throw;
            }
            return(billTrackings);
        }
示例#3
0
        public OrderTransactions GetFollowupData(QueryArgument queryArgument)
        {
            OrderTransactions orderTransactions;

            try
            {
                TransactionReadHelper.QueryArgument = queryArgument;
                orderTransactions = TransactionReadHelper.GetFollowupData();
            }
            catch (Exception ex)
            {
                EventLogger.LogEvent(SysEventType.ERROR.ToString(), "Error", "Get Followup failed with exception", ex);
                throw;
            }
            return(orderTransactions);
        }
示例#4
0
        public bool ValidateKey(QueryArgument queryArgument)
        {
            var result = false;

            try
            {
                TransactionReadHelper.QueryArgument = queryArgument;
                result = TransactionReadHelper.ValidateKey();
            }
            catch (Exception ex)
            {
                EventLogger.LogEvent(SysEventType.ERROR.ToString(), "Error", "GetSRNumber failed with exception", ex);
                throw;
            }
            return(result);
        }
示例#5
0
        public bool SetTMData(QueryArgument queryArgument)
        {
            bool result;

            try
            {
                TransactionReadHelper.QueryArgument = queryArgument;
                result = TransactionReadHelper.SetTMData();
            }
            catch (Exception ex)
            {
                EventLogger.LogEvent(SysEventType.ERROR.ToString(), "Error", "SetTMData failed with exception", ex);
                throw;
            }
            return(result);
        }
示例#6
0
        public BillTrackings GetChangeStatus_ALPN_FromData(QueryArgument queryArgument)
        {
            BillTrackings orderTransactions;

            try
            {
                TransactionReadHelper.QueryArgument = queryArgument;
                orderTransactions = TransactionReadHelper.GetChangeStatus_ALPN_FromData();
            }
            catch (Exception ex)
            {
                EventLogger.LogEvent(SysEventType.ERROR.ToString(), "Error", "GetChangeStatus_ALPN_FromData Data failed with exception", ex);
                throw;
            }
            return(orderTransactions);
        }
示例#7
0
        public BillTrackings GetDebriefings(QueryArgument queryArgument)
        {
            BillTrackings billTrackings;

            try
            {
                TransactionReadHelper.QueryArgument = queryArgument;
                billTrackings = TransactionReadHelper.GetDebriefings();
            }
            catch (Exception ex)
            {
                EventLogger.LogEvent(SysEventType.ERROR.ToString(), "Error", "GetDebriefings Data failed with exception", ex);
                throw;
            }
            return(billTrackings);
        }
示例#8
0
        public BillValiditions GetOrderHeaderReferances(QueryArgument queryArgument)
        {
            BillValiditions billValidations;

            try
            {
                TransactionReadHelper.QueryArgument = queryArgument;
                billValidations = TransactionReadHelper.GetOrderHeaderReferances();
            }
            catch (Exception ex)
            {
                EventLogger.LogEvent(SysEventType.ERROR.ToString(), "Error", "GetOrderHeaderReferances Data failed with exception", ex);
                throw;
            }
            return(billValidations);
        }