You cannot select the invoice distribution check box because the line is not saved. Save the line and then select the invoice ...