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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Data entity staging table changes prior to insert

(0) ShareShare
ReportReport
Posted on by

What method may be overwritten on the data entity staging table to update fields data before it is inserted into the staging table? 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    236,118 Most Valuable Professional on at
    RE: Data entity staging table changes prior to insert

    You didn't tell us whether you mean import (putting data to staging from external sources) or export (putting data to staging from the entity).

    Assuming that you mean import, it's actually the SSIS package, not the entity class, who inserts data to the staging table. In general, you shouldn't interfere with that; you should deal with business logic in the step between staging and the actual data entity. Exceptions exist, though, and you can create a static postGetStagingData() method on your entity to manipulate data inserted in the given group. Look at ExchangeRateEntity.postGetStagingData(), for example.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Mea_ Profile Picture

Mea_ 2

#2
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans