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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

missing button on Payment Journal window

(0) ShareShare
ReportReport
Posted on by 665

Under Accounts Payable, Journals, Payments, Payment journal, there are buttons Lines, Validate, Post, Approval, and Print, but foe one group of users the Lines button is missing.  I've given this group Full Control to Accounts Payable and cascaded it down but the button doesn't appear.  The same window appears under General Ledger, Journals, General journal and the Lines button is displayed for this same group.  Does anyone have any idea why the button isn't displayed under Accounts Payable?  Any help would be greatly appreciated.

 

Thanks,

Gary

*This post is locked for comments

I have the same question (0)
  • L Vail Profile Picture
    65,271 on at

    Is this group of users looking at a modified window? Has field level security been used to hide the button for this group of users?

  • L Vail Profile Picture
    65,271 on at

    Nevermind,

    I just noticed this was an AX question.

    Sorry,

    Leslie

  • GeorgeC Profile Picture
    1,865 on at

    One thing you may want to check:

    Open the AOT and go to Forms > LedgerJournalTable, then select Methods > enableButtonsActive and select Edit to view the code. There are different activation fules for each ledger type - I guess the rules for Payment should be under LedgerJournalType::Payment.

    The code to enable/disable the Lines button should be something like this:

    journalLines.enabled(true); or

    journalLines.enabled(false);

    Check if you have some unusual rules there.

    Here's a sample code from a test environment:

    case LedgerJournalType::Payment :
                checkJournal.visible(true);
                if ((bankAccount_IT) &&
                    (!ledgerJournalTable.allowPosting_IT()))
                {
                    postJournal.visible(false);
                }
                else
                {
                    postJournal.visible(true);
                }
                printTaxInvoice.enabled(ledgerJournalTable.Posted);
                break;

     

    George

  • Gary Knue Profile Picture
    665 on at

    George,

     Thanks for the reply.  I don't see anything pertaining to journalLines.enabled.  Our code looks exactly as you have it under case LedgerJournalType::Payment.  I do know that the Lines button shows for our power users so I'm guessing it's something in permissions but I've tried all kinds of combinations to no avail.

    Gary

  • Community Member Profile Picture
    on at

    Check this group's security - viewing "Security" - General Ledger/Miscellaneous/"Lines", [form name].   For future reference, the button on the form will have a security key of "LedgerMisc", "CustMisc", etc - you'll find the security entry listed by the button label text under Miscellaneous for the apropriate group.

    [Afterthought: if the form button calls a Menu Item, check the security key of the menu item.  In the case of AR/Journals/Payments/Payment journal, the menu item is LedgerJouranlTransDaily (type display), which points to LedgerMisc]

  • Gary Knue Profile Picture
    665 on at

    Andrew,

    Thanks for the reply.  I've logged in as myself (Admin) and looking at the form under AP/Journals/Payments/Payment journal, I right-click on the Lines button, go to Setup, under the Layout tab Configuration Keys is General ledger and System name is JournalLines Display/LedgerJournalTransDaily -> Form/LedgerJournalTransDaily.  Under the Information tab the form name is LedgerJournalTable and menu item is LedgerJournalTable5.  I then go into the AOT/Menu Items/Display and display the properties of LedgerJournalTable5 and the SecurityKey is VendJournals.  I'm not sure where to go from here.  This is much deeper than I've ever gotten into security.  When I view the security for the group in question I see that General Ledger/Miscellaneous/"Lines", LedgerJournalTransDaily has full control so I would expect to see the Lines button but don't.

    Thans again,

    Gary

  • Community Member Profile Picture
    on at

     You need to follow Andrew's advice.  The reason the button is missing is most likely due to the menu item's security key, which is not set.  Menu Items > Display > LedgerJournalTransDaily has a security key of Ledger Misc with a label of "Lines"

     This corresponds to the security tree:  Ledger > Misc > Lines.

     Open that up, reboot AX and the button should be there.

  • GeorgeC Profile Picture
    1,865 on at

    The weird thing is that as far as I know the same form is used for General journals under the G/L menu and for Payment journals under the A/P menu. So it's logical that they should share the same security key. But Gary told us that the same user group can see the button on the "G/L form" but not on the "A/P form".

    George 

  • Community Member Profile Picture
    on at

     [quote user="GeorgeC"]

    The weird thing is that as far as I know the same form is used for General journals under the G/L menu and for Payment journals under the A/P menu. So it's logical that they should share the same security key. But Gary told us that the same user group can see the button on the "G/L form" but not on the "A/P form".

    George 

    [/quote]

     

    If that is the case, then he needs to start looking at the form's datasource tables and check those permissions.  I don't think this is the case however, I've dealt with this exact same problem before.

  • Gary Knue Profile Picture
    665 on at

    George,

    That is correct and under security view/GL/Miscellaneous/"Lines", LedgerJournalTransDaily I have granted Full control and cascaded it down.  Is there maybe another section under Miscellaneous that I need to grant permissions to? I'll check the permissions for the form's datasource tables, but can you guide me through it?

    Thanks,

    Gary

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans