函数 IF() 的参数数量不正确,预期 3 个,收到 4 个

问题描述 投票:0回答:1

创建公式资源时 Flow 中收到错误 公式表达式无效:函数“IF()”的参数数量不正确。预计 3 个,收到 4 个

IF({!$Record.Estimated_Net_Profit_MLS_Wholesale__c}<= 6000,500, IF(AND({!$Record.Estimated_Net_Profit_MLS_Wholesale__c}>6000,{!$Record.Estimated_Net_Profit_MLS_Wholesale__c}<= 24000),{!$Record.Estimated_Net_Profit_MLS_Wholesale__c}*0,08, IF(AND({!$Record.Estimated_Net_Profit_MLS_Wholesale__c}>24000,{!$Record.Estimated_Net_Profit_MLS_Wholesale__c}<= 32000),{!$Record.Estimated_Net_Profit_MLS_Wholesale__c}*0.1, IF(AND({!$Record.Estimated_Net_Profit_MLS_Wholesale__c}>3200,{!$Record.Estimated_Net_Profit_MLS _批发__c}<=40000),{!$Record.Estimated_Net_Profit_MLS_Wholesale__c}*0.12, IF(AND({!$Record.Estimated_Net_Profit_MLS_Wholesale__c}>40000,{!$Record.Estimated_Net_Profit_MLS_Wholesale__c} <=46667),{!$Record.Estimated_Net_Profit_MLS_Wholesale__c}*0.15, IF({!$Record.Estimated_Net_Profit_MLS_Wholesale__c}>46667, 7000, 0 ) ) ) ) ) )

继续收到此错误,我已经仔细检查了所有真假逻辑

salesforce salesforce-flow
1个回答
0
投票

{!$Record.Estimated_Net_Profit_MLS_Wholesale__c}*0,08,
看起来很可疑。你为什么要费心乘以零。

您本想输入小数点,但 Salesforce 将逗号视为下一个

IF
参数分隔符?

© www.soinside.com 2019 - 2024. All rights reserved.