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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Number sequence list AX 2009

(0) ShareShare
ReportReport
Posted on by 5

Hello

We have a couple of number sequences that have have over 100000 records in the number sequence List

These number sequences are non continous

Is it ok to remove those entries from the number sequence list

Thanks

I have the same question (0)
  • jgimenez Profile Picture
    10 on at

    SET LIST OF C# .NET 3,5 DLL FROM  AX 2009 X++

    Hello, I am working with some webservice call and I have a C# List of object which am to set from x++.

    This code is assembled on the .net Framework 3.5, the code I have in C# is:

    public List<PurchLine>  line { get; set; }      

    private List<PurchLine> lineList = new List<PurchLine>();        

            public void AddLine(PurchLine line)

            {

                lineList.Add(line);

            }

            public List<PurchLine> GetLine()

            {

                return lineList;

            }

    On the other hand, in AX 2009,

    I have created a class in X++ to call this code. My problem is that when working with the Purchline list, I don't perform the Set_Line() method. Mi code is :

    .....

    while select purchLine
    where purchLine.PurchId == purchTable.PurchId
    {

    d365PurchLine = new FinishProductAgainstOrder.PurchLine();

    d365PurchLine.set_lineNum(num2str(purchLine.LineNum, 6, 2, -1, -1));
    d365PurchLine.set_itemId(purchLine.ItemId);


    d365purchTable.AddLine(d365PurchLine);

    }

    d365PurchTable.set_line(d365PurchTable.GetLine());


    resultDirmemo = d365PurchTable.Serialize(d365PurchTable);

    ......

    Captura-de-pantalla-2022_2D00_04_2D00_07-a-las-21.58.46.png

    The error shown by the system is that the method I want to use does not exist.

    Can you help me?

    Thanks

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 451 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 428 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans