Divide by zero error when processing icpo suggestions

When going into Actions menu and clicking on Process All I’m getting the error. Any help would be appreciated.

Server Side Exception

BPM runtime caught an unexpected exception of ‘DivideByZeroException’ type.

See more info in the Inner Exception section of Exception Details.

Exception caught in: Epicor.ServiceModel

Error Detail

============

Description: BPM runtime caught an unexpected exception of ‘DivideByZeroException’ type.

See more info in the Inner Exception section of Exception Details.

Program: CommonLanguageRuntimeLibrary

Method: FCallDivide

Original Exception Type: DivideByZeroException

Framework Method: A001_CustomCodeAction

Framework Line Number: 0

Framework Column Number: 0

Framework Source: A001_CustomCodeAction at offset 4266 in file:line:column :0:0

Client Stack Trace

==================

at Epicor.ServiceModel.Channels.ImplBase`1.ShouldRethrowNonRetryableException(Exception ex, DataSet[] dataSets)

at Erp.Proxy.BO.SOPOLinkImpl.ProcessSuggestions(Boolean& needsConfig)

at Erp.Adapters.SOPOLinkAdapter.ProcessSuggestions(Boolean& needsConfig)

Inner Exception

===============

Attempted to divide by zero.

Reading the error, you have a calculation in a BPM where something is dividing by 0.

1 Like

I second that what Brandon said, its in some BPM that you have where you are not checking to make sure both numbers are not 0 before dividing.

Thank you. I’m going to go back to the creator of some customizations.