Exemple #1
0
        public void AssignTransactionID(string TransactionID)
        {
            MAHAITResponse t_NewResponse = new MAHAITResponse();

            t_NewResponse.FieldName = "TRNID";
            t_NewResponse.Action    = "TRNID";
            t_NewResponse.Message   = TransactionID;

            ValidationResponse.Add(t_NewResponse);
        }
Exemple #2
0
        public void SendException(string Exception)
        {
            MAHAITResponse t_NewResponse = new MAHAITResponse();

            t_NewResponse.FieldName = "";
            t_NewResponse.Action    = "EXCEPTION";
            t_NewResponse.Message   = Exception;
            HasErrors = true;
            ValidationResponse.Add(t_NewResponse);
        }
Exemple #3
0
        public void AssignValueToParent(string TableName, string ColumnName, string Value)
        {
            MAHAITResponse t_NewResponse = new MAHAITResponse();

            t_NewResponse.FieldName = TableName + "__" + ColumnName;
            t_NewResponse.Action    = "ASVTP";
            t_NewResponse.Message   = Value;

            ValidationResponse.Add(t_NewResponse);
        }
Exemple #4
0
        public void SendErrorMessage(string TableName, string ColumnName, string Message)
        {
            MAHAITResponse t_NewResponse = new MAHAITResponse();

            t_NewResponse.FieldName = TableName + "__" + ColumnName;
            t_NewResponse.Action    = "ERR";
            t_NewResponse.Message   = Message;
            HasErrors = true;
            ValidationResponse.Add(t_NewResponse);
        }