I have created a Formula field 'Total Before Other Discount (Formula --PriceafterSingleServerDiscount__c * Quantity_on_Proposal__c * SBQQ__ProrateMultiplier__c)' in Quote Line Object and added it into a field set which is throwing this error : Attempt to de-reference NULL Object while adding Products.
I am trying to change the calculation and below is the Current Vs Expected Implementation.
I want to implement this asap if anyone could help me by explaining the detailed steps to me that would be helpful.
Thanks in advance!
2 answers
Hi Shraddha,
I'm not entirely sure where you are finding the null pointer exception. But, I would recommend you to check values of all the fields included in the formula field. If possible, set default values of these fields as 0 (if integer). This will set the vaue of that particular field as 0 (and not NULL) and consider the same during the calculation (of course if no value is provided explicitely).
Hope this helps!
Thanks!