Showing posts with label CreateArray. Show all posts
Showing posts with label CreateArray. Show all posts

Wednesday, January 6, 2016

Hey, I'm back!

I'll be posting again some random PeopleSoft stuff. Some tips and tricks here and there, some complicated, some simple one liner code. To start things off, here's pretty simple code that I used every time I need multiple "OR" in my IF statement;

If CreateArray("ACME", "GOOG", "ORCL").Find(JOB.COMPANY.Value) <> 0 Then
/*Do logic if one of the company above is found. Please take note on the "<>" sign, Find function 
returns 0 if no value match.*/
End-if;