Skip to main content
Finance forum
Unanswered

DMF Pre Export

editSubscribe (1) ShareShare
ReportReport
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 160 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 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
  • Andre Arnaud de Calavon Profile Picture
    Andre Arnaud de Cal... 283,068 Super User 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? 

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,068 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,591 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans