Skip to main content

Notifications

Dynamics 365 Community / Forums / Finance forum / Import Utility for Sal...
Finance forum
Suggested answer

Import Utility for Sales order in X++

Posted on by 255
 
Hi Folks,
 
I have been working in the Import utility for sales order in excel format.. 
 
So could any one please help me to provide any sample code for the same..
 
 
Thanks in Advance!!
  • Bharani Preetham Peraka Profile Picture
    Bharani Preetham Pe... 3,502 Super User on at
    Import Utility for Sales order in X++
    If fields are not present in entity then you can add them. Can you give me more understanding behind?
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 4,565 User Group Leader on at
    Import Utility for Sales order in X++
    Hi, 
     
    If Data Management doesn't suit you, you can use RunBaseBatch or SysOperationFramework to import and process the data.
     
    Best regrds,
    Mohamed Amine MAHMOUDI
  • Martin Dráb Profile Picture
    Martin Dráb 223,760 Super User on at
    Import Utility for Sales order in X++
    Can you tell us more about the logic that you think can't be done in a data entity? Note that you can write X++ code in entities, therefore you can put any arbitrary logic there, while you don't have to reinvent a framework for data import.
  • D365FO Avatar Profile Picture
    D365FO Avatar 255 on at
    Import Utility for Sales order in X++
    The point is they want to import some dynamics fields in sales order form as well which is not present in the sales table which can't be possible through data entity so we need to create a class for this.
     
    So when user import the excel it should automatically create fields in the table which is present in the excel.
     
    So before that I need to create a simple import utility for sales order.
     
     
  • rajborad Profile Picture
    rajborad 176 on at
    Import Utility for Sales order in X++
    You can use the standard data entity for importing sales order headers and lines.
    Entities are: 
    SalesOrderHeaderV2Entity
    SalesOrderLineV2Entity
     
     
  • Martin Dráb Profile Picture
    Martin Dráb 223,760 Super User on at
    Import Utility for Sales order in X++
    Are you 100% sure that you can't use Data Management and you need to invest a lot of time to designing, developing, testing and maintaining a custom solution?

Helpful resources

Quick Links

Contextual content recommendations & SharePoint Q&A

Instantly access relevant sales materials…

Beyond the DRA Cloud Label Printing

Explore cloud-based label printing within Dynamics 365…

HR Infrastructure Customer merge

Important considerations for HR Customer migrations…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 223,760 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,142

Featured topics

Product updates

Dynamics 365 release plans