sikima
2nd April 2019, 22:39
In my previous post, I got help to complete Sales Order Process BOD. Now, when I process input file, the SalesOrder Line is created with all passed information but I have error in ConfirmBOD XML file

ErrorProcessMessage>
<ID>1</ID>
<Description>UnknownMethod: Method &apos;OnAcknowledge&apos; is unknown in Object &apos;SalesOrderBOD&apos;.</Description>
<Note>Message Source:ERP LN Dispatcher - Company 0711</Note>
<Type>Error</Type>
<ReasonCode>-99906</ReasonCode>
</ErrorProcessMessage>

I have attached output files ...

What am I doing wrong this time ? How to properly configure onAcknowledge ?
A.

ARijke
3rd April 2019, 15:16
In the Process BOD you are putting the LN application as the sender. I assume that that is wrong. You should put there the LogicalID for the real sending application. The Acknowledge BOD is send to this sender. In this case LN is receiving the Acknowledge BOD that it did publish itself. That result in this error.

So please change the logical id here:
<ApplicationArea>
<Sender>
<LogicalID>lid://infor.ln.infor_ln_711</LogicalID>

sikima
4th April 2019, 16:14
Yes ...the message disappeared when I put some (invalid) logical ID.

Is it anyway to stop sending Acknow. message back ? I think I have found somewhere in documentation but I think it does require change using LN Studio (not directly in mapper).

Could you please let me know ?

A.

ARijke
4th April 2019, 16:31
Process-Acknowledge is a fixed pattern. If you do not want a message back, you should implement the Load verb.