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

Sales Order DIXF

(0) ShareShare
ReportReport
Posted on by 1,295

Hi,

I would like to ask some question regarding DIXF import of Sales Order.

Recently I created a DIXF for Sales Order (Combining SalesTable, SalesLine and MarkUpTrans) which is successful. since the MarkupTrans must have atleast 5 records per line(Which I made it by creating 5 classes for MarkupTrans). 

So here is my issue:

* The list of records I created in the text file the sales ID must created manually by passing through class ( this.GenerateSalesId(this.ParmStagingToTarget) ) for example I have 10 records and there are 2 header records and must have 5 records for salesline. ( which I have another reference field (customized field) ) so I can make it grouping to have atleast 2 sales id for the 10 records. So now I set the salesid Mandatory to "No" and it gives me an error which is I need to fill it up but I want to pass it through the class ( this.GenerateSalesId(This.ParmStagingToTarget)). so from the processing group and modify datasource of my entity I need to set the SalesID to "Auto Generate" which I don't want to make it Autogenerate. Now every line has unique salesId instead of grouping it by 2 so that I will only have 2 salesid and 5 records for salesline. 

Question: Is it still possible to do like this? I would like to have someone to guide me what will be the best practice to do it since the primary key for the entity table is the SalesID. 

Thank you.

Ivan.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,999 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,831 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans