Beispiel #1
0
 public ResultStatus UnFreeze(
     ERPBOMMaint eRPBOMMaint,
     ERPBOMMaint_Request request,
     out ERPBOMMaint_Result result)
 {
     return(this.UnFreeze(eRPBOMMaint, (ERPBOMMaint_Parameters)null, request, out result));
 }
Beispiel #2
0
 public ResultStatus DeleteAllRevisions(
     ERPBOMMaint eRPBOMMaint,
     ERPBOMMaint_Request request,
     out ERPBOMMaint_Result result)
 {
     return(this.DeleteAllRevisions(eRPBOMMaint, (ERPBOMMaint_Parameters)null, request, out result));
 }
Beispiel #3
0
 public ResultStatus SaveAsRev(
     ERPBOMMaint eRPBOMMaint,
     ERPBOMMaint_Request request,
     out ERPBOMMaint_Result result)
 {
     return(this.SaveAsRev(eRPBOMMaint, (ERPBOMMaint_Parameters)null, request, out result));
 }
Beispiel #4
0
 public ResultStatus NewRevCopy(
     ERPBOMMaint eRPBOMMaint,
     ERPBOMMaint_Request request,
     out ERPBOMMaint_Result result)
 {
     return(this.NewRevCopy(eRPBOMMaint, (ERPBOMMaint_Parameters)null, request, out result));
 }
Beispiel #5
0
 public ResultStatus LoadESigDetails(
     ERPBOMMaint eRPBOMMaint,
     ERPBOMMaint_Request request,
     out ERPBOMMaint_Result result)
 {
     return(this.LoadESigDetails(eRPBOMMaint, (ERPBOMMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Beispiel #6
0
 public ResultStatus GetWIPMsgs(
     ERPBOMMaint eRPBOMMaint,
     ERPBOMMaint_Request request,
     out ERPBOMMaint_Result result)
 {
     return(this.GetWIPMsgs(eRPBOMMaint, (ERPBOMMaint_Parameters)null, request, out result));
 }
Beispiel #7
0
 public ResultStatus GetEnvironment(
     ERPBOMMaint cdo,
     ERPBOMMaint_Request request,
     out ERPBOMMaint_Result result)
 {
     result = (ERPBOMMaint_Result)null;
     try
     {
         return(((IERPBOMMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #8
0
 public ResultStatus CommitTransaction(
     ERPBOMMaint_Request request,
     out ERPBOMMaint_Result result)
 {
     result = (ERPBOMMaint_Result)null;
     try
     {
         ERPBOMMaintMethod[] methods = new ERPBOMMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IERPBOMMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #9
0
        public ResultStatus ExecuteTransaction(
            ERPBOMMaint cdo,
            ERPBOMMaint_Request request,
            out ERPBOMMaint_Result result)
        {
            result = (ERPBOMMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IERPBOMMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ERPBOMMaintMethod(cdo, ERPBOMMaintMethods.ExecuteTransaction, (ERPBOMMaint_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);
        }
Beispiel #10
0
        public ResultStatus DeleteAllRevisions(
            ERPBOMMaint eRPBOMMaint,
            ERPBOMMaint_Parameters parameters,
            ERPBOMMaint_Request request,
            out ERPBOMMaint_Result result)
        {
            result = (ERPBOMMaint_Result)null;
            this.OnBeforeCall(nameof(DeleteAllRevisions), (DCObject)eRPBOMMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IERPBOMMaintService)this._Channel).DeleteAllRevisions(this._UserProfile, eRPBOMMaint, parameters, request, out result) : this.AddMethod((Method) new ERPBOMMaintMethod(eRPBOMMaint, ERPBOMMaintMethods.DeleteAllRevisions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(DeleteAllRevisions), res, (DCObject)eRPBOMMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Beispiel #11
0
 public ResultStatus ExecuteTransaction(
     ERPBOMMaint_Request request,
     out ERPBOMMaint_Result result)
 {
     return(this.ExecuteTransaction((ERPBOMMaint)null, request, out result));
 }
Beispiel #12
0
 public ResultStatus GetEnvironment(
     ERPBOMMaint_Request request,
     out ERPBOMMaint_Result result)
 {
     return(this.GetEnvironment((ERPBOMMaint)null, request, out result));
 }