Ejemplo n.º 1
0
 public ProductionEventInquiryMethod(
     ProductionEventInquiry Cdo,
     ProductionEventInquiryMethods Method,
     ProductionEventInquiry_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Ejemplo n.º 2
0
        public ResultStatus GetWIPMsgs(
            ProductionEventInquiry productionEventInquiry,
            ProductionEventInquiry_Parameters parameters,
            ProductionEventInquiry_Request request,
            out ProductionEventInquiry_Result result)
        {
            result = (ProductionEventInquiry_Result)null;
            this.OnBeforeCall(nameof(GetWIPMsgs), (DCObject)productionEventInquiry, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IProductionEventInquiryService)this._Channel).GetWIPMsgs(this._UserProfile, productionEventInquiry, parameters, request, out result) : this.AddMethod((Method) new ProductionEventInquiryMethod(productionEventInquiry, ProductionEventInquiryMethods.GetWIPMsgs, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetWIPMsgs), res, (DCObject)productionEventInquiry, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }