web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

DMF Pre Export

(1) ShareShare
ReportReport
Posted on by 31
Hi all, 
I have created a custom entity for DMF which I will use for a file export.
Is it possible to do some action (for example I need to insert a value in the database before the export) via x++ by using a method.
I have tried a lot of method but I didn't found anything
Thanks for help
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,130 Super User 2025 Season 2 on at
    Hi L,
     
    There is no option for a method to be called to create records before the actual export. Can you tell what is the exact business requirement about? 
  • Kevin Xia Profile Picture
    Microsoft Employee on at
    Hi,
    As Andre said, there is no such method, you can tell us about the specific use case or the requirements you want to achieve, and you can use other methods to achieve your needs.
    Best regards.
    Kevin
  • L Profile Picture
    31 on at
    Hi Andre, Kevin,

    Thank you for your reply.
     
    I created a specific table and populated it with data using code.
    upon the screen initialization, the data is deleted, and the table becomes empty.
    The table is intended to be filled with information related to three filters: company, vendor, and invoice date.
    I need to export data from DMF, focusing on three specific fields: company, vendor, and invoice date.
    Otherwise, I would like to retrieve data for all companies.

    Best regards.
    L
  • Harshal Jain Profile Picture
    162 on at
    Hi L,
    As per my understanding most of the data is not present in table and it is as per the code you have written. So go for for postBuild method. Write your code in that and export the data.
  • L Profile Picture
    31 on at
     Hi Harshal,
     
     
    The 'postBuild' method doesn't exist.
     
    Best regards.
    L

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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 456 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans