How to Post Purchase order ?

Hello All,


This is very urgent..

I am beginner in MS NAV. I have successfully created Invoice by Webservices (SOAP). But i am not able to post Purchase Order.

If we go it from UI then when we post Purchase order, it will ask receive, Invoice and Receive & Invoice. I just want to Posted Purchase invoice.. 

I have checked code unit 91 which i think it was help me but.. I am unable to use this codeunit from visual studio.


Can you guys please help me to solve my problem.