Math Tags Null Value Error: Ending Position Out of Bounds (22) Stack Invalid Double
PreviousError: Incorrect Format. First Argument in Date Arithmetic Should Be a DateNextBuild Reusable Templates
Last updated
Was this helpful?
Was this helpful?
<!--{{!<LineItemsSOQL>
<class>none</class>
<queryname>myQuery1</queryname>
<soql>
SELECT count(ID) cid
FROM Opportunity
WHERE AccountId = '{{!Account.ID}}'
</soql>
</LineItemsSOQL>}}-->
<!--{{!<LineItemsSOQL>
<class>none</class>
<queryname>myQuery2</queryname>
<soql>
SELECT SUM(Amount) total, SUM(CustomField__c) reduce
FROM Opportunity
WHERE AccountId = '{{!Account.ID}}'
</soql>
</LineItemsSOQL>}}-->
<!--RENDER='{{!myQuery1.cid}} > 0' -->
<MATH>{{!myQuery2.total}} + {{!myQuery2.reduce}}</MATH>
<!--ENDRENDER-->