Hello!
I have added attributes for purchase order from Sales Order BOD and within activation policy. (SalesOrder/SalesOrderHeader/AlternateDocumentID/ID for oeeh.custpo). Within Condition I am checking if this attribute is empty.
PO is required for our normal stock order but when the purchase order is empty (e.g. for return merchandise type order) AP is giving below error for missing attribute. Is there any way to avoid this error so that I do not need to clean up these unhandled errors manually?
AP Error.
com.infor.ion.container.common.exception.ServiceContainerException: Dispatching BOD message fails with MonitorException(s) detected in monitor(s) APforCustytypeHAW: APforCustytypeHAW Missing mandatory attribute(s): PO(SalesOrder/SalesOrderHeader/AlternateDocumentID/ID) ;
at com.infor.ion.process.monitorengine.logic.EngineMonitorManager.handleMessage(EngineMonitorManager.java:752)
at com.infor.ion.container.element.base.adapter.BaseElement.process(BaseElement.java:105)
at com.infor.ion.broker.process.channel.queue.internal.MessageDistributor.handleMessage(MessageDistributor.java:666)
at com.infor.ion.broker.process.channel.queue.internal.MessageDistributor.run(MessageDistributor.java:497)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.infor.ion.process.monitorengine.logic.MonitorException: APforCustytypeHAW: APforCustytypeHAW Missing mandatory attribute(s): PO(SalesOrder/SalesOrderHeader/AlternateDocumentID/ID) ;
at com.infor.ion.process.monitorengine.logic.EngineMonitorManager.dispatch(EngineMonitorManager.java:319)
at com.infor.ion.process.monitorengine.logic.EngineMonitorManager.handleMessage(EngineMonitorManager.java:739)
... 4 more