Well during the service auth moment for some reason the following code is added by nS:
<!-- this is a necessary no-op page -->
var Moment = 'stauthorizations'; var EditRequisitionBeforeOrdering = false; var Context = 'MyServices'; var UserID = '4'; var ReqCustomerID = '0'; var ReqInitiatorID = '0'; var ReqID = '404'; var ReqEntryID = '375'; var TaskID = '0'; var TaskName = ''; var ServiceID = '170'; var ServiceName = 'One Catalog Service'; var whichButton = "";
//Why would they reset the vars to 0 is way beyound my understanding
Code above suggests 0=0 and By will always be hidden.
Did anyone else figure this out? I thought I'd ask before spending a lot of time?
This is a "feature" that was fixed in subsequent releases. (Previously ReqCustomerID and ReqInitiatorID were only populated in the ordering moment.) Workaround is to check the (previously stored) values of the PersonId in the ReqBy and ReqFor dictionaries.