简体   繁体   English

axapta 2012 更新操作响应中的 AIF 文档服务

[英]AIF document services in axapta 2012 update operation response

在此处输入图片说明 Is there way to let the external system know that if an update operation was successful on certain record(s).有没有办法让外部系统知道更新操作是否对某些记录成功。 As per the standard process the update operation in axapta 2012 R3 does not return anything.按照标准流程,axapta 2012 R3 中的更新操作不会返回任何内容。

Thanks谢谢

You can modify update method in your service class to return a value.您可以修改服务类中的update方法以返回一个值。 Eg:例如:

[AifDocumentUpdateAttribute, SysEntryPointAttribute(true)]
public AifEntityKeyList update(AifEntityKeyList _entityKeyList, CustCustomer _custCustomer)
{
    this.updateList(_entityKeyList, _custCustomer);

    return this.getCorrelationEntityKeys();
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM