Показать сообщение отдельно
Старый 12.11.2012, 10:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,491 / 846 (79) +++++++
Регистрация: 28.10.2006
Malaysia: Adding the View details link
Источник: http://axmas.blogspot.com/2012/11/ad...ails-link.html
==============


1. Open the LedgerJournalTable form in the AOT, expand its data sources, and override jumpRef() of the Name field on the LedgerJournalTable data source with the following code:

public void jumpRef()
{
LedgerJournalName name;
Args args;
MenuFunction mf;
name = LedgerJournalName::find(
LedgerJournalTable.JournalName);

if (!name)
{
return;
}
args = new Args();
args.caller(element);
args.record(name);
mf = new MenuFunction(menuitemDisplayStr(LedgerJournalSetup), MenuItemType::Display);
mf.run(args);
}

2. Go to General ledger | Journals | General journal, select any of the existing records,
and right-click on the Description column. Notice that the View details option, which
will open the Journal names form, is now available:





Источник: http://axmas.blogspot.com/2012/11/ad...ails-link.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.