How to get financial tags values in D365 fo X++.
internal final class DAXRunnableClass
{
/// <summary>
/// Class entry point. The system will call this method when a designated menu
/// is selected or when execution starts and this class is set as the startup class.
/// </summary>
/// <param name = "_args">The specified arguments.</param>
public static void main(Args _args)
{
FinTagConfiguration finTagConfiguration;
FinTag finTag;
FinTagTagNameValueView FinTagTagNameValueView;
select * from finTag
join FinTagTagNameValueView
where finTag.RecId == FinTagTagNameValueView.RecId
join finTagConfiguration
where finTagConfiguration.RecId == FinTagTagNameValueView.FinTagConfiguration
&& FinTagTagNameValueView.TagName == 'Akhil';
Info (FinTagTagNameValueView.TagName +" "+ FinTagTagNameValueView.TagValue);
}
}
general ledger -->Journal entries----> Journal entries
create journal
No comments:
Post a Comment