Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

How to get costprice when creating SalesQuotationLine with AXSalesQuotaionLine class?

Posted on by 312

Hi. Everyone:

When I create SalesQuotationLine with AXSalesQuotaionLine class,

How can I get item's costprice ?

I found out if I didn't assign it manually. it would be 0.

However If I create line in SalesQuotationLine form, It will has value.

I try to to set a breakpoint in insert() of SalesQuotationLine. It stop there and already get the value., However I cannot find where the value comes from.

Can Anyone shed some light for this? It would be appreciated.!

Quatrani

*This post is locked for comments

  • JCHI Profile Picture
    JCHI 312 on at
    RE: How to get costprice when creating SalesQuotationLine with AXSalesQuotaionLine class?

    Hi. Sukrut:

    That's exactly what I am looking for. thanks !

    Quatrani

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans