AP Purchase order posting by code in dynamics axapta

We mostly post Purchase order in axapta by purchase order module or form using post button but some times we require to post Purchase order by code.

You do not require to write big code to post purchase order just use purchformletter class . If you try with update method of same class then you will able to post purchase order.

These link helpful to write code. to post purchase order in axapta 2009,4.0 etc.

Purchase Order through Code

Post Purchase order through code

Enter purchase order receieved qty by code