示例#1
0
 public ResultStatus Freeze(
     QtyAdjustReasonGroupMaint qtyAdjustReasonGroupMaint,
     QtyAdjustReasonGroupMaint_Request request,
     out QtyAdjustReasonGroupMaint_Result result)
 {
     return(this.Freeze(qtyAdjustReasonGroupMaint, (QtyAdjustReasonGroupMaint_Parameters)null, request, out result));
 }
示例#2
0
 public ResultStatus LoadESigDetails(
     QtyAdjustReasonGroupMaint qtyAdjustReasonGroupMaint,
     QtyAdjustReasonGroupMaint_Request request,
     out QtyAdjustReasonGroupMaint_Result result)
 {
     return(this.LoadESigDetails(qtyAdjustReasonGroupMaint, (QtyAdjustReasonGroupMaint_LoadESigDetails_Parameters)null, request, out result));
 }
示例#3
0
 public ResultStatus GetEnvironment(
     QtyAdjustReasonGroupMaint cdo,
     QtyAdjustReasonGroupMaint_Request request,
     out QtyAdjustReasonGroupMaint_Result result)
 {
     result = (QtyAdjustReasonGroupMaint_Result)null;
     try
     {
         return(((IQtyAdjustReasonGroupMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#4
0
 public ResultStatus CommitTransaction(
     QtyAdjustReasonGroupMaint_Request request,
     out QtyAdjustReasonGroupMaint_Result result)
 {
     result = (QtyAdjustReasonGroupMaint_Result)null;
     try
     {
         QtyAdjustReasonGroupMaintMethod[] methods = new QtyAdjustReasonGroupMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IQtyAdjustReasonGroupMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
示例#5
0
        public ResultStatus ExecuteTransaction(
            QtyAdjustReasonGroupMaint cdo,
            QtyAdjustReasonGroupMaint_Request request,
            out QtyAdjustReasonGroupMaint_Result result)
        {
            result = (QtyAdjustReasonGroupMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IQtyAdjustReasonGroupMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new QtyAdjustReasonGroupMaintMethod(cdo, QtyAdjustReasonGroupMaintMethods.ExecuteTransaction, (QtyAdjustReasonGroupMaint_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);
        }
示例#6
0
        public ResultStatus Freeze(
            QtyAdjustReasonGroupMaint qtyAdjustReasonGroupMaint,
            QtyAdjustReasonGroupMaint_Parameters parameters,
            QtyAdjustReasonGroupMaint_Request request,
            out QtyAdjustReasonGroupMaint_Result result)
        {
            result = (QtyAdjustReasonGroupMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)qtyAdjustReasonGroupMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IQtyAdjustReasonGroupMaintService)this._Channel).Freeze(this._UserProfile, qtyAdjustReasonGroupMaint, parameters, request, out result) : this.AddMethod((Method) new QtyAdjustReasonGroupMaintMethod(qtyAdjustReasonGroupMaint, QtyAdjustReasonGroupMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)qtyAdjustReasonGroupMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
示例#7
0
 public ResultStatus ExecuteTransaction(
     QtyAdjustReasonGroupMaint_Request request,
     out QtyAdjustReasonGroupMaint_Result result)
 {
     return(this.ExecuteTransaction((QtyAdjustReasonGroupMaint)null, request, out result));
 }
示例#8
0
 public ResultStatus GetEnvironment(
     QtyAdjustReasonGroupMaint_Request request,
     out QtyAdjustReasonGroupMaint_Result result)
 {
     return(this.GetEnvironment((QtyAdjustReasonGroupMaint)null, request, out result));
 }