Skip to main content

Notifications

Announcements

No record found.

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

  • jgimenez Profile Picture
    jgimenez 10 on at
    RE: Number sequence list AX 2009

    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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,735 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans