Hello,
I have a customized BPF from Opportunity to Order.
In the 3rd stage, I am working on Quote entity. After activating the Quote, I decide to revise it. Revision ID goes up by 1, then I am activating the Quote again. When I click on "Create Order" button an error message appears with "unexpected error".
The error message will not appear, if the Revision ID stays at 0.
The Log file contains information about an out-of range exception:
<s:Envelope xmlns:s="schemas.xmlsoap.org/.../envelope"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring xml:lang="en-US">An unexpected error occurred.</faultstring><detail><OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance"><ErrorCode>-2147220970</ErrorCode><ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"/><Message>An unexpected error occurred.</Message><Timestamp>2017-01-20T10:05:13.1932795Z</Timestamp><ExceptionSource i:nil="true"/><InnerFault><ErrorCode>-2147220970</ErrorCode><ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"/><Message>System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index</Message><Timestamp>2017-01-20T10:05:13.1932795Z</Timestamp><ExceptionSource i:nil="true"/><InnerFault i:nil="true"/><OriginalException i:nil="true"/><TraceText i:nil="true"/></InnerFault><OriginalException i:nil="true"/><TraceText i:nil="true"/></OrganizationServiceFault></detail></s:Fault></s:Body></s:Envelope>
Please advise if it's a known issue, and whether it can be fixed within the system without any additional programming.
Many Thanks!
Best Regards
Levente Balázs
*This post is locked for comments