Salesorder posting

Hi All,

I am novice in Ax, I need to post a invoice for a sales order. Sales order have many lines. Once they click post button, i need to create N number of invoice based on the item Group.

For ex:

Sales id:0001

Sales line table

Saleid itemid itemgroup

0001 TOP1 G1

0001 TOP2 G1

0001 TOP3 G2

0001 TOP14 G2

when we invoice above sale order .It need to create 2 invoice based on itemgroup. They will post one time only.

Where and how i need to write code? Salesformletter_invoice? salesformletter? Help me in that.

Regards

Ponnusamy

Hi Mr.Ponnusamy,.

pls check this linkā€¦

https://msdax.wordpress.com/tag/sales-order-through-code/