Showing posts with label financial tags. Show all posts
Showing posts with label financial tags. Show all posts

Thursday, October 26, 2023

How to get financial tags

 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


output:-









How to Retrieve the Purchase Order Number in the LedgerTransAccount Form using X++ in D365 Finance & Operations

 How to Retrieve the Purchase Order Number in the LedgerTransAccount Form using X++ in D365 Finance & Operations [ExtensionOf(tableStr(G...