AIF document services in axapta 2012 update operation response

290 views Asked by At

enter image description hereIs 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.

Thanks

1

There are 1 answers

6
Aliaksandr Maksimau On

You can modify update method in your service class to return a value. E.g.:

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

    return this.getCorrelationEntityKeys();
}