Acumatica 报表设计器 IF、AND、SUM 公式

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

=IIf( 且(总和($Basic_Salary) > 10000, 总和($Basic_Salary) < 80000), Sum($Basic_Salary) * 0.04 / 2, IIf(Sum($Basic_Salary) >= 80000, 3200 / 2, 400 / 2) )

enter image description here 我对这个公式有疑问,谢谢

我尝试调试这个公式,但我找不到我遇到同样问题的原因。

if-statement sum syntax-error acumatica report-designer
1个回答
0
投票

试试这个

=IIf( Sum($Basic_Salary) > 10000 AND Sum($Basic_Salary) < 80000, Sum($Basic_Salary) * 0.04 / 2, IIf(Sum($Basic_Salary) >= 80000, 3200 / 2, 400 / 2) )

在这种情况下不是一个函数。

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