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.
  • Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: Contract Display Order

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

  • NoDozing2 Profile Picture
    100 on at
    RE: Contract Display Order

    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,421 on at
    RE: Contract Display Order

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

  • Suggested answer
    vinitgoyal2005 Profile Picture
    6,330 on at
    RE: Contract Display Order

    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.

  • NoDozing2 Profile Picture
    100 on at
    RE: Contract Display Order

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

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: Contract Display Order

    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
    RE: Contract Display Order

    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)

  • Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: Contract Display Order

    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
    RE: Contract Display Order

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

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: Contract Display Order

    Hi,

    Can you try clearing the cache and try again?

    pastedimage1601059376368v1.png

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,281 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,019 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans