How to create for project in Project management and accounting Module using x++
For reference see, \Classes\smmProjectCreate\createSingleProject
You can find more examples with the cross references help.
I don't have any example on hand. You just have to spend some time in understanding the code. You can also search in web for examples. Simple search and i found this example,https://dynamicsaxgyan.wordpress.com/2011/04/27/create-projects-or-sub-projects-using-x-dynamics-ax/