2017-10-12 272 views
0

大家好,这是我的水晶报告中的一个公式。如何添加在这种情况下,如果{} ardoc.doctype = “NS” 则显示从下面条件在水晶报告中添加公式如果其他公式

if {xtcwt_ardoc.BillTo} = "" then 
"0" 
else if {xtcwt_ardoc.BillTo} = "DEFAULT" then 
"0" 
else 
{xtcwt_soaddress.FinancialName} 

回答

0

结果试试这个:

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 
)