So, I'm trying to run a line of code ONLY IF the Document Type field in the Sales Line table is NOT "Order" or "Quote". Here is what I have:
IF "Document Type" <> "Document Type"::Order AND "Document Type" <> "Document Type"::Quote THEN FunctionName();
I'm getting a type conversion error... Option AND Option.
This is 2009 SP1, although I'm pretty sure this is just a syntax thing I can't remember. As always, the help is very much appreciated.
Answers
Try:
Dynamics NAV MVP (2005-2010)
http://www.BiloBeauty.com
http://www.autismspeaks.org
"Show All..."
"Oh..."
Why not
Same result, but reads much easier.
"Show All..."
"Oh..."
I always have to do this:
http://www.BiloBeauty.com
http://www.autismspeaks.org
I think you are probably right. I just wrote off the top of my head. Yours looks better. :thumbsup: