AX 2012 retail

Hi, I am new to retail,while uploading the item master from excel the bar code for that item should be created automatically through number sequence, can anybody know how to create that. Please help