Example #1
0
 public ResultStatus GetWIPMsgs(
     BatchInquiry batchInquiry,
     BatchInquiry_Request request,
     out BatchInquiry_Result result)
 {
     return(this.GetWIPMsgs(batchInquiry, (BatchInquiry_Parameters)null, request, out result));
 }
Example #2
0
 public ResultStatus GetMaterialContainers(
     BatchInquiry batchInquiry,
     BatchInquiry_Request request,
     out BatchInquiry_Result result)
 {
     return(this.GetMaterialContainers(batchInquiry, (BatchInquiry_Parameters)null, request, out result));
 }
Example #3
0
 public ResultStatus GetEnvironment(
     BatchInquiry cdo,
     BatchInquiry_Request request,
     out BatchInquiry_Result result)
 {
     result = (BatchInquiry_Result)null;
     try
     {
         return(((IBatchInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #4
0
 public ResultStatus CommitTransaction(
     BatchInquiry_Request request,
     out BatchInquiry_Result result)
 {
     result = (BatchInquiry_Result)null;
     try
     {
         BatchInquiryMethod[] methods = new BatchInquiryMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IBatchInquiryService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #5
0
        public ResultStatus ExecuteTransaction(
            BatchInquiry cdo,
            BatchInquiry_Request request,
            out BatchInquiry_Result result)
        {
            result = (BatchInquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IBatchInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new BatchInquiryMethod(cdo, BatchInquiryMethods.ExecuteTransaction, (BatchInquiry_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(ExecuteTransaction), res, (DCObject)cdo, (Parameters)null, (Request)request, (Result)result);
            }
            return(res);
        }
Example #6
0
        public ResultStatus GetWIPMsgs(
            BatchInquiry batchInquiry,
            BatchInquiry_Parameters parameters,
            BatchInquiry_Request request,
            out BatchInquiry_Result result)
        {
            result = (BatchInquiry_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)batchInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IBatchInquiryService)this._Channel).GetWIPMsgs(this._UserProfile, batchInquiry, parameters, request, out result) : this.AddMethod((Method) new BatchInquiryMethod(batchInquiry, BatchInquiryMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)batchInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Example #7
0
 public ResultStatus ExecuteTransaction(
     BatchInquiry_Request request,
     out BatchInquiry_Result result)
 {
     return(this.ExecuteTransaction((BatchInquiry)null, request, out result));
 }
Example #8
0
 public ResultStatus GetEnvironment(
     BatchInquiry_Request request,
     out BatchInquiry_Result result)
 {
     return(this.GetEnvironment((BatchInquiry)null, request, out result));
 }