コード例 #1
0
        public async Task <FPReturnInvToPurchasing> GetTestData()
        {
            FpRegradingResultDataUtil.FpRegradingResultDataUtil fprsDataUtil = new FpRegradingResultDataUtil.FpRegradingResultDataUtil(FPRService);
            var regradDocs = await fprsDataUtil.GetTestData();

            FPReturnInvToPurchasing Data = GetNewData();

            foreach (var item in Data.FPReturnInvToPurchasingDetails)
            {
                item.FPRegradingResultDocsId   = regradDocs.Id;
                item.FPRegradingResultDocsCode = regradDocs.Code;
            }
            await this.Service.CreateAsync(Data);

            return(Data);
        }
コード例 #2
0
 public FPReturnInvToPurchasingDataUtil(FPReturnInvToPurchasingFacade facade, FpRegradingResultDataUtil.FpRegradingResultDataUtil fpRegradingResultDataUtil, FPReturnInvToPurchasingDetailDataUtil fpReturnInvToPurchasingDetailDataUtil) : base(facade)
 {
     this.fpRegradingResultDataUtil             = fpRegradingResultDataUtil;
     this.fpReturnInvToPurchasingDetailDataUtil = fpReturnInvToPurchasingDetailDataUtil;
 }