Upload financial dimensions through Excel.

Hi all,

I have new form, in that form i have a Upload button when i click the Upload button data should be fill in below fields.

fields are MainAccountId,Division,Department,Section,AmountMST.

Those fields are coming from   GL--Common--MainAccounts and DIVISION,Department and Sections fields are coming from General ledger/Setup/Financial Dimensions.

Please suggest me any one have code for that.