Hi All,
I was wondering how to retrieve the "Send" status after outcommuniation is done.
The reason for this is to send a status back to our ERP per message.
As seen in the example screenshot the infiles with reference 48537 and 48538 should be updated back to our ERP with status failed.
i'm able to get the last status just before the file is send trough the outchannel, using
def preoutcommunication(routedict,*args,**kwargs):
preprocess.postprocess(routedict=routedict,function=my_postprocess_function)
But i'm not able to get the final status of the Phase Send. I guess i should retrieve this status by using
def postoutcommunication(routedict,*args,**kwargs):
but the preprocess defenition doesn't work at this stage?
What is the right way to retrieve the endstatus of the outfile?