Our support engineers have assembled the top recommended solutions for you.
Microsoft Dynamics AX 2012CRM Connector in Microsoft Dynamics AX 2012Financials Management in Microsoft Dynamics AX 2012Upgrading to Microsoft Dynamics AX 2012
Microsoft Dynamics AX 2009
Application Object Server (AOS)
Enterprise Portal and Role Centers
Inventory Costing in Microsoft Dynamics AX 2009
Invoice Settlements/Discounts/Reversals
SSRS and SSAS Integration
Workflow
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
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?
Leslie Vail, CPA, MVP, MCT, MCITP, MCP, MCITSASCI, Inc. * PO Box 600965 * Dallas, TX 75360 * 972-814-8550 * leslievail@earthlink.net
Nevermind,
I just noticed this was an AX question.
Sorry,
Leslie
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
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.
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]
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,
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.
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".
GeorgeCThe 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
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.
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?
I am sorry but my experience in security settings is pretty limited. I have never changed security settings on tables. I am actually a functional consultant.
I tried some basic security settings but I was always getting the same resuls for G/L and A/P - both were visible or hidden. I also checked the available settings for journal names - marking the A/P journal as private, setting up approval or activating approval workflow. Approval workflows can deactivate buttons but it depends on your particular settings.
It's probably a security setting but I've reached the limit of my knowledge there.
Thanks, I totally understand as this security stuff is a pain. To get this to work I finally broke down and gave all General Ledger Full control and cascaded it down and now I see the Lines button on both the AP & GL windows. Then I scaled back the permissions from there. I just wish I knew exactly which security object was the culprit.
Thanks to all those with their ideas on how to make this work.
Hi all,
I got stuck in the same problem today all of your suggession has helped me alot issue got resolved by giving access to LedgerJournalTransVendPaym menuitem in General->Miscellaneous.
-
Deepankar