Announcements
No record found.
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
Hi Arpan,
Can you explain your question? Out of the box, there are no classes with the name SalesLine and PurchLine in AX 2012.
Sorry Andre
It's SaleLineType and PurchLineType
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.
Thanks Andre,
When we perform SO invoicing OR PO invoicing , those classes ( SalesLine Type , PurchLine Type ) are call?
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CP04-islander 39
Michel ROY 14
imran ul haq 8