Wednesday, May 12, 2021

To ignore Special character("$Id"="1") on JSON serialize using data contract in D365FO

Decorate contract class with this attribute. 

[Newtonsoft.Json.JsonObjectAttribute(IsReference = false)]

No comments:

Post a Comment

validateExistCommonRecord in D365FO X++

validateExistCommonRecord(     RefTableId _refTableId,     RefRecId _refRecId) {     boolean ret = true;     if (!_refTableId || !_refRecId)...