Dynamics 365 Finalize Method