工序汇报 webservice赋值问题
金蝶云社区-158xxxx7066_1
158xxxx7066_1
0人赞赏了该文章 558次浏览 未经作者许可,禁止转载编辑于2017年03月02日 15:28:33

运行环境:
通过SI发布的webservice服务是动态表单服务的生成工序汇报。

备注Model.FDescription以及sfcDetail[0].FOptRemark,前台一赋值但都保存不到数据库中,为空值,不知为何?请高手帮忙。。。。
部分代码如下:

ServiceReference.SFC_OperationReport_GenerateOperationReport sfc = new SFC_OperationReport_GenerateOperationReport();
sfc.Model = new SFC_OperationReport();
sfc.Model.FDate = DateTime.Now.Date;//单据日期
sfc.Model.FPrdOrgId = new SFC_OperationReport_ORG_Organizations() { FNumber = FPrdOrgId };//组织
//sfc.Model.FID = 0;// long.Parse("0");
sfc.Model.FCreateDate = DateTime.Now.Date;
sfc.Model.FModifyDate = DateTime.Now.Date;
sfc.Model.FCancelStatus = "A";
sfc.Model.FDocumentStatus = "Z";
sfc.Model.FWorkShopID = new SFC_OperationReport_BD_Department() { FNumber = sFWorkShopID };
sfc.Model.FBillTypeID = new SFC_OperationReport_BOS_BillType() { FNumber = "GXHB01_SYS" };
sfc.Model.FIsEntrust = false;//组织受托加
sfc.Model.FDescription = “PDA汇报”;

SFC_OperationReport__FEntity[] sfcDetail = new SFC_OperationReport__FEntity[1];
sfcDetail[0] = new SFC_OperationReport__FEntity();
//sfcDetail[0].FENTRYID = 0;
sfcDetail[0] = new SFC_OperationReport__FEntity();
sfcDetail[0].FOptPlanId = long.Parse(OptPlanId);//工序计划ID
sfcDetail[0].FOptPlanOptId = long.Parse(OptPlanOptId);//工序计划工序ID
//sfcDetail[0].FFailQty = 1;//完工数量
//sfcDetail[0].FReworkQty = 1;
sfcDetail[0].FQuaQty = decimal.Parse(sFQuaQty);//完工数量
sfcDetail[0].FFinishQty = decimal.Parse(sFQuaQty);
sfcDetail[0].FOptRemark =“PDA汇报”;


发部的服务为Kingdee.BOS.ServiceInterface.Temp.SFC_OperationReport_GenerateOperationReport_Service 此服务可传入哪些字段?哪位能提供这样的文档。