AX2012 Sales Order Creation through AX Classes
I want to create a sales order in ax 2012 through x++ code, I searched for it and only found direct header and line creation through creating and inserting table buffers, I want to create sales order through standard AX Class so I dont have to worry for business rules. Like we can create transfer order with AxInventTransferTable and AxinventTransferLine classes. A simple code example would be much appreciated. Thanks.
You can have a look at a blog post of a colleague of mine. He has written a post about the SalesAutoCreate framework. Creating sales order with SalesAutoCreate It explains nicely how you can extend this framework to add a custom type of sales order import. Also the SalesAutoCreate already contains some business logic for general SalesTable and SalesLine fields. PS: Another option would be to use the SalesSalesOrderService class and AxSalesTable / AxSalesLine classes. (The equivalent of the AxBc classes you use for your transfer orders)
AllowEdit doesn't work properly in Dynamics AX
AX 2012 how to set args record datasource in X++
Clients seem to be running old (buggy) code after XPO project import
Number sequence AX 2012
SSRS MS words report with page break
How can you get a detailed error descriptions in Dynamics AX?
How to get the length of an array?
X++ loop through lines in grid control
Concatenating row values in x++
How do you access a macro in the AOT macro node?
How can I set the Backgoundcolor of an AX2012 Action Pane Button
How to Edit address using X++ in AX 2012
Number sequence issue Ax 2012?
Find code that's running in a Batch Job
What is the _isMexican boolean for in the Global::Checkpower method?
AlwaysOnTop property not behaving properly