Alright, this is inside a function which returns a Boolean... can someone help me translate?
WITH "Value Entry" DO
IF "Item Ledger Entry Type" = "Item Ledger Entry Type"::Output THEN
EXIT("Entry Type" <> "Entry Type"::"Direct Cost")
ELSE
EXIT("Expected Cost");
I understand the following:
1. Take the Value Entry record and look at if the entry type is Output, then...
a. ?
otherwise:
b. ?
I guess my question is if the function returns a Boolean, what is going on in those EXIT statements?
Thx in advance...
Answers
http://www.BiloBeauty.com
http://www.autismspeaks.org
That caused me to look again at the code and realize what was going on in there... didn't even think about "Expected Cost" being a boolean
Thank you!
"Show All..."
"Oh..."
The second one: "Expected Cost" is a boolean type field, so it will return whatever value is in that field.
RIS Plus, LLC