Example #1
0
 public ResultStatus LoadESigDetails(
     BuyReasonMaint buyReasonMaint,
     BuyReasonMaint_Request request,
     out BuyReasonMaint_Result result)
 {
     return(this.LoadESigDetails(buyReasonMaint, (BuyReasonMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Example #2
0
 public ResultStatus Freeze(
     BuyReasonMaint buyReasonMaint,
     BuyReasonMaint_Request request,
     out BuyReasonMaint_Result result)
 {
     return(this.Freeze(buyReasonMaint, (BuyReasonMaint_Parameters)null, request, out result));
 }
Example #3
0
 public ResultStatus GetWIPMsgs(
     BuyReasonMaint buyReasonMaint,
     BuyReasonMaint_Request request,
     out BuyReasonMaint_Result result)
 {
     return(this.GetWIPMsgs(buyReasonMaint, (BuyReasonMaint_Parameters)null, request, out result));
 }
Example #4
0
 public ResultStatus GetEnvironment(
     BuyReasonMaint cdo,
     BuyReasonMaint_Request request,
     out BuyReasonMaint_Result result)
 {
     result = (BuyReasonMaint_Result)null;
     try
     {
         return(((IBuyReasonMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #5
0
 public ResultStatus CommitTransaction(
     BuyReasonMaint_Request request,
     out BuyReasonMaint_Result result)
 {
     result = (BuyReasonMaint_Result)null;
     try
     {
         BuyReasonMaintMethod[] methods = new BuyReasonMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IBuyReasonMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #6
0
        public ResultStatus ExecuteTransaction(
            BuyReasonMaint cdo,
            BuyReasonMaint_Request request,
            out BuyReasonMaint_Result result)
        {
            result = (BuyReasonMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IBuyReasonMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new BuyReasonMaintMethod(cdo, BuyReasonMaintMethods.ExecuteTransaction, (BuyReasonMaint_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 #7
0
        public ResultStatus Freeze(
            BuyReasonMaint buyReasonMaint,
            BuyReasonMaint_Parameters parameters,
            BuyReasonMaint_Request request,
            out BuyReasonMaint_Result result)
        {
            result = (BuyReasonMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)buyReasonMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IBuyReasonMaintService)this._Channel).Freeze(this._UserProfile, buyReasonMaint, parameters, request, out result) : this.AddMethod((Method) new BuyReasonMaintMethod(buyReasonMaint, BuyReasonMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)buyReasonMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Example #8
0
 public ResultStatus ExecuteTransaction(
     BuyReasonMaint_Request request,
     out BuyReasonMaint_Result result)
 {
     return(this.ExecuteTransaction((BuyReasonMaint)null, request, out result));
 }
Example #9
0
 public ResultStatus GetEnvironment(
     BuyReasonMaint_Request request,
     out BuyReasonMaint_Result result)
 {
     return(this.GetEnvironment((BuyReasonMaint)null, request, out result));
 }