Hi,
I tried to add a simple IF statement to our sales invoice report, the intention is to display different text if payment method code is DD (Direct Debit).
I tried entering the code below but I get a syntax error, I have declared the variable mytext as text (50).
IF "Sales Invoice Header"."Payment Method Code" = 'DD' THEN
mytext := 'Direct Debit will be collected on'
ELSE
mytext := 'Payment is due on'
END;
I really don't know what I'm doing! I'm trying to experiment on a backup copy - any help greatly appreciated, thanks. :?:
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
RIS Plus, LLC