Hi guys,
I'm pretty new on handling API integration inside D365 FO. And currently seek an advice : If we have API for external vendor (party) to add record in table, lets say the API is to insert (create) new PO inside D365 FO, how actually the practice to log all the attempt ? Since there will be few attempt which will be /unsuccessful/ to them to add the record. What do we, as the party who receive the attempt, log whenever they tried and failed and tried until it is succeed.
Similarly, in the next process, the external party would also post GRN the PO and invoice. Because this external vendor / party is act as our front-end system who will receive the PO and receive everything, and then send all these activities to D365 FO as the backend system. Like the PO creation attempt, GRN or invoice attempt might also be several time failed. I'd like to capture this in a log so we will be aware how may time they failed before it is succeed.
I can only imagine the scenario is similar like when someone wants to visit us or sending us a parcel, without us knowing when it will come. The parcel may already arrived but as I don't know it is come nor the parcel is put somewhere so it maybe bring back to the sender, or maybe already come and go several time without successfully being received / accepted.
May I know what need to be done ? the process, the logic and what need to be developed.
I could imagine I will need to create some integration log table to record that, but at this point, that's it, I'm still blank of what it needs to make all this happens. Do we need a DLL or what ?
Thanks in advance.