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

Trigger for product export

(0) ShareShare
ReportReport
Posted on by 2,985

Hi All,

How to set the trigger for exporting the product and product master.

Which is the best option, how to handle it without using the button control event.

Just assume that I create a product in D365 for some reason I am not able to give some information at that time, it inserts the record in the table. Again, I update some information with some fields and again it sends the record.

In the journal line, the control is in the post button, like the same way do we have any functionality for exporting the product and product master.

Can we make use of the validate button in the product master

Please suggest this.

I have the same question (0)
  • Martin Dráb Profile Picture
    237,994 Most Valuable Professional on at

    Your second sentence sounds like if you don't want to use a button. But then you suggestion using the Validate button. Now I'm confused what you actuallu want. Could you clarify that, please?

    Also, what exactly do you mean by exporting? For example, do you want to get an Excel file for download, or send an XML file to an external system?

  • Pravasti AK Profile Picture
    2,985 on at

    Yes, you are right, I don't want to use button logic.

    I meant to say Can I use the validate button logic to some boolean variable at the backend say example if some of the necessary fields got filled the boolean needs to be flagged true based on that my export trigger logic should work.

    My question here is to export project and product master which fields should be considered.

    Say product dimension group, item group, item model group, is there any other fields I need to consider.

  • André Arnaud de Calavon Profile Picture
    301,231 Super User 2025 Season 2 on at

    Hi Pravasti,

    Linking the export to a validation button doesn't sound to be the best approach. What do you expect to happen when a user changes two fields, click validate, then again changing fields and click validate. Have you also thought of the option that users can execute the validation without even changing a single field?

    What exact option did you implement for exporting the products? Potentially you can skip records based on criteria?

  • Pravasti AK Profile Picture
    2,985 on at

    Hi Andre,

    My intention is not to use the validate button logic.

    For the outbound process, exporting the product and product master records is the best approach.

    I can see a few fields validation happens at the validate button, can I make use of the logic to make enable the boolean field at the backend, if that is true I will then export the item.

    For product creation what are all the fields to get considered, because there may be a situation where I simply autosave the form after making the changes, then on the same product I keep on updating the fields again and again so instead of sending multiple msg trigger to external application, I need to send a single msg trigger. It's a real time scenario.

  • Pravasti AK Profile Picture
    2,985 on at

    For outbound process, exporting the product and product master for real-time integration where exactly the trigger should happen and what is the best way to handle

  • André Arnaud de Calavon Profile Picture
    301,231 Super User 2025 Season 2 on at

    Hi Pravasti,

    If you do some reverse engineering, you will find out what the validate button is executing. It will return a true or false, so you can try to call this logic for your validation.

  • Pravasti AK Profile Picture
    2,985 on at

    Yes, but it covers only the validation of item model group, item group, storage dimension. Do I need to consider any other validation apart from that.   This is what  am expecting 

  • André Arnaud de Calavon Profile Picture
    301,231 Super User 2025 Season 2 on at

    Hi Pravasti,

    Do you still need help with this question? If so, please be more specific. What do you mean with 'other validation'? Above you mentioned that you wanted to use the logic to set a flag for export. I don't understand what you are adding to this conversation with your last comment.

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
Abhilash Warrier Profile Picture

Abhilash Warrier 669 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 384 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans