In Salesforce CPQ, in quote, when we have a formula like below:
IF(Contains(SBQQ__Opportunity2__r.RecordType.Name, "Agent"), "Agent", "")
The QuoteLine Editor will throw attempt to de-reference a null object error when we try to save the QuoteLine.
The formula actually works by itself but it actually breaks the QuoteLine Editor.
Since QuoteLine Editor page is a VF page in the CPQ managed package, I can't find anything useful in the debug log. When I change the formula back to use hard-coded RecordTypeId the issue just gone.
Can I know why this could be an issue for CPQ QuoteLine Editor?
It does provide some information here. But based on this, I still haven't got a clue about what exactly is happening. Any ideas about that?