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, ...
Suggested Answer

Contract Display Order

(0) ShareShare
ReportReport
Posted on by 100

I've added the following code to a contract:

    [DataMemberAttribute("QtyScheduled"), SysOperationControlVisibilityAttribute(false),
    SysOperationDisplayOrderAttribute('1')]
    public Qty parmQty(Qty _qty = QtyScheduled)
    {
        QtyScheduled = _qty;
        return qtyScheduled;
    }
    [DataMemberAttribute("ItemId"), SysOperationControlVisibilityAttribute(false),
    SysOperationDisplayOrderAttribute('2')]
    public ItemId parmItemId(ItemId _itemId = ItemId)
    {
        ItemId = _itemId;
        return itemId;
    }
    [DataMemberAttribute("Location"), SysOperationControlVisibilityAttribute(false),
    SysOperationDisplayOrderAttribute('3')]
    public Location parmLocationId(Location _location = Location)
    {
        Location = _location;
        return location;
    }
They're displaying as Quantity, Location, and Item order. I want them to display in Quantity, Item, and Location order. I've tried changing the number, but nothing changes. Any help would be appreciated.
I have the same question (0)
  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi,

    Can you try clearing the cache and try again?

    pastedimage1601059376368v1.png

  • NoDozing2 Profile Picture
    100 on at

    Thanks for the reply. I cleared the browser cache. Same result.

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Are you on D365 or AX 2012? Please mention your version.

    I assumed AX 2012 as it is on the Dynamics AX forum.

  • NoDozing2 Profile Picture
    100 on at

    So, during some training, we were told that ppl use D365FO  and AX2012 synonymously. My DEV box says:

    Microsoft Dynamics 365 for Finance and Operations (10.0.12)

    Update36 (7.0.5688.35595)

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Can you try resetting your usage data? Post this, you can restart your browser and try again.

    pastedimage1601064776260v1.png     pastedimage1601064813897v2.png

    pastedimage1601064866484v3.png

  • NoDozing2 Profile Picture
    100 on at

    I already tried that, but I just did it again for all since it's my DEV box. Still looks the same.

  • Suggested answer
    vinitgoyal2005 Profile Picture
    6,332 on at

    Hi,

    Can you share the screenshot of the current output? Your code seems correct. In D365FO default dialog size is Medium so it has 2 columns and when it is displayed on UI those are arranged like below

    1      3

    2

    When you say it is displaying in Quantity, Location, and Item order I think it will look like

    Quantity        Location

    Item

    And My assumption is you want

    Quantity      Item

    Location

    For the above, you need swap numbers 2 and 3 with each other.

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Here's a similar thread that answers this question. You can give this a try.

  • NoDozing2 Profile Picture
    100 on at

    Thanks for the reply. I tried changing numbers, as you suggest, before I even put in the quation and nothing changed. I've also cleared cache and usage data. I also tried what was suggested below, in having the data in the right order in SSRS designer. Code snippets to show change. Screen shots to show designer changes.

        [DataMemberAttribute("QtyScheduled"), SysOperationControlVisibilityAttribute(false),
        SysOperationDisplayOrderAttribute('1')]
        public Qty parmQty(Qty _qty = QtyScheduled)
        {
            QtyScheduled = _qty;
            return qtyScheduled;
        }
    
        [DataMemberAttribute("ItemId"), SysOperationControlVisibilityAttribute(false),
        SysOperationDisplayOrderAttribute('3')]
        public ItemId parmItemId(ItemId _itemId = ItemId)
        {
            ItemId = _itemId;
            return itemId;
        }
    
        [DataMemberAttribute("Location"), SysOperationControlVisibilityAttribute(false),
        SysOperationDisplayOrderAttribute('2')]
        public Location parmLocationId(Location _location = Location)
        {
            Location = _location;
            return location;
        }
    

    1538.Capture.PNG8446.Deploy.PNG

    I'm going to have another user try and see what they see.

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Sure. Please let us know if the other user can see this fine.

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 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans