Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have two tables like the following picture :
I need to make the amount become with and like the following:
1 – Invoice
2 – Finance Charge
3 – Misc Charge
4 – Return
5 – Credit Memo
6 – Payment
-----------------
I try this expression but it doesn't work!
=if(([R_Document Type]) = 'Credit Memo' & 'Payment',( -1 * ([R_Document Amount])),([R_Document Amount]))
Hi,
try like
if(wildmatch([R_Document Type],'*Credit Memo*','*Payment*'),-1*[R_Document Amount],[R_Document Amount])
Regards
The field name were missing after the and (which in fact shoul be an OR)
Also, the & operand concatenate both strings.
=if([R_Document Type] = 'Credit Memo' OR [R_Document Type] = 'Payment',( -1 * ([R_Document Amount])),([R_Document Amount]))
Eduardo
it's still plus !!
Regards,
Hi,
try like
if(wildmatch([R_Document Type],'*Credit Memo*','*Payment*'),-1*[R_Document Amount],[R_Document Amount])
Regards
Where did you put this expression? In the load script or UI Object?
thanks it's working
try
=if(match(lower([R_Document Type])=,'credit memo', 'payment'),( -1 * ([R_Document Amount])),([R_Document Amount]))