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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Cost Price on Sales Order Line

(0) ShareShare
ReportReport
Posted on by 2,487

I'm importing Sales Order history and would like to import the cost price of the sale (at the time of sale) without having to import active item cost prices for every respective period.

There is a COSTPRICE field on the DIEF/DIXF/DMF import of Sales Order Lines, that i populate with the cost price. But when i post the Sales Order Invoice, it posts the active cost of the item (not the cost i have on the SalesLine.CostPrice).

Any ideas how i can get the system to use the COSTPRICE on SalesLine?

thanks

*This post is locked for comments

  • André Arnaud de Calavon Profile Picture
    308,247 Super User 2026 Season 2 on at

    Hi James,

    This is not possible in the way you are trying to do it. Why do you want to import the history in detail? Usually only master data, open transactions and balances are being used in a conversion.

    The field cost price on a sales order is only used at time of posting returns (negative quantities)

  • SU-22040800-0 Profile Picture
    2,487 on at

    Thanks for the response Andre

    It is required by the customer to forecast (MPS) based on historical sales. Over and above the fact that they want to report on sales trends (including cost & Margin)

  • Weaveriski Profile Picture
    23,622 Moderator on at

    Reporting is not really that strong an argument given the work and pain to get it in, put the transformed data in a linked data warehouse and use it as a basis for reporting. Forecasting is arguably the same depending upon how it is generated and then imported or used in AX. An awful lot of time, effort and cost to get something like that into AX for little value on return - did the customer explore the external options and reject them for this project? To get your costs in you have to import active costs by date of invoice, or look into breaking/re-writing the cost posting of the sales order for the migration, your issue is from an AX perspective the cost on the sales line simply is not relevant, it is the posted transaction which applies all the costing logic - but you have found that out already

  • SU-22040800-0 Profile Picture
    2,487 on at

    Thanks Steven

    We are going to use a B.I solution for this.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Prashant Singh Profile Picture

Prashant Singh 2

#1
nmaenpaa Profile Picture

nmaenpaa 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans