大神能给看下吗,急等!多谢!
代码如下:
ISaveService SaveService = Kingdee.BOS.App.ServiceHelper.GetService
IAuditService AuditService = Kingdee.BOS.App.ServiceHelper.GetService
IMetaDataService metaDataService = ServiceFactory.GetMetaDataService(this.Context);//获取元模型服务
FormMetadata metaData = metaDataService.Load(this.Context, param.FormId) as FormMetadata;//通过元模型服务获取BOM元模型
OperateOption submitOption = OperateOption.Create();
submitOption.SetIgnoreWarning(false);
//submitOption.SetInteractionFlag(this.GetInteractionFlag());
submitOption.SetIgnoreInteractionFlag(false );
ISubmitService submitService = Kingdee.BOS.App.ServiceHelper.GetService
IOperationResult submitResult = submitService.Submit(
this.Context, metaData.BusinessInfo,
new object[] { param.PKey as object }, "Submit", submitOption);