Hi Mohamed,
You can use the debugger to see if the insert logic is called or not. It looks like it is skipped now for some reason. As you stated that the run business logic for insert and updates are set correctly, there should be something else...
You could set a breakpoint on the DMFwriter class and also on the quotation line insert method.