Exemple #1
0
 public ResultStatus LoadESigDetails(
     ShippingReasonMaint shippingReasonMaint,
     ShippingReasonMaint_Request request,
     out ShippingReasonMaint_Result result)
 {
     return(this.LoadESigDetails(shippingReasonMaint, (ShippingReasonMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Exemple #2
0
 public ResultStatus Freeze(
     ShippingReasonMaint shippingReasonMaint,
     ShippingReasonMaint_Request request,
     out ShippingReasonMaint_Result result)
 {
     return(this.Freeze(shippingReasonMaint, (ShippingReasonMaint_Parameters)null, request, out result));
 }
Exemple #3
0
 public ResultStatus GetWIPMsgs(
     ShippingReasonMaint shippingReasonMaint,
     ShippingReasonMaint_Request request,
     out ShippingReasonMaint_Result result)
 {
     return(this.GetWIPMsgs(shippingReasonMaint, (ShippingReasonMaint_Parameters)null, request, out result));
 }
Exemple #4
0
 public ResultStatus GetEnvironment(
     ShippingReasonMaint cdo,
     ShippingReasonMaint_Request request,
     out ShippingReasonMaint_Result result)
 {
     result = (ShippingReasonMaint_Result)null;
     try
     {
         return(((IShippingReasonMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #5
0
 public ResultStatus CommitTransaction(
     ShippingReasonMaint_Request request,
     out ShippingReasonMaint_Result result)
 {
     result = (ShippingReasonMaint_Result)null;
     try
     {
         ShippingReasonMaintMethod[] methods = new ShippingReasonMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IShippingReasonMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #6
0
        public ResultStatus ExecuteTransaction(
            ShippingReasonMaint cdo,
            ShippingReasonMaint_Request request,
            out ShippingReasonMaint_Result result)
        {
            result = (ShippingReasonMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IShippingReasonMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ShippingReasonMaintMethod(cdo, ShippingReasonMaintMethods.ExecuteTransaction, (ShippingReasonMaint_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);
        }
Exemple #7
0
        public ResultStatus Freeze(
            ShippingReasonMaint shippingReasonMaint,
            ShippingReasonMaint_Parameters parameters,
            ShippingReasonMaint_Request request,
            out ShippingReasonMaint_Result result)
        {
            result = (ShippingReasonMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)shippingReasonMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IShippingReasonMaintService)this._Channel).Freeze(this._UserProfile, shippingReasonMaint, parameters, request, out result) : this.AddMethod((Method) new ShippingReasonMaintMethod(shippingReasonMaint, ShippingReasonMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)shippingReasonMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Exemple #8
0
 public ResultStatus ExecuteTransaction(
     ShippingReasonMaint_Request request,
     out ShippingReasonMaint_Result result)
 {
     return(this.ExecuteTransaction((ShippingReasonMaint)null, request, out result));
 }
Exemple #9
0
 public ResultStatus GetEnvironment(
     ShippingReasonMaint_Request request,
     out ShippingReasonMaint_Result result)
 {
     return(this.GetEnvironment((ShippingReasonMaint)null, request, out result));
 }