2017-10-12 269 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 
)