Changed cnnumber to code for ums export.