Esempio n. 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));
 }
Esempio n. 2
0
 public ResultStatus Freeze(
     ShippingReasonMaint shippingReasonMaint,
     ShippingReasonMaint_Request request,
     out ShippingReasonMaint_Result result)
 {
     return(this.Freeze(shippingReasonMaint, (ShippingReasonMaint_Parameters)null, request, out result));
 }
Esempio n. 3
0
 public ResultStatus GetWIPMsgs(
     ShippingReasonMaint shippingReasonMaint,
     ShippingReasonMaint_Request request,
     out ShippingReasonMaint_Result result)
 {
     return(this.GetWIPMsgs(shippingReasonMaint, (ShippingReasonMaint_Parameters)null, request, out result));
 }
Esempio n. 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));
     }
 }
Esempio n. 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));
     }
 }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 8
0
 public ResultStatus ExecuteTransaction(
     ShippingReasonMaint_Request request,
     out ShippingReasonMaint_Result result)
 {
     return(this.ExecuteTransaction((ShippingReasonMaint)null, request, out result));
 }
Esempio n. 9
0
 public ResultStatus GetEnvironment(
     ShippingReasonMaint_Request request,
     out ShippingReasonMaint_Result result)
 {
     return(this.GetEnvironment((ShippingReasonMaint)null, request, out result));
 }