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++
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.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.