Hello guys,
I'm having difficulties in understanding what need to use or to write in order to testing Service development.
I found a blog which is looks quite simple and good for me to start trying out this development. But apparently the code in that blog seems outdated, Can someone help me to translate it, show me which code already obsolete and how is the current code should be.
This is the blog I'm referring to: Microsoft Dynamics 365 for Finance and Operations: Custom service to create Sales order with lines in Dynamics 365 and testing it (vishwad365fo.blogspot.com)
Especially when he is creating Contract Class for Sales Order Header at this part:
[DataMemberAttribute('SalesLineList'),
AifCollectionTypeAttribute("sales"ineList", Type::Class, classstr(SalesOrderLineContract),
AifCollcectionTypeAttribute("return", Type::Class, classstr(SalesOrderLineContract))]
Because I just found out that is not the way it is written now, but I don't have a clue what is the correct one then?
Many thanks in advance.