在水晶报告中添加公式如果其他公式
问题描述:
大家好,这是我的水晶报告中的一个公式。如何添加在这种情况下,如果{} ardoc.doctype = “NS” 则显示从下面条件在水晶报告中添加公式如果其他公式
if {xtcwt_ardoc.BillTo} = "" then
"0"
else if {xtcwt_ardoc.BillTo} = "DEFAULT" then
"0"
else
{xtcwt_soaddress.FinancialName}
答
结果试试这个:
if {ardoc.billto}= "NS"
(
if {xtcwt_ardoc.BillTo} = "" then
"0"
else if {xtcwt_ardoc.BillTo} = "DEFAULT" then
"0"
else
{xtcwt_soaddress.FinancialName}
)
else
(
//your code
)