Unified Operations & Dynamics AX Forum

Expand all | Collapse all

New Command Buttons adds to wrong table

  • 1.  New Command Buttons adds to wrong table

    Posted 12 days ago
    Hello, newbie here. This is actually my first post.
    I added a New command button to a detail grid/fast tab. The datasource is set to the details table. But when I click New, it adds a record to the header. Any suggestions? Thanks.

    ------------------------------
    Howard
    ------------------------------


  • 2.  RE: New Command Buttons adds to wrong table

    Posted 11 days ago
    The new button on the main action pane acts against the first master data source and so will every other New command button unless they are in an action pane with their datasource set to the grid you want to control.

    More information here: https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/user-interface/system-defined-buttons#new-and-delete-system-buttons

    ------------------------------
    Levi Stewart
    Star Produce
    Saskatoon SK
    ------------------------------