Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Data Entity Numbersequ...
Finance forum

Data Entity Numbersequence field value initialization

(0) ShareShare
ReportReport
Posted on by 362

Hi All,

We have a data entity in which there is a field which will get initialized from number sequence. While importing the data when i check the Auto Generation on wizard the records are getting imported correctly. However, I am checking if i can write a logic to initialize the number sequence field even though Auto Generation is not checked. Can you please share your thoughts on this.

Regards

Venkat 

  • Suggested answer
    Sukrut Parab Profile Picture
    Sukrut Parab 71,671 Moderator on at
    RE: Data Entity Numbersequence field value initialization

    Ok . I understand what you are saying , You can write code in your entity methods where you can generate number sequence for the records you are importing if you don't what it to be auto generated.  Try methods like mapentityToDatasource or insertEntityDatasource methods to generate number and see if it helps.

  • Venkatdax0 Profile Picture
    Venkatdax0 362 on at
    RE: Data Entity Numbersequence field value initialization

    Hi Sukrut,

    Yes we are able to generate the number sequence when the check AutoGenerate Check box during the import wizard.However we would like to trigger the number seq automatically without considering AutoGenerate check box.

    Thank You

  • Sukrut Parab Profile Picture
    Sukrut Parab 71,671 Moderator on at
    RE: Data Entity Numbersequence field value initialization

    You can generate number sequence while importing data through entity .Are you facing any issue ?

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans