I have no background in Microsoft Dynamics CRM and the company I'm at lost their one developer who was maintaining this system. There is a function app with some code I'm trying to understand. The intent of the code appears to be to determine the user who set a price discount to then either permit it or not. It gets the audit entities associated with the salesorder that contain a 115 in the CSV AttributeMask.
List<Audit> audit = myServiceContext.AuditSet.Where(a => a.ObjectId.Id == x.Id)
.ToList();
audit = audit.Where(a => a.AttributeMask.Split(',').ToList().Contains("115"))
.ToList();
I believe this 115 must represent the discount field, but I want to know where the past developer found this value.
I've found suggestions online for how to get these AttributeMask values with a name, like this one, from the stringmap table. I used XrmToolBox's FetchXML Builder to dump the entire table but it only goes from 0 through 113. Some suggest looking in MetadataSchema tables, but I can't find those tables, and saw suggestions that those are only available for on-premises CRM.
Where can I find the meaning of 115 and/or how did a past developer decide to use this value?