Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

DMF Pre Export

Posted on by 29
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
  • L Profile Picture
    L 29 on at
    DMF Pre Export
     Hi Harshal,
     
     
    The 'postBuild' method doesn't exist.
     
    Best regards.
    L
  • Harshal Jain Profile Picture
    Harshal Jain 162 on at
    DMF Pre Export
    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
    L 29 on at
    DMF Pre Export
    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
  • Kevin Xia Profile Picture
    Kevin Xia Microsoft Employee on at
    DMF Pre Export
    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
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,280 Super User 2024 Season 2 on at
    DMF Pre Export
    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? 

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans