web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

While uploading from excel file geeting error Number of error found is >10000

(0) ShareShare
ReportReport
Posted on by

pls help

 

While uploading from excel file geeting error Number of error found is >10000

*This post is locked for comments

I have the same question (0)
  • Weaveriski Profile Picture
    23,620 Moderator on at

    What are you uploading?

    How are you uploading?

    What is the actual error message?

    What have you actually done?

  • Community Member Profile Picture
    on at

    iam uploading and excel file with .csv format using an class which having code below to upload:

    Actual error msg is : Number of errors found is >10000

    i should get the msg this  info(strfmt('%1(ILFS), %2(IFIN) ,%3(IIML) records are uploaded in %4 table.',j,k,l,tableName)); but not geeting

    void uploadMFMaster()
    {
        #AviFiles
        ITL_COC_MFTable             _COC_MFTable;
        Filename                    filename1;
        FilePath                    filePath;
        filenameType                filenameType;
        str                         sheetName;
        str                         strSQL;
        str                         filepathstr;
        real                        a;

        ;

        sysOperationProgress = new SysOperationProgress(1);

        tableName   = "COC Mutual Fund Master";
        i           = 2;
        j           = 0;
        k           = 0;
        l           = 0;

        setPrefix("@SYS54767");
        sysOperationProgress.setAnimation(#AviFileMove);
        sysOperationProgress.setCaption("@SYS54767");

        [filePath, filename1, filenameType] = fileNameSplit(filename);

        if(filenameType!='.xls')
            throw error('File should be in xls format');


        app = SysExcelApplication::construct();
        Workbooks = app.Workbooks();
        COMVariant1 = new COMVariant();
        WinAPI::fileExists(fileName);

        COMVariant1.bStr(fileName);
        Workbook = Workbooks.Add(COMVariant1);
        Worksheets = Workbook.worksheets();
        Worksheet  = Worksheets.itemFromNum(1);
        Cells = Worksheet.Cells();

        firstRow = this.findFirstRow();
        lastRow  = this.findLastRow();
        rows     = lastRow;


        sysOperationProgress.setTotal(rows);
        ttsbegin;
        while(i <=rows)
        {
             // Modified on 05 Aug 2010 at 11:53:14 by Hemant
             /*insertion of record into current company*/
             this.uploadrecords();
             /*insertion of record into current company ends*/

             /*insertion of same record into other company*/
             if(curext() == "ILF")
              {
                 changecompany("IFN")
                 this.uploadrecords();

                 changecompany("IIM")
                 this.uploadrecords();
              }
             if(curext() == "IFN")
              {
                 changecompany("ILF")
                 this.uploadrecords();

                 changecompany("IIM")
                 this.uploadrecords();
              }

              if(curext() == "IIM")
              {
                 changecompany("ILF")
                 this.uploadrecords();

                 changecompany("IFN")
                 this.uploadrecords();
              }
              /*insertion of same record into other company ends*/

             changecompany(curext())
             // Modified on 05 Aug 2010 at 11:53:14 by Hemant - End
             i++;
        }
        ttscommit;
        if (j > 0 && k > 0 && l>0)
            info(strfmt('%1(ILFS), %2(IFIN) ,%3(IIML) records are uploaded in %4 table.',j,k,l,tableName));

    }

     

  • Weaveriski Profile Picture
    23,620 Moderator on at

    Sorry not a developer.

    Your script, your issue, perhaps another user could comment on your code. What I would say is try it with one record, does the error message still trigger?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 21

#2
dserp Profile Picture

dserp 4

#2
dekion Profile Picture

dekion 4

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans