Esempio n. 1
0
 public ResultStatus GetWIPMsgs(
     ApprovalCycleInquiry approvalCycleInquiry,
     ApprovalCycleInquiry_Request request,
     out ApprovalCycleInquiry_Result result)
 {
     return(this.GetWIPMsgs(approvalCycleInquiry, (ApprovalCycleInquiry_Parameters)null, request, out result));
 }
Esempio n. 2
0
 public ApprovalCycleInquiryMethod(
     ApprovalCycleInquiry Cdo,
     ApprovalCycleInquiryMethods Method,
     ApprovalCycleInquiry_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Esempio n. 3
0
 public ResultStatus GetEnvironment(
     ApprovalCycleInquiry cdo,
     ApprovalCycleInquiry_Request request,
     out ApprovalCycleInquiry_Result result)
 {
     result = (ApprovalCycleInquiry_Result)null;
     try
     {
         return(((IApprovalCycleInquiryService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 4
0
        public ResultStatus AddDataTransaction(ApprovalCycleInquiry cdo)
        {
            this.OnBeforeCall(nameof(AddDataTransaction), (DCObject)cdo, (Parameters)null, (Request)null);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? this.GetAddDataTransactionException() : this.AddMethod((Method) new ApprovalCycleInquiryMethod(cdo, ApprovalCycleInquiryMethods.AddDataTransaction, (ApprovalCycleInquiry_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                Result result;
                this.OnAfterCall(nameof(AddDataTransaction), res, (DCObject)cdo, (Parameters)null, (Request)null, result);
            }
            return(res);
        }
Esempio n. 5
0
        public ResultStatus ExecuteTransaction(
            ApprovalCycleInquiry cdo,
            ApprovalCycleInquiry_Request request,
            out ApprovalCycleInquiry_Result result)
        {
            result = (ApprovalCycleInquiry_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IApprovalCycleInquiryService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ApprovalCycleInquiryMethod(cdo, ApprovalCycleInquiryMethods.ExecuteTransaction, (ApprovalCycleInquiry_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);
        }
Esempio n. 6
0
        public ResultStatus GetWIPMsgs(
            ApprovalCycleInquiry approvalCycleInquiry,
            ApprovalCycleInquiry_Parameters parameters,
            ApprovalCycleInquiry_Request request,
            out ApprovalCycleInquiry_Result result)
        {
            result = (ApprovalCycleInquiry_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)approvalCycleInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IApprovalCycleInquiryService)this._Channel).GetWIPMsgs(this._UserProfile, approvalCycleInquiry, parameters, request, out result) : this.AddMethod((Method) new ApprovalCycleInquiryMethod(approvalCycleInquiry, ApprovalCycleInquiryMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)approvalCycleInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Esempio n. 7
0
 public ResultStatus GetApprovalCycleDetails(
     ApprovalCycleInquiry approvalCycleInquiry)
 {
     return(this.GetApprovalCycleDetails(approvalCycleInquiry, (ApprovalCycleInquiry_Parameters)null, (ApprovalCycleInquiry_Request)null, out ApprovalCycleInquiry_Result _));
 }
Esempio n. 8
0
 public ResultStatus ExecuteTransaction(ApprovalCycleInquiry cdo)
 {
     return(this.ExecuteTransaction(cdo, (ApprovalCycleInquiry_Request)null, out ApprovalCycleInquiry_Result _));
 }