Dispatch partial order form CRM and update sage 200

I hope someone can help me out with small development issue.

I am sending orders from Sage CRM to Sage 200. E.g order number 001 has 2 lines items each with quantity 10.

What I am looking to do is dispatch only 5 items out of 10 ( ofline item 1 ) from order 001. I have created a small form which loads order and I can dispatch few items in Sage CRM but how can I update Sage 200. Can someone help me with sage 200 libraries , c# code / example , so when I dispatch items in CRM it updates Sage 200 as well and vice versa

Hope this all makes sense.

Let me know if you need more information on this.

Thanks