Like This, (but check the OnBefalfOfToken)
Thanks for the snip, I didnāt have one handy
Thanks for the reminder. I forgot that you had to impersonate. There was another thread where I suggested using the BL tester, but that wonāt work unless you are logged in as the owner of the group.
ok, soā¦ this will work only on 10.2+ā¦ since there are no APIs in 10.1, right?
is there a way to consume the āunlockā method in 10.1.600 for example?
Thatās correct. You need to have REST for this to work. You could code a UBAQ that uses the impersonation to do it as well. But I donāt have any code written up for that.
REST exists in 10.1.600 (only v1). Functions donāt exist until 10.2.500.
I am trying to do the unlock as well. How do you specify impersonation in a UBAQ? We have users that no matter how many times we tell them they must exit the form properly they donāt and then our CFO canāt process the groups. I am trying to come up with a dashboard based on a UBAQ so he can unlock he groups as needed.
@jadixon You may not have to. In my version there is Unlock Batch and Release Data Locked for GL Posting. Maybe one them will work for you. If you are doing a UBAQ it would not be like REST so you would just need it to be updatable and removing the active user should release the lock.
Unlock Batch
Unlock Batch
Use Unlock Batch to normally process error cash receipt and payment batches.
When you work with batches in Cash Receipt Entry, Cash Receipt Batch Maintenance, AP Payment Entry, or Payment Batch Maintenance, some of these batches may be locked due to some errors. On this occasion you are able to unlock such batches in the Unlock Batch program.
Release Data Locked for GL Posting
Release Data Locked for GL Posting
Use Release Data Locked for GL Posting to unlock data locked for GL Posting process. Note, that this conversion process will only affect the current company.
Menu Path: System Management > Rebuild Processes > Finance
We are working in groups, not batches, so there are no batches to select.
The release data locked did nothing to unlock the AP Group.
Is there any easy solution for this issue?