Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Free Text Invoice auto...
Finance forum
Unanswered

Free Text Invoice auto pull project's default dimensions and funding source

Posted on by 154
Hi,
 
I need to create Free Text Invoice from X++ code, as a customize web API will save data in staging table. Then my code will create FTI with the help of given data. In FTI lines we have Project and when from front end we create FTI and select project, it auto put financial dimension for project and the funding source. 
 
I have create FTI by x++ code but its not picking the financial dimension and funding source for project in FTI lines. I need help is there a way we can get these default dimensions?  Which are already defined with project and can be auto populated. If there no way then I need to get the project default dismensions and need to create its financial dimension and then use that dimension in line. 
 
But if the wheel is already there then why I need to reinvent it. 
 
So please help. I will post the code which I am using for lines and screen shot for better understanding.
 
My code is inspired by the following URL ;) but I need some++
 
 
Thanks!
  • nbhatti2001 Profile Picture
    nbhatti2001 154 on at
    Free Text Invoice auto pull project's default dimensions and funding source
    Hi,
     
    I did not have try any code to pull project default dimensions and funding source. I need code or an idea to get these. If any one can help.
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 290,326 Super User 2024 Season 2 on at
    Free Text Invoice auto pull project's default dimensions and funding source
    Hi NBhatti2001,
     
    Can you share the coding you have used yourself? Did you make already attempts to fill the project, project dimensions, and the funding source field? It is currently not clear where and how you need help from volunteers on this forum.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,326 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,166 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans