cxml-commercexml

Deserializing cXML to C# Class

三世轮回 提交于 2020-08-02 13:08:12
问题 I'm trying to deserialize a cXML string into C# classes. However, when deserializing, I can't seem to get anything other than the root element to deserialize. How to Deserialize XML document seemed to provide the most help, and using that example I've managed to deserialize the root cXML tag, but this doesn't work on the nested object PunchOutSetupRequest which is the object I really need deserialized. My question, before showing you the wall of code, is how can I properly deserialize these

How to implement cXML in Dynamics Axapta 2012 for VendInvoice AIF service

为君一笑 提交于 2019-12-12 03:08:12
问题 We have a request to automatize the process of Vend Invoice creation in Dynamics axapta 2012. The request is to add a customization to be able to create vend invoices using Inbound port AccountsPayable from cXML's. Does anybody know whit what process to start? Do we have to create a intermediate service which will parse cXML file in XML and to call axapta vend invoice service? 回答1: If you have your schema defined in your cXML schema and you want to use the standard AIF schema, you'll have to