This function posts the MTR and returns 0 for successful execution.
A call to the post function is only successful if all previous inserts for an MTR have succeeded. In the case of an error, the cycle write_mtr_header, write_mtr_header_nls, and write_inv_transfers must be started again. In this case, all data belonging to the MTR causing the error is deleted.