I'm using the following two lines in one script that don't seem to work in v11.0 but work fine in the older version.
if (isInSession())
dayClose = close(-1,inv("D"));
Both versions use a time template, which is identical, and the same interval. The session function doesn't seem to work at all in the new version and causes an error. If I take it out, the script works except that the second line seems to return the value from two days ago rather than yesterday. I do not use setComputeOnClose.
The second line, however, does work correctly in after hours. It did not work this way in the older version.
Has anything changed in the new version regarding how time is handled? I didn't find anything in KB. Thanks.
if (isInSession())
dayClose = close(-1,inv("D"));
Both versions use a time template, which is identical, and the same interval. The session function doesn't seem to work at all in the new version and causes an error. If I take it out, the script works except that the second line seems to return the value from two days ago rather than yesterday. I do not use setComputeOnClose.
The second line, however, does work correctly in after hours. It did not work this way in the older version.
Has anything changed in the new version regarding how time is handled? I didn't find anything in KB. Thanks.
Comment