Yes, the data entry will treat both forms as if they are withdrawals. However, when you enter the form's basic information, you will be asked additional questions; you will have a chance to say that you moved money to another retirement account. The correct tax treatment will be determined then.