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)

When to use exactly SalesLineType and PurchLineType class?

(0) ShareShare
ReportReport
Posted on by 56

Dear all,

Can you please let me know When to use exactly SalesLineType and PurchLineType class?

Please give me more she'd on this.

Thanks!

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    304,038 Super User 2026 Season 1 on at

    Hi Arpan,

    Can you explain your question? Out of the box, there are no classes with the name SalesLine and PurchLine in AX 2012.

  • @rp@n Profile Picture
    56 on at

    Sorry Andre

    It's SaleLineType  and PurchLineType

  • André Arnaud de Calavon Profile Picture
    304,038 Super User 2026 Season 1 on at

    These classes are managing behavior of different types of documents. You will notice classes with the same name and a suffix. Based on a certain variant, the methods are returning different values. E.g. can you cannot post physical or financial quantities if it is a journal type sales order. A normal sales order is allowed to be updated.

  • @rp@n Profile Picture
    56 on at

    Thanks Andre,

    When we perform SO invoicing OR PO invoicing , those classes ( SalesLine Type , PurchLine Type ) are call?

    Please give me more she'd on this.

    Thanks!

  • Verified answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    You can use the cross references and the debugger to find out what classes and methods are called when certain process is executed in the system. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Basit Profile Picture

Basit 1

#1
GL-01081504-0 Profile Picture

GL-01081504-0 1

#1
Roya Profile Picture

Roya 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans