I need to be able to reference a specific salesorderdetail entity from a Case. I understand that MSCRM doesn't allow that. I had this working where I had set up a many-many relationship between salesorderdetail and incident and replaced the fetchxml in the grid displaying the salesorderdetail row on the incident so that hitting a button on the ribbon allowed me to associate 1 or more salesorderdetail entities with the incident. HOWEVER... Since the release of Update Rollup 12 a few days ago, the javascript to replace the fetchxml on the a grid no longer works :-(
I understand that the code was unsupported and so, mea-culpa, it doesn't work anymore.
Has anyone figured out a work-around, or a supported solution to this issue?
I'm willing to create another entity "Case-Product"? or something like that but I'm not sure how to cleanly do it. If I create a Case-Product when an Order-Product is created, then I'll have tons of them hanging around whether or not they're used in cases. If I have to go with a custom entity, I'd like to only create it when needed. So, I'm still stuck figuring out how to show a query of order-products associated with the order associated with my case so I can select one and then create the Case-Product from it.
I even tried creating a dialog for the job which queries to collect the order-products and allows selection of one and then generates a case and case-product. However, the query in the dialog won't return the productid from the order-product, it will only return the write-in-product field. UGH!
Help please!!! My customer is waiting for an answer...