function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
KONDA B 4KONDA B 4 

<td> {!IF((item.Next_Item_Category__c == 'G2N')?'Credit':'Debit')}</td>

 <td> {!IF((item.Next_Item_Category__c == 'G2N')?'Credit':'Debit')}</td>

The above condition is throwing a Syntax error. Please help me 
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Konda,

Can you check the beloe syntax. I hope the If syntax has error.
 
<td> {!IF((item.Next_Item_Category__c == 'G2N'),'Credit','Debit')}</td>

Let me know if you still face issue.

If this solution helps, please mark it as best answer.

Thanks,
 
B KoNdAB KoNdA
Thank you @Sai Praveen