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)

ATLAS Report

(0) ShareShare
ReportReport
Posted on by 2,075

Dear All,

sorry if this thread OOT. 

I had created ATLAS report for customer balance.

how to make each customer balance generated to each sheet.

right now, every data despite has been group, but all data generated into single sheet only, how to generate ATLAS report to multiple sheet, each customer has its own sheet.

thank you

*This post is locked for comments

I have the same question (0)
  • Mahmoud Hakim Profile Picture
    17,887 on at

    what is ATLAS ?

  • benjamin84 Profile Picture
    2,075 on at

    Hi Mahmoud,

    its like add-in or third party to create report , connected to AX and open from excel file.

    Thank you

  • Community Member Profile Picture
    on at

    You can try using filters  by client in each report.

    Buy doing that can take for ever, or you can create your own excel class in AOT, to create a Excel file with the same information that you are selecting in your Atlas report.

    Now when you run the Atlas report what are you using as a query?

  • benjamin84 Profile Picture
    2,075 on at

    Hi Tatiana,

    yes i had add filter at client excel file,

    but its mean user must generate 1 by 1 right ?

    could you advice me how to create my own excel class at AOT ?

    Thank you

  • Verified answer
    Community Member Profile Picture
    on at

    Hi Benjamin,

    Yes, I can help you with that.

    First you can try this in a job:

    static void Write2ExcelFile(Args _args)

    {

    InventTable inventTable;

    SysExcelApplication application;

    SysExcelWorkbooks workbooks;

    SysExcelWorkbook workbook;

    SysExcelWorksheets worksheets;

    SysExcelWorksheet worksheet;

    SysExcelCells cells;

    SysExcelCell cell;

    int row;

    ;

    application = SysExcelApplication::construct();

    workbooks = application.workbooks();

    workbook = workbooks.add();

    worksheets = workbook.worksheets();

    worksheet = worksheets.itemFromNum(1);

    cells = worksheet.cells();

    cells.range(‘A:A’).numberFormat(‘@’);

    cell = cells.item(1,1);

    cell.value(“Item”);

    cell = cells.item(1,2);

    cell.value(“Name”);

    row = 1;

    while select inventTable

    {

    row++;

    cell = cells.item(row, 1);

    cell.value(inventTable.ItemId);

    cell = cells.item(row, 2);

    cell.value(inventTable.ItemName);

    }

    application.visible(true);

    }

    Reading Data from Excel File

    static void ReadExcel(Args _args)

    {

    SysExcelApplication application;

    SysExcelWorkbooks workbooks;

    SysExcelWorkbook workbook;

    SysExcelWorksheets worksheets;

    SysExcelWorksheet worksheet;

    SysExcelCells cells;

    COMVariantType type;

    int row;

    ItemId itemid;

    Name name;

    FileName filename;

    ;

    application = SysExcelApplication::construct();

    workbooks = application.workbooks();

    //specify the file path that you want to read

    filename = “C:\\item.xls”;

    try

    {

    workbooks.open(filename);

    }

    catch (Exception::Error)

    {

    throw error(“File cannot be opened.”);

    }

    workbook = workbooks.item(1);

    worksheets = workbook.worksheets();

    worksheet = worksheets.itemFromNum(1);

    cells = worksheet.cells();

    do

    {

    row++;

    itemId = cells.item(row, 1).value().bStr();

    name = cells.item(row, 2).value().bStr();

    info(strfmt(‘%1 – %2’, itemId, name));

    type = cells.item(row+1, 1).value().variantType();

    }

    while (type != COMVariantType::VT_EMPTY);

    application.quit();

    }

    One you getting working as you need.

    you can create your own classes and methods to maintain this property.

  • benjamin84 Profile Picture
    2,075 on at

    Appreciate Tatiana.

    Thank a lot

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 March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Andrew Jones a1x Profile Picture

Andrew Jones a1x 2

#3
GL-01081504-0 Profile Picture

GL-01081504-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans